BUG/MINOR: http: properly handle all 1xx informational responses
authorWilly Tarreau <w@1wt.eu>
Fri, 7 Jul 2017 09:36:32 +0000 (11:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 7 Jul 2017 09:36:32 +0000 (11:36 +0200)
commita14ad72d307028457988bfd890bc70d3974b41a1
treefb9926c7f01ab7c2114402a734aca453050ba41c
parent37a72546f6da720d99facc013ddc28a7f8f68ab9
BUG/MINOR: http: properly handle all 1xx informational responses

Only 100 was considered informational instead of all 1xx. This can be
a problem when facing a 102 ("progress") or with the upcoming 103 for
early hints. Let's properly handle all 1xx now, leaving a special case
for 101 which is used for the upgrade.

This fix should be backported to 1.7, 1.6 and 1.5. In 1.4 the code is
different but the backport should be made there as well.
src/proto_http.c