]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: h1: ensure that 1xx, 204 and 304 don't have a payload body
authorWilly Tarreau <w@1wt.eu>
Mon, 30 Oct 2017 18:31:59 +0000 (19:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 30 Oct 2017 18:33:22 +0000 (19:33 +0100)
commit8ea0f38c75016a5ca4d5410355133f456b6db5c5
tree2897734054cf91a38710058aa5b02e8f7f8efecd
parent404d978d402d6bb3a69fe1c9579d4dd79592f89d
MEDIUM: h1: ensure that 1xx, 204 and 304 don't have a payload body

It's important for the H2 to H1 gateway that the response parser properly
clears the H1 message's body_len when seeing these status codes so that we
don't hang waiting to transfer data that will not come.
src/h1.c