commit | 1738e86771cce2567483cde0ac23459be8e51ed8 | [log] [tgz] |
---|---|---|
author | Emeric Brun <ebrun@haproxy.com> | Mon Mar 05 17:46:16 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Mar 06 14:04:45 2018 +0100 |
tree | 565333213f78b8a4e3ff3ba01e14856a127c2d6f | |
parent | b684e7a52cd3733bce2404bcac1b26ea92c7f38d [diff] |
BUG/MINOR: session: Fix tcp-request session failure if handshake. Some sample fetches check if session is established using the flag CO_FL_CONNECTED. But in some cases, when a handshake is performed this flag is set too late, after the process of the tcp-request session rules. This fix move the raising of the flag at the beginning of the conn_complete_session function which processes the tcp-request session rules. This fix must be backported to 1.8 (and perhaps 1.7)