commit | 60ca10a372186e7cda30f387e947c83e00acdc37 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Aug 18 15:26:54 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 31 18:03:23 2017 +0100 |
tree | 3fbb573ac1d1fef7f27cbe2242880303727a25a1 | |
parent | 2e0b2b5f8363da05abab2e2012d298f4941a4f75 [diff] |
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.