]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream-int/stream: Move si_retnclose() in the stream scope
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 31 Mar 2022 07:47:24 +0000 (09:47 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Apr 2022 13:10:15 +0000 (15:10 +0200)
commit9125f3cc7733fc88517dc7c2a8d8decea505e0d1
tree965e74692a6dc524b6a182b7346fe362d9453fcc
parent62e757470aa6d7cd0b3279d076564ddbb8cf6447
MINOR: stream-int/stream: Move si_retnclose() in the stream scope

si_retnclose() is used to send a reply to a client before closing. There is
no use on the server side, in spite of the function is generic. Thus, it is
renamed stream_retnclose() and moved into the stream scope. The function now
handle a stream and explicitly send a message to the client.
include/haproxy/stream.h
include/haproxy/stream_interface.h
src/cli.c
src/stream.c
src/stream_interface.c