]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: stream: don't ignore res.analyse_exp anymore
authorWilly Tarreau <w@1wt.eu>
Fri, 10 Nov 2017 16:14:23 +0000 (17:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 Nov 2017 16:14:23 +0000 (17:14 +0100)
commit9a398beac321fdda9f6cf0cb7069960d1a29cfd6
tree11241fd550229b4b57739beea99fed3013acd394
parent5d9846f4b3b4b92fca7fd49eb1007a0e9c18dd74
BUG/MEDIUM: stream: don't ignore res.analyse_exp anymore

It happens that no single analyser has ever needed to set res.analyse_exp,
so that process_stream() didn't consider it when computing the next task
expiration date. Since Lua actions were introduced in 1.6, this can be
needed on http-response actions for example, so let's ensure it's properly
handled.

Thanks to Nick Dimov for reporting this bug. The fix needs to be
backported to 1.7 and 1.6.
src/stream.c