]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h2: new function h2s_error() to mark an error on a stream
authorWilly Tarreau <w@1wt.eu>
Tue, 17 Oct 2017 06:03:59 +0000 (08:03 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 17:12:14 +0000 (18:12 +0100)
commit2e43f08c60c738af1fbb4d2d1e32d5bc4036a69f
treee7ad2d1d9236dd931b45e7d6897b3c640dbe280d
parent741d6df87095ffc510fd3de3a7fae7072be76a3d
MINOR: h2: new function h2s_error() to mark an error on a stream

This one will store the error into the stream's errcode if it's neither
idle nor closed (since these ones are read-only) and switch its state to
H2_SS_ERROR. If a conn_stream is attached, it will be flagged with
CS_FL_ERROR.
src/mux_h2.c