BUG/MINOR: mux-fcgi: Set flags on the right stream field for empty FCGI_STDOUT
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 15 Jul 2020 14:04:49 +0000 (16:04 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 15 Jul 2020 14:04:51 +0000 (16:04 +0200)
commit3b3096ede1b52007fa49a563436df8ee9323d78c
tree9de71c5f4da3790dc68eacbf34668937f148415a
parent6c99d3baeabef9aa3a798b2251215f1026b48751
BUG/MINOR: mux-fcgi: Set flags on the right stream field for empty FCGI_STDOUT

In fcgi_strm_handle_empty_stdout(), the FCGI_SF_ES_RCVD flag is set on "->state"
stream field instead of "->flags". It is obviously wrong. This bug is not
noticeable because the right state is set in the fcgi_process_demux() function a
bit later.

This patch must be backported as far as 2.1.
src/mux_fcgi.c