]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: Add a wrapper to mark a connection as private
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Jul 2020 13:26:14 +0000 (15:26 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 15 Jul 2020 12:08:14 +0000 (14:08 +0200)
commit21ddc74e8a9c20310c39b1a8b6fc284616fa8c3a
treed243bd6edf1f2d4f509da8184fccf33ac4769d07
parentc64badd573310f88339369ed0902dd1803e6cdc0
MINOR: connection: Add a wrapper to mark a connection as private

To set a connection as private, the conn_set_private() function must now be
called. It sets the CO_FL_PRIVATE flags, but it also remove the connection from
the available connection list, if necessary. For now, it never happens because
only HTTP/1 connections may be set as private after their creation. And these
connections are never inserted in the available connection list.
include/haproxy/connection.h
src/backend.c
src/http_ana.c
src/mux_fcgi.c
src/mux_h2.c
src/proto_tcp.c
src/tcpcheck.c