]> git.ipfire.org Git - thirdparty/haproxy.git/commit
OPTIM: http: inline http_parse_chunk_size() and http_skip_chunk_crlf()
authorWilly Tarreau <w@1wt.eu>
Thu, 25 Oct 2012 22:49:52 +0000 (00:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 25 Oct 2012 23:12:40 +0000 (01:12 +0200)
commit24e6d972aa6388455b501074f34ff098592c870b
tree5232dac01613f04547f7ab609d49a2b20130eb55
parent55a6906125a2e578e2eee901440de008dbf8a317
OPTIM: http: inline http_parse_chunk_size() and http_skip_chunk_crlf()

These functions are not that long and the compiler inlines them well. Doing
so has sped up the chunked encoding parser by 41% !

Note that http_forward_trailers was also declared static because it's not
exported.
src/proto_http.c