From: Willy Tarreau Date: Tue, 3 Aug 2010 09:52:10 +0000 (+0200) Subject: [MINOR] http: reset analysers to listener's, not frontend's X-Git-Tag: v1.5-dev8~534 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6df7a0e7d328d07fc327d55280697f797ecc76f0;p=thirdparty%2Fhaproxy.git [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. --- diff --git a/src/proto_http.c b/src/proto_http.c index 4645112371..57ab14b43c 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);