projects
/
haproxy-2.1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
815a9b2
)
[MINOR] http: reset analysers to listener's, not frontend's
author
Willy Tarreau
<w@1wt.eu>
Tue, 3 Aug 2010 09:52:10 +0000
(11:52 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Tue, 10 Aug 2010 12:04:42 +0000
(14:04 +0200)
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
patch
|
blob
|
history
diff --git
a/src/proto_http.c
b/src/proto_http.c
index
4645112
..
57ab14b
100644
(file)
--- 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);