]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h1: parse the Connection header field
authorWilly Tarreau <w@1wt.eu>
Thu, 13 Sep 2018 12:15:58 +0000 (14:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Sep 2018 12:52:31 +0000 (14:52 +0200)
commit98f5cf7a59641b45548e09c0eeda57370d8cc631
treea0ef9bba354ec6c6cb0eebc41e1c71a4b96c8f9e
parentba5fbca33f3956df2c093ae46202c17f644cf81a
MINOR: h1: parse the Connection header field

The new function h1_parse_connection_header() is called when facing a
connection header in the generic parser, and it will set up to 3 bits
in h1m->flags indicating if at least one "close", "keep-alive" or "upgrade"
tokens was seen.
include/types/h1.h
src/h1.c