]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h1: store the status code in the H1 message
authorWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 07:02:24 +0000 (08:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 07:43:29 +0000 (08:43 +0100)
commitd22e83abd90a6b52101c0a9efb59186f56154572
tree11ee4a757e0efbfaa2c8a0dd6471cf9cafb264b9
parenta3c77cfdd7d80ecd5f341913902410c5827f8840
MINOR: h1: store the status code in the H1 message

It was painful not to have the status code available, especially when
it was computed. Let's store it and ensure we don't claim content-length
anymore on 1xx, only 0 body bytes.
include/proto/h1.h
include/types/h1.h
src/h1.c