]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: filters: Extract proxy stuff from the struct filter
authorChristopher Faulet <cfaulet@qualys.com>
Thu, 4 Feb 2016 12:40:26 +0000 (13:40 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 9 Feb 2016 13:53:15 +0000 (14:53 +0100)
commit443ea1a242f0d7c154d613d498ddf9682777d5a9
treeb915630a0d555388456021e840d9543070fc16af
parente6c3b69be01dd03c6d28ee1213ce88b232109cbd
MINOR: filters: Extract proxy stuff from the struct filter

Now, filter's configuration (.id, .conf and .ops fields) is stored in the
structure 'flt_conf'. So proxies own a flt_conf list instead of a filter
list. When a filter is attached to a stream, it gets a pointer on its
configuration. This avoids mixing the filter's context (owns by a stream) and
its configuration (owns by a proxy). It also saves 2 pointers per filter
instance.
include/proto/filters.h
include/types/filters.h
include/types/proxy.h
src/cfgparse.c
src/filters.c
src/flt_http_comp.c
src/flt_trace.c
src/proxy.c