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.
This commit is contained in:
Willy Tarreau 2012-08-24 13:02:24 +02:00 committed by Willy Tarreau
parent 2c052083e6
commit 62266dba88

View 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;
}