]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: filters/http: Move body parsing of HTTP messages in dedicated functions
authorChristopher Faulet <cfaulet@qualys.com>
Wed, 2 Dec 2015 09:01:17 +0000 (10:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 9 Feb 2016 13:53:15 +0000 (14:53 +0100)
commitdbe34eb8cb20f69baa3b68b9253a961d035a598d
tree9fb7a58c55fa3b73bba66a0be2696d93328bf7ef
parent309c6418b08ee08f0df8382a02f20f0fc965c483
MEDIUM: filters/http: Move body parsing of HTTP messages in dedicated functions

Now body parsing is done in http_msg_forward_body and
http_msg_forward_chunked_body functions, regardless of whether we parse a
request or a response.
Parsing result is still handled in http_request_forward_body and
http_response_forward_body functions.

This patch will ease futur optimizations, mainly on filters.
src/proto_http.c