]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: conn-stream: Make cs_detach_* private and use cs_destroy() from outside
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 21 Apr 2022 12:22:53 +0000 (14:22 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 22 Apr 2022 12:32:30 +0000 (14:32 +0200)
commiteb50c01fef2701eb7810f9f79df3a9cf5526bfe1
tree2d4764ce2697df1a2d1d224f5f31b3ddd4ec0e57
parentc6b60f1e00926cc9db1f20ec56a69d8192a9ff5a
MINOR: conn-stream: Make cs_detach_* private and use cs_destroy() from outside

A conn-stream is never detached from an endpoint or an application alone,
except on a reset. Thus, to avoid any error, these functions are now
private. And cs_destroy() function is added to destroy a conn-stream. This
function is called when a stream is released, on the front and back
conn-streams, and when a health-check is finished.
include/haproxy/conn_stream.h
src/check.c
src/conn_stream.c
src/http_client.c
src/stream.c