]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http: make the chunk crlf parser only depend on the buffer
authorWilly Tarreau <w@1wt.eu>
Thu, 21 Sep 2017 09:33:54 +0000 (11:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 22 Oct 2017 07:54:14 +0000 (09:54 +0200)
commitb28925675d257db1ac8ec9a3b3d819575554345c
tree60bddbb8342cfb00fb45206f755a32880ce093c3
parente56cdd362983009863a417d599145593249b5acf
MEDIUM: http: make the chunk crlf parser only depend on the buffer

The chunk crlf parser used to depend on the channel and on the HTTP
message, eventhough it's not really needed. Let's remove this dependency
so that it can be used within the H2 to H1 gateway.

As part of this small API change, it was renamed to h1_skip_chunk_crlf()
to mention that it doesn't depend on http_msg anymore.
include/proto/h1.h
src/proto_http.c