]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream-int: Factorize processing done after sending data in si_cs_send()
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 Jul 2019 09:49:11 +0000 (11:49 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 Jul 2019 12:26:15 +0000 (14:26 +0200)
commit86162db15c439479d154b352d40d2477f39f4fcf
treea2484a3dca31eb88aea15dde97a49bccaaed41c7
parent0e54d547f11a7b51fa27c334f666c312d0c2625a
MINOR: stream-int: Factorize processing done after sending data in si_cs_send()

In the function si_cs_send(), what is done when an error occurred on the
connection or the conn_stream or when some successfully data was send via a pipe
or the channel's buffer may be factorized at the function. It slightly simplify
the function.

This patch must be backported to 2.0 and 1.9 because a bugfix depends on it.
src/stream_interface.c