]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: conn_stream: make cs_set_error() work on the endpoint instead
authorWilly Tarreau <w@1wt.eu>
Tue, 10 May 2022 06:46:07 +0000 (08:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 May 2022 12:27:57 +0000 (14:27 +0200)
commit386346f5eb34ae251111f4e8be3cda06d4626b57
tree66877f3a721002a586ef1a7436796c393c6621b0
parentb112b1d02a6bdfc0de10e22e129d7daa65624bc4
MINOR: conn_stream: make cs_set_error() work on the endpoint instead

Wherever we need to report an error, we have an even easier access to
the endpoint than the conn_stream. Let's first adjust the API to use
the endpoint and rename the function accordingly to cs_ep_set_error().
include/haproxy/conn_stream.h
src/mux_fcgi.c
src/mux_h2.c