]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http: Fix content-length of the default 500 error
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 9 Oct 2020 06:39:26 +0000 (08:39 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 9 Oct 2020 08:02:09 +0000 (10:02 +0200)
commit55633925545717466597d8863cee9c137082eade
treeca8ff03802b98187947987647dc39629f71aeeb4
parentab8771285c90074c30b2c6584bb3682c0f734678
BUG/MINOR: http: Fix content-length of the default 500 error

96 bytes is announce in the C-L header for a message of body of 97 bytes. This
bug was introduced by the patch 46a030cdd ("CLEANUP: assorted typo fixes in the
code and comments").

This patch must be backported in all versions where the patch above is (the 2.2
for now).
src/http.c