commit | 8043e831d19eeef4f45bc589a5fd000a539b1e26 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Mar 26 16:00:54 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue Apr 06 07:31:51 2021 +0200 |
tree | 704dc698e6a45ad755944cfd0ff6fb9ebaaf1b61 | |
parent | 779184e35e4468d86419fb1935ca3491f1081d0b [diff] |
MINOR: acl: Add HTTP_2.0 predefined macro HTTP_2.0 predefined macro returns true for HTTP/2 requests. HTTP/2 doen't convey a version information, so this macro may seem a bit strange. But for compatiblity reasons, internally, the "HTTP/2.0" version is set. Thus, it is handy to rely on it to differenciate HTTP/1 and HTTP/2 requests.