From 6df7a0e7d328d07fc327d55280697f797ecc76f0 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 3 Aug 2010 11:52:10 +0200 Subject: [PATCH] [MINOR] http: reset analysers to listener's, not frontend's When resetting a session's request analysers, we must take them from the listener, not from the frontend. At the moment there is no difference but this might change. --- src/proto_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proto_http.c b/src/proto_http.c index 464511237..57ab14b43 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -3773,7 +3773,7 @@ void http_end_txn_clean_session(struct session *s) if (s->rep->lr >= s->rep->data + s->rep->size) s->rep->lr -= s->req->size; - s->req->analysers |= s->fe->fe_req_ana; + s->req->analysers |= s->listener->analysers; s->rep->analysers = 0; http_silent_debug(__LINE__, s);