]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: sink: add sink_new_from_srv() function
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 14 Sep 2023 09:35:27 +0000 (11:35 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 13 Oct 2023 08:05:06 +0000 (10:05 +0200)
commite58a9b4baf485810c4f561e95e7f589dde26cf9b
tree4b4d77c123b7bba6c3f03f8811bd6a0b7a61660a
parent5c0d1c1a74d86b252b4cfd2fda672a1038711d5a
MINOR: sink: add sink_new_from_srv() function

This helper function can be used to create a new sink from an existing
server struct (and thus existing proxy as well), in order to spare some
resources when possible.
include/haproxy/sink.h
src/sink.c