commit | 175cebb38ad7e06ae207ab947b02a344660f981b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jan 24 10:02:24 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jan 24 15:27:06 2019 +0100 |
tree | 0d14c1bc9fa2b6d3e742549f80683bb2114cf9be | |
parent | 5b4eae33dee01224f0ece9db0891ca7a1fb2805d [diff] |
BUG/MINOR: mux-h2: make it possible to set the error code on an already closed stream When sending RST_STREAM in response to a frame delivered on an already closed stream, we used not to be able to update the error code and deliver an RST_STREAM with a wrong code (e.g. H2_ERR_CANCEL). Let's always allow to update the code so that RST_STREAM is always sent with the appropriate error code (most often H2_ERR_STREAM_CLOSED). This should be backported to 1.9 and possibly to 1.8.