]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stream: Save SC and channel flags earlier in process_steam()
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 17 Mar 2025 15:07:21 +0000 (16:07 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 3 Apr 2025 08:19:58 +0000 (10:19 +0200)
commit6365eb85e50f71f8227039a67b3e724714520a12
treeb8cb8d8962fe0a5d9c337e5c2f836bbe9dfd7d33
parent51611a5b702e6dbf2e5ac56cbcef211326414282
MEDIUM: stream: Save SC and channel flags earlier in process_steam()

At the begining of process_stream(), the flags of the stream connectors and
channels are saved to be able to handle changes performed in sub-functions
(for instance in analyzers). But, some operations were performed before
saving these flags: Synchronous receives and forced shutdowns. While it
seems to safe for now, it is a bit annoying because some events could be
missed.

So, to avoid bugs in the future, the channels and stream connectors flags
are now really saved before any other processing.
src/stream.c