mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
[BUG] http: do not re-enable the PROXY analyser on keep-alive
The PROXY analyser is connection-oriented and must only be set once. When an HTTP transaction is done, we must not re-enable it.
This commit is contained in:
parent
65ce3918af
commit
342b11c4d4
@ -3948,7 +3948,8 @@ 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->listener->analysers;
|
||||
s->req->analysers = s->listener->analysers;
|
||||
s->req->analysers &= ~AN_REQ_DECODE_PROXY;
|
||||
s->rep->analysers = 0;
|
||||
|
||||
http_silent_debug(__LINE__, s);
|
||||
@ -7356,7 +7357,6 @@ void http_reset_txn(struct session *s)
|
||||
http_init_txn(s);
|
||||
|
||||
s->be = s->fe;
|
||||
s->req->analysers = s->listener->analysers;
|
||||
s->logs.logwait = s->fe->to_log;
|
||||
s->srv = s->prev_srv = s->srv_conn = NULL;
|
||||
/* re-init store persistence */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user