commit | a8519357c500519a9022204f5637f03c26047c0d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Dec 18 16:44:28 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Dec 18 16:46:24 2018 +0100 |
tree | 0364a2fcafe7ef173758ba8743c47ac19108da40 | |
parent | 7ecb6f10a480ebcaaf03876558f103f717fb8485 [diff] |
BUG/MEDIUM: mux-h2: report asynchronous errors in h2_wake_some_streams() This function is called when dealing with a connection error or a GOAWAY frame. It used to report a synchronous error instead of an asycnhronous error, which can lead to data truncation since whatever is still available in the rxbuf will be ignored. Let's correctly use CS_FL_ERR_PENDING instead and only fall back to CS_FL_ERROR if CS_FL_EOS was already delivered. No backport is needed.