commit | 259192370f182f2b4597fe1aecb8857e988b7c0e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jan 03 14:48:18 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jan 03 18:45:38 2019 +0100 |
tree | 765244a7f42d64a006683354f4d352b9824b4269 | |
parent | ecb9dcdf932034f0a8aa084609f1e385a94a40db [diff] |
MEDIUM: mux-h2: make h2c_decode_headers() support recoverable errors When a decoding error is recoverable, we should emit a stream error and not a connection error. This patch does this by carefully checking the connection state before deciding to send a connection error. If only the stream is in error, an RST_STREAM is sent.