]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: always emit HTTP/1.1 in responses
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Apr 2014 20:51:54 +0000 (22:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Apr 2014 20:53:43 +0000 (22:53 +0200)
commit8b8995f0f4bf5d9b96b98af8c4e0ed26f4944b7b
tree503df599c371fe4b8684495ef9183c483d5140f7
parentf118d9f507cd4688720fa81bb033b0424a1a57e9
MINOR: stats: always emit HTTP/1.1 in responses

We used to emit either 1.0 or 1.1 depending on whether we were sending
chunks or not. This condition is useless, better always send 1.1. Also
that way at least clients and intermediary proxies know we speak 1.1.
The "Connection: close" header is still set anyway.
src/dumpstats.c