commit | 9bcd973a818bcc737f627ef9cef211b33229f18f | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Sat May 02 09:21:24 2020 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Sat May 02 09:37:03 2020 +0200 |
tree | ad1a6bbd97ab0a14491f1f29317101e9071c07de | |
parent | 8694f25040958cfab9e592bee821bc5769d1a1b5 [diff] |
BUG/MEDIUM: mux-fcgi: Fix wrong test on FCGI_CF_KEEP_CONN in fcgi_detach() When a stream is detached from its connection, we try to move the connection in an idle list to keep it opened, the session one or the server one. But it must only be done if there is no connection error and if we want to keep it open. This last statement is true if FCGI_CF_KEEP_CONN flag is set. But the test is inverted at the stage. This patch must be backported to 2.1.