commit | 09f88364b7c654980581d547aca696d44896c404 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu Apr 01 16:00:29 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu Apr 01 16:45:40 2021 +0200 |
tree | 561766efa75f9c6b5b729e7227318468e6b6f0a3 | |
parent | d57d9fe3d81e0da0b1b846ff415d38fb4a831072 [diff] |
BUG/MINOR: http-fetch: Fix test on message state to capture the version A bug was introduced when the legacy HTTP mode was removed. To capture the HTTP version of the request or the response, we rely on the message state to be sure the status line was received. However, the test is inverted. The version can be captured if message headers were received, not the opposite. This patch must be backported as far as 2.2.