]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h2: don't refrain from sending an RST_STREAM after another one
authorWilly Tarreau <w@1wt.eu>
Tue, 6 Aug 2019 08:01:40 +0000 (10:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 6 Aug 2019 08:04:55 +0000 (10:04 +0200)
commit231f61617014e54332cc743c73306506a56ab78e
tree98bbd3079043b4177bf6d1e910b5106fffe48eb3
parent1b77262cfb73b82ea96cf5fda234fed3ba112c26
BUG/MINOR: mux-h2: don't refrain from sending an RST_STREAM after another one

The test in h2s_send_rst_stream() is excessive, it refrains from sending an
RST_STREAM if *the last frame* was an RST_STREAM, regardless of the stream
ID. In a context where both clients and servers abort a lot, it could happen
that one RST_STREAM is dropped from responses from time to time, causing
delays to the client.

This must be backported to 2.0, 1.9 and 1.8.
src/mux_h2.c