]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: report the major HTTP version from the MUX for logging (fc_http_major)
authorWilly Tarreau <w@1wt.eu>
Fri, 18 Aug 2017 13:26:54 +0000 (15:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 17:03:23 +0000 (18:03 +0100)
commit60ca10a372186e7cda30f387e947c83e00acdc37
tree3fbb573ac1d1fef7f27cbe2242880303727a25a1
parent2e0b2b5f8363da05abab2e2012d298f4941a4f75
MINOR: connection: report the major HTTP version from the MUX for logging (fc_http_major)

A new sample fetch function reports either 1 or 2 for the on-wire encoding,
to indicate if the request was received using the HTTP/1.x format or HTTP/2
format. Note that it reports the on-wire encoding, not the version presented
in the request header.

This will possibly have to evolve if it becomes necessary to report the
encoding on the server side as well.
doc/configuration.txt
src/connection.c