commit | 8657742092df3c5dbaab8b88ab8907644890fb07 | [log] [tgz] |
---|---|---|
author | Jérôme Magnin <jmagnin@haproxy.com> | Fri Dec 07 09:03:11 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Dec 07 15:34:39 2018 +0100 |
tree | 947d1305b3ee58e56329d4973d9031fc8f2b5b1b | |
parent | 4468f1cacbe833a04701fcd846be959bc07803f5 [diff] |
MINOR: sample: add bc_http_major This adds the sample fetch bc_http_major. It returns the backend connection's HTTP version encoding, which may be 1 for HTTP/0.9 to HTTP/1.1 or 2 for HTTP/2.0. It is based on the on-wire encoding, and not the version present in the request header.