diff --git a/src/proto_tcp.c b/src/proto_tcp.c index f2bc3de22..ae09aea29 100644 --- a/src/proto_tcp.c +++ b/src/proto_tcp.c @@ -588,6 +588,7 @@ int tcp_connect_server(struct connection *conn, int flags) if (conn->flags & CO_FL_WAIT_L4_CONN) { fd_want_send(fd); fd_cant_send(fd); + fd_cant_recv(fd); } if (conn_xprt_init(conn) < 0) { diff --git a/src/proto_uxst.c b/src/proto_uxst.c index 700b91de5..586b11931 100644 --- a/src/proto_uxst.c +++ b/src/proto_uxst.c @@ -588,6 +588,7 @@ static int uxst_connect_server(struct connection *conn, int flags) if (conn->flags & CO_FL_WAIT_L4_CONN) { fd_want_send(fd); fd_cant_send(fd); + fd_cant_recv(fd); } if (conn_xprt_init(conn) < 0) {