]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http: pass ACT_FLAG_FINAL to custom actions
authorWilly Tarreau <w@1wt.eu>
Sun, 27 Sep 2015 08:33:15 +0000 (10:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 27 Sep 2015 09:04:06 +0000 (11:04 +0200)
commit394586836f662dabff578b93781abb1bbb56719d
treed2d1ed7fc30e517f212d462507f6abef66bff3e5
parentc1b10d38d7a73909cfab61051f71c28e4aaf7431
MEDIUM: http: pass ACT_FLAG_FINAL to custom actions

In HTTP it's more difficult to know when to pass the flag or not
because all actions are supposed to be final and there's no inspection
delay. Also, the input channel may very well be closed without this
being an error. So we only set the flag when option abortonclose is
set and the input channel is closed, which is the only case where the
user explicitly wants to forward a close down the chain.
src/proto_http.c