]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: h2: don't try to parse incomplete H1 responses
authorWilly Tarreau <w@1wt.eu>
Thu, 2 Nov 2017 14:14:19 +0000 (15:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 2 Nov 2017 14:53:04 +0000 (15:53 +0100)
commitf13ef96e70fc6365fa7bbc078df2393a70bfb2d2
treea09b1345886904d93b2ed567a8c1fd8ba77e3e06
parentfccf840cdf807197beaa93a16e80d9e70b5c0d9c
BUG/MEDIUM: h2: don't try to parse incomplete H1 responses

This situation which must not happen does in fact happen when feeding
artificial responses using errorfiles, Lua or an applet. For now it
causes the H1 response parser to loop forever trying to get a more
complete response. Since it cannot progress, let's return an error.
src/mux_h2.c