BUG/MINOR: h1-htx: Return the right reason for 302 FCGI responses

A FCGI response may contain a "Location" header with no status code. In this
case a 302-Found HTTP response must be returned to the client. However,
while the status code is indeed 302, the reason is wrong. "Found" must be
set instead of "Moved Temporarily".

This patch must be backported as far as 2.2. With the commit e3e4e0006
("BUG/MINOR: http: Return the right reason for 302"), this should fix the
issue #2208.

(cherry picked from commit 083f917fe28d0c9c6c8e7f635d0edda062928f80)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit a3ba46a373f54f97a6a7e4d07be1c969df625e2f)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 3598f8176adcd92881d2c0f64959fe5a62d31f3e)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit f95f0e089280ccad107a6ad1432c84e94c18b91b)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed