]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http: Return the right reason for 302
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 17 Jul 2023 06:47:12 +0000 (08:47 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 17 Jul 2023 09:14:10 +0000 (11:14 +0200)
commite3e4e00063f359d6113144bddff67d3557a9eedb
tree1ea8ed291733cfceb08102aaa48a7c86208c5113
parentb982fc21770d433a2edfac1336974d289316b271
BUG/MINOR: http: Return the right reason for 302

Because of a cut/paste error, the wrong reason was returned for 302
code. The 301 reason was returned instead. Thus now, "Found" is returned for
302, instead of "Moved Permanently".

This pathc should fix the issue 2208. It must be backported to all stable
versions.
src/http.c