commit | 576c358508ace18fea4ed9a08827045600697f49 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Jan 08 15:53:01 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu Jan 28 16:27:48 2021 +0100 |
tree | 45bb4c42134044950f0a49edf7f259f2e69c29e7 | |
parent | 0f9395d81e242dc03abe38b74769e3123acb879c [diff] |
MINOR: htx/http-ana: Save info about Upgrade option in the Connection header Add an HTX start-line flag and its counterpart into the HTTP message to track the presence of the Upgrade option into the Connection header. This way, without parsing the Connection header again, it will be easy to know if a client asks for a protocol upgrade and if the server agrees to do so. It will also be easy to perform some conformance checks when a 101-switching-protocols is received.