]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: filters: Don't force the stream's wakeup when we wait in flt_end_analyze
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 30 Mar 2017 09:13:22 +0000 (11:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 31 Mar 2017 12:40:45 +0000 (14:40 +0200)
commit2b553de5951b1a60e0c01775a2e7ef84b6472cb3
tree040ac7ed713ab8007eada72c5080a20ef35aef7b
parent69744d92a308f22936f4854447a85ed4d2b09dec
BUG/MINOR: filters: Don't force the stream's wakeup when we wait in flt_end_analyze

In flt_end_analyze, we wait that the anlayze is finished for both the request
and the response. In this case, because of a task_wakeup, some streams can
consume too much CPU to do nothing. So now, this is the filter's responsibility
to know if this wakeup is needed.

This fix should be backported in 1.7.
src/filters.c