[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.
This commit is contained in:
Willy Tarreau 2010-08-03 11:52:10 +02:00
parent 815a9b2039
commit 6df7a0e7d3

View File

@ -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);