diff options
author | Björn Stenberg <bjst@bjorn> | 2013-11-08 00:09:20 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-11-10 22:49:56 +0000 |
commit | e7d77fb3ef14bac8690f343327b302f866ac53f2 (patch) | |
tree | f6447320eb2516c46c53405718601cad61efa965 /lib/ftp.c | |
parent | c8e63f247aa14a6721b0d04f444d258e690b0dc8 (diff) | |
download | curl-e7d77fb3ef14bac8690f343327b302f866ac53f2.tar.gz |
connect: Close temporary sockets in conn_free()
The temporary sockets used for Happy Eyeballs were not closed properly,
if curl exited prematurely, which this patch fixes.
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1866,7 +1866,6 @@ static CURLcode proxy_magic(struct connectdata *conn, if(conn->tunnel_state[SECONDARYSOCKET] != TUNNEL_COMPLETE) { /* the CONNECT procedure is not complete, the tunnel is not yet up */ state(conn, FTP_STOP); /* this phase is completed */ - conn->bits.tcpconnect[SECONDARYSOCKET] = FALSE; return result; } else |