]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: muxes/htx: Ignore pseudo header during message formatting
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 14 Aug 2019 14:32:25 +0000 (16:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 17 Sep 2019 08:18:54 +0000 (10:18 +0200)
commit86d144c74be52d0f0b3dd99713c0fee2383a9a9b
tree64e242121dad59ef702e57a23d87a44243020bc0
parentcc3124cf44ad78897c2df6532ad4ee4d348bdec7
MINOR: muxes/htx: Ignore pseudo header during message formatting

When an HTX message is formatted to an H1 or H2 message, pseudo-headers (with
header names starting by a colon (':')) are now ignored. In fact, for now, only
H2 messages have such headers, and the H2 mux already skips them when it creates
the HTX message. But in the futur, it may be useful to keep these headers in the
HTX message to help the message analysis or to do some processing during the
HTTP formatting. It would also be a good idea to have scopes for pseudo-headers
(:h1-, :h2-, :fcgi-...) to limit their usage to a specific mux.
src/mux_h1.c
src/mux_h2.c