]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: filters: remove http_start_chunk, http_last_chunk and http_chunk_end
authorChristopher Faulet <cfaulet@qualys.com>
Tue, 1 Dec 2015 09:40:57 +0000 (10:40 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 9 Feb 2016 13:53:15 +0000 (14:53 +0100)
commit2fb2880caf8a697dc765a3692c97d6bc8f7a0b7a
treec13031e169288cec45c0331fb2e59a5925633ed7
parent3e34429515912c34d6f63e8b58bb5cb5bf3096fe
MEDIUM: filters: remove http_start_chunk, http_last_chunk and http_chunk_end

For Chunked HTTP request/response, the body filtering can be really
expensive. In the worse case (many chunks of 1 bytes), the filters overhead is
of 3 calls per chunk. If http_data callback is useful, others are just
informative.

So these callbacks has been removed. Of course, existing filters (trace and
compression) has beeen updated accordingly. For the HTTP compression filter, the
update is quite huge. Its implementation is closer to the old one.
include/proto/filters.h
include/types/filters.h
src/filters.c
src/flt_http_comp.c
src/proto_http.c