mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-01 09:00:51 +00:00
BUG/MAJOR: http: fix stats regression consecutive to HTTP_RULE_RES_YIELD
Commit bc4c1ac
("MEDIUM: http/tcp: permit to resume http and tcp custom actions")
unfortunately broke the stats applet by moving the clearing of the analyser bit
after processing the applet headers. It used to work only in HTTP/1.1 and not
in HTTP/1.0. This is 1.6-specific, no backport is needed.
This commit is contained in:
parent
eee45391db
commit
612adb8459
@ -6337,8 +6337,11 @@ int http_process_res_common(struct session *s, struct channel *rep, int an_bit,
|
|||||||
/* The stats applet needs to adjust the Connection header but we don't
|
/* The stats applet needs to adjust the Connection header but we don't
|
||||||
* apply any filter there.
|
* apply any filter there.
|
||||||
*/
|
*/
|
||||||
if (unlikely(objt_applet(s->target) == &http_stats_applet))
|
if (unlikely(objt_applet(s->target) == &http_stats_applet)) {
|
||||||
|
rep->analysers &= ~an_bit;
|
||||||
|
rep->analyse_exp = TICK_ETERNITY;
|
||||||
goto skip_filters;
|
goto skip_filters;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We will have to evaluate the filters.
|
* We will have to evaluate the filters.
|
||||||
|
Loading…
Reference in New Issue
Block a user