commit | 0f8fb6b7f914882a37290178e11295264f0e0ea8 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Jan 04 10:48:03 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jan 04 10:48:03 2019 +0100 |
tree | 0c72e1591f1961a244a924c7eb62e87d278343c8 | |
parent | 7eeb10a5b5bc0c82b9ce200ee8c0588fede051f0 [diff] |
MINOR: h1: make the H1 headers block parser able to parse headers only Currently the H1 headers parser works for either a request or a response because it starts from the start line. It is also able to resume its processing when it was interrupted, but in this case it doesn't update the list. Make it support a new flag, H1_MF_HDRS_ONLY so that the caller can indicate it's only interested in the headers list and not the start line. This will be convenient to parse H1 trailers.