mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-20 02:30:13 +00:00
5796228aba
Since the 2.5, it is possible to define TCP/HTTP ruleset in defaults sections. However, rules defining a capture in defaults sections was not properly handled because they was not shared with the proxies inheriting from the defaults section. This led to crash when haproxy tried to store a new capture. So now, to fix the issue, when a new proxy is created, the list of captures points to the list of its defaults section. It may be NULL or not. All new caputres are prepended to this list. It is not a problem to share the same defaults section between several proxies, because it is not altered and we take care to not release it when corresponding proxies are freed but only when defaults proxies are freed. To do so, defaults proxies are now unreferenced at the end of free_proxy() function instead of the beginning. This patch should fix the issue #1674. It must be backported to 2.5. |
||
---|---|---|
.. | ||
1k.txt | ||
acl_cli_spaces.vtc | ||
agents.acl | ||
converters_ipmask_concat_strcmp_field_word.map | ||
converters_ipmask_concat_strcmp_field_word.vtc | ||
default_rules.vtc | ||
del_header.vtc | ||
except-forwardfor-originalto.vtc | ||
h1_to_h1c.vtc | ||
h1or2_to_h1c.vtc | ||
http_after_response.vtc | ||
http_return.vtc | ||
lf-file.txt | ||
map_redirect-be.map | ||
map_redirect.map | ||
map_redirect.vtc | ||
map_regm_with_backref.map | ||
map_regm_with_backref.vtc | ||
normalize_uri.vtc | ||
path_and_pathq.vtc | ||
strict_rw_mode.vtc |