commit | 45ffc0ca347c523671a16698a147b819291dae01 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jan 03 09:32:20 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jan 03 09:34:19 2019 +0100 |
tree | 3370d5563f2809945edcdc210ca103edaa800852 | |
parent | c1fc95f850cb9668e6517ca3755808544e931b9f [diff] |
BUG/MINOR: mux-h2: mark end-of-stream after processing response HEADERS, not before When dealing with a server's H2 response, we used to set the end-of-stream flag on the conn_stream and the stream before parsing the response, which is incorrect since we can fail to process this response by lack of room, buffer or anything. The extend of this problem is still limited to a few rare cases, but with trailers it will cause a systematic failure. This fix must be backported to 1.9.