]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: h2: fix some wrong error codes on connections
authorWilly Tarreau <w@1wt.eu>
Tue, 7 Nov 2017 10:08:28 +0000 (11:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 Nov 2017 10:08:28 +0000 (11:08 +0100)
commit7d8e4af46acbfad03cd813d7349ffbb9262d5539
tree248b36663d6ea6c3cf902e8757209f8a8b12e4cb
parent721c974e5e0893d62902e3012463d35a332c3fcb
BUG/MEDIUM: h2: fix some wrong error codes on connections

When the assignment of the connection state was moved into h2c_error(),
3 of them were missed because they were wrong, using H2_SS_ERROR instead.
This resulted in the connection's state being set to H2_CS_ERROR2 in fact,
so the error was not properly sent.
src/mux_h2.c