diff --git a/src/connection.c b/src/connection.c index 83790a9d9..ced919f0e 100644 --- a/src/connection.c +++ b/src/connection.c @@ -1003,10 +1003,6 @@ int conn_send_socks4_proxy_request(struct connection *conn) { struct socks4_request req_line; - /* we might have been called just after an asynchronous shutw */ - if (conn->flags & CO_FL_SOCK_WR_SH) - goto out_error; - if (!conn_ctrl_ready(conn)) goto out_error; diff --git a/src/stream_interface.c b/src/stream_interface.c index 0a2e7d1d0..14e662711 100644 --- a/src/stream_interface.c +++ b/src/stream_interface.c @@ -329,10 +329,6 @@ struct appctx *si_register_handler(struct stream_interface *si, struct applet *a */ int conn_si_send_proxy(struct connection *conn, unsigned int flag) { - /* we might have been called just after an asynchronous shutw */ - if (conn->flags & CO_FL_SOCK_WR_SH) - goto out_error; - if (!conn_ctrl_ready(conn)) goto out_error;