]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: h2: don't send GOAWAY on failed response
authorWilly Tarreau <w@1wt.eu>
Tue, 7 Nov 2017 13:42:12 +0000 (14:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 Nov 2017 13:47:04 +0000 (14:47 +0100)
commit926fa4c098fff29d54c9bf0a5a2c9d9bb245c143
tree315c7dcb764c2e2567f458dece37701303b4f4f0
parentc4312d3dfd5129d8befa69208ff7132702fd5da7
BUG/MINOR: h2: don't send GOAWAY on failed response

As part of the detection for intentional closes, we can kill the
connection if a shutw() happens before the headers. But it can also
happen that an invalid response is not properly parsed, preventing
any headers frame from being sent and making the function believe
it was an abort. Now instead we check if any response was received
from the stream, regardless of the fact that it was properly
converted.
src/mux_h2.c