]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: h2: extract cookies concat function in http_htx
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 17 Aug 2022 14:33:53 +0000 (16:33 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 18 Aug 2022 14:13:33 +0000 (16:13 +0200)
commit2c5a7ee3330dfad050942992d0431e4f5f881e7a
treeea96c740e2402d8a1ecfdcda97cef2b40515bdae
parent704675656bf8b577971f1bbc3be186f4cc362632
REORG: h2: extract cookies concat function in http_htx

As specified by RFC 7540, multiple cookie headers are merged in a single
entry before passing it to a HTTP/1.1 connection. This step is
implemented during headers parsing in h2 module.

Extract this code in the generic http_htx module. This will allow to
reuse it quickly for HTTP/3 implementation which has the same
requirement for cookie headers.
include/haproxy/http_htx.h
src/h2.c
src/http_htx.c