]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-spop: Wait end of handshake to declare a spop connection ready
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 28 Apr 2025 06:01:40 +0000 (08:01 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 30 Apr 2025 12:44:42 +0000 (14:44 +0200)
commitfd7ebf117bdefdcfbd1c30a079585867eb22a57d
treef6c6fd4626f6fb9e96f3fa93aec0df98e44b7e02
parent047fb37b1989996e06623310d02034965f83e19a
BUG/MEDIUM: mux-spop: Wait end of handshake to declare a spop connection ready

A SPOP connection must not be considered as ready while the hello handshake
is not finished with success. In addition, no error or shutdown must have
been reported for the underlying connection. Otherwise a freshly openned
spop connexion may be reused while it is in fact dead, leading to a
connection retry.

This patch must be backported to 3.1.
src/mux_spop.c