Loading lib/multi.c +3 −1 Original line number Diff line number Diff line Loading @@ -637,8 +637,10 @@ static int waitconnect_getsock(struct connectdata *conn, /* when we've sent a CONNECT to a proxy, we should rather wait for the socket to become readable to be able to get the response headers */ if(conn->tunnel_state[FIRSTSOCKET] == TUNNEL_CONNECT) if(conn->tunnel_state[FIRSTSOCKET] == TUNNEL_CONNECT) { sock[0] = conn->sock[FIRSTSOCKET]; return GETSOCK_READSOCK(0); } return rc; } Loading Loading
lib/multi.c +3 −1 Original line number Diff line number Diff line Loading @@ -637,8 +637,10 @@ static int waitconnect_getsock(struct connectdata *conn, /* when we've sent a CONNECT to a proxy, we should rather wait for the socket to become readable to be able to get the response headers */ if(conn->tunnel_state[FIRSTSOCKET] == TUNNEL_CONNECT) if(conn->tunnel_state[FIRSTSOCKET] == TUNNEL_CONNECT) { sock[0] = conn->sock[FIRSTSOCKET]; return GETSOCK_READSOCK(0); } return rc; } Loading