BUG/MEDIUM: mux-fcgi: Return from detach if server don't keep the connection
authorChristopher Faulet <cfaulet@haproxy.com>
Sat, 2 May 2020 07:08:54 +0000 (09:08 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Sat, 2 May 2020 07:37:03 +0000 (09:37 +0200)
commit66cd57ef5aedec9c2d33c1ecce791806c98349b4
tree5640810a62836bddfd593263a099b2f526d026fe
parent9753d61288936db804628c1e0bad20b7593ad384
BUG/MEDIUM: mux-fcgi: Return from detach if server don't keep the connection

When the last stream is detached from a FCGI connection, if the server don't add
the connection in its idle list, the connection is destroyed. Thus it is
important to exist immediately from the detach function. A return statement is
missing here.

This bug was introduced in the commit 2444aa5b6 ("MEDIUM: sessions: Don't be
responsible for connections anymore.").

It is a 2.2-dev bug. No need to backport.
src/mux_fcgi.c