]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http: move header captures from http_txn to struct stream
authorWilly Tarreau <w@1wt.eu>
Fri, 3 Apr 2015 20:16:32 +0000 (22:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Apr 2015 09:35:52 +0000 (11:35 +0200)
commitcb7dd015be4603af3564466d394ac4335aa8102b
tree8b218e28b98b5fadfbdc39577025d60b82deb22e
parent53c9b4db41337d5894c5791ce9905fe665faa09f
MEDIUM: http: move header captures from http_txn to struct stream

The header captures are now general purpose captures since tcp rules
can use them to capture various contents. That removes a dependency
on http_txn that appeared in some sample fetch functions and in the
order by which captures and http_txn were allocated.

Interestingly the reset of the header captures were done at too many
places as http_init_txn() used to do it while it was done previously
in every call place.
include/types/proto_http.h
include/types/stream.h
src/frontend.c
src/hlua.c
src/log.c
src/peers.c
src/proto_http.c
src/proto_tcp.c
src/stream.c