]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h1: Reset the H1 parser when an outgoing message is processed
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 28 Nov 2018 15:06:57 +0000 (16:06 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 16:20:36 +0000 (17:20 +0100)
commit66229af8df8dd94f595821d00d08039e09eb23a6
treecc9ae926a9bdb4da17573d76bbda5d9318e2a704
parent5999b865008633fe4314140ed4c5bab017203383
BUG/MEDIUM: mux-h1: Reset the H1 parser when an outgoing message is processed

Because multiple HTTP messages can be stored in an HTX structure, it is
important to not forget to reset the H1 parser at the beginning of each
one. With the current version, this case only happens on the response, when
multiple HTTP-1XX responses are forwarded to the client (for instance
103-Early-Hints). So strickly speaking, it is the same message. But for now,
internally, each one is a standalone message. Note that it might change in a
future version of the HTX.
src/mux_h1.c