]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: h2: ensure we always know the stream before sending a reset
authorWilly Tarreau <w@1wt.eu>
Fri, 29 Dec 2017 10:34:40 +0000 (11:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 29 Dec 2017 10:34:40 +0000 (11:34 +0100)
commitd790143d990859f4d5af2c5a9e9e0aac94baa69e
tree3af98b3361647767a20491169fe14e2fde041783
parente9ed281e9fac52bbcc0edd84e16c13b2260f28f8
BUG/MEDIUM: h2: ensure we always know the stream before sending a reset

The recent patch introducing the H2_CS_FRAME_E state to emit stream
resets was not totally correct in that in the rare case where there is
no room left to emit the reset, the next call to process it later could
use an uninitialized stream. This only affects responses to frames that
are sent on closed streams though.

This fix must be backported to 1.8.
src/mux_h2.c