commit | 5c8cafae396b5c3bcd28576263d575f9067675d1 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Dec 23 11:30:42 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Dec 24 11:45:00 2018 +0100 |
tree | de90d2ff7757e830f1222d3c42f7a2f2e4eb2196 | |
parent | 6fa380dbbaa9c8a5dca17654c6b5355dac2203ff [diff] |
MEDIUM: mux-h2: decode HEADERS frames before allocating the stream It's hard to recover from a HEADERS frame decoding error after having already created the stream, and it's not possible to recover from a stream allocation error without dropping the connection since we can't maintain the HPACK context, so let's decode it before allocating the stream, into a temporary buffer that will then be offered to the newly created stream.