From: Willy Tarreau Date: Fri, 24 Aug 2012 11:02:24 +0000 (+0200) Subject: MEDIUM: stream-interface: don't remove WAIT_DATA when a handshake is in progress X-Git-Tag: v1.5-dev12~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=62266dba881f4634b5a591652d83e57186ecb224;p=thirdparty%2Fhaproxy.git MEDIUM: stream-interface: don't remove WAIT_DATA when a handshake is in progress This doesn't make sense and will only require that it's enabled again. --- diff --git a/src/stream_interface.c b/src/stream_interface.c index 2c0364fa55..4ce890299d 100644 --- a/src/stream_interface.c +++ b/src/stream_interface.c @@ -765,7 +765,6 @@ void stream_int_update_conn(struct stream_interface *si) if (si->conn.flags & CO_FL_HANDSHAKE) { /* a handshake is in progress */ - si->flags &= ~SI_FL_WAIT_DATA; return; } @@ -877,7 +876,6 @@ void stream_int_chk_snd_conn(struct stream_interface *si) /* handshake running on producer */ if (si->conn.flags & CO_FL_HANDSHAKE) { /* a handshake is in progress */ - si->flags &= ~SI_FL_WAIT_DATA; return; }