]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MEDIUM: stream-interface: don't remove WAIT_DATA when a handshake is in progress
authorWilly Tarreau <wtarreau@exceliance.fr>
Fri, 24 Aug 2012 11:02:24 +0000 (13:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 3 Sep 2012 18:47:31 +0000 (20:47 +0200)
This doesn't make sense and will only require that it's enabled again.

src/stream_interface.c

index 2c0364fa5536ced63cb29eed27610a53d756fb5b..4ce890299d35575bc13bbc1b06508b3da78d89e8 100644 (file)
@@ -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;
        }