]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: h1-htx: Return the right reason for 302 FCGI responses
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 20 Jul 2023 07:50:56 +0000 (09:50 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 20 Jul 2023 07:51:00 +0000 (09:51 +0200)
commit083f917fe28d0c9c6c8e7f635d0edda062928f80
treead34d301f0d5a732e94da91ec10d99d2658e99aa
parentbfff46f4112d978c0311ce57e0c90866994dac3e
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.
src/h1_htx.c