commit | 2510f702f923ae83f8324bc94703fc77a37601bc | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Oct 31 17:14:16 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 31 17:18:10 2017 +0100 |
tree | 840716dcfbcc922761c787eeaf600d7f645f6078 | |
parent | f65610a83dbddb7a7a42fa95c6ae7dd95f718d7d [diff] |
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.