]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h1: add a function to measure the trailers length
authorWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 16:14:16 +0000 (17:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 16:18:10 +0000 (17:18 +0100)
commit2510f702f923ae83f8324bc94703fc77a37601bc
tree840716dcfbcc922761c787eeaf600d7f645f6078
parentf65610a83dbddb7a7a42fa95c6ae7dd95f718d7d
MINOR: h1: add a function to measure the trailers length

This is needed in the H2->H1 gateway so that we know how long the trailers
block is in chunked encoding. It returns the number of bytes, or 0 if some
are missing, or -1 in case of parse error.
include/proto/h1.h
src/h1.c