]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: session: rename private conns elements
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 14 Mar 2024 10:24:10 +0000 (11:24 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 14 Mar 2024 14:21:02 +0000 (15:21 +0100)
commit5ad801c0586bc07109860d40bb4e7da84c985cb0
tree6b740fc07b357aafc62fcb9f3240b7a86edeb2e4
parentf31a4e302e2c24409fbf7bd2d30aa221968eb7a6
MINOR: session: rename private conns elements

By default, backend connections are attached to a server instance. This
allows to implement connection reuse. However, in some particular cases,
connection cannot be shared accross several clients. These connections
are considered and private and are attached to the session instance
instead.

These private connections are also indexed by the target server to not
mix them. All of this is implemented via a dedicated structure
previously named struct sess_srv_list.

Rename it to better reflect its usage to struct sess_priv_conns. Also
rename its internal members and all of the associated functions.

This commit is only a renaming, thus no functional impact is expected.
include/haproxy/connection-t.h
include/haproxy/session-t.h
include/haproxy/session.h
src/backend.c
src/connection.c
src/mux_fcgi.c
src/mux_h2.c
src/session.c
src/trace.c