mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-09 12:58:07 +00:00
BUG/MEDIUM: stream: The stream doen't inherit SC from the session
During the processing of tcp-request connection, the stream doesn't exists, so the stick counters are stored in the session. When the stream is created it must inherit from the session sc. This patch fix this behavior. [WT: this is specific to 1.6, no backport needed]
This commit is contained in:
parent
03d0e45dbb
commit
c8fdb983c5
@ -107,7 +107,7 @@ struct stream *stream_new(struct session *sess, struct task *t, enum obj_type *o
|
||||
s->current_rule_list = NULL;
|
||||
s->current_rule = NULL;
|
||||
|
||||
memset(s->stkctr, 0, sizeof(s->stkctr));
|
||||
memcpy(s->stkctr, sess->stkctr, sizeof(s->stkctr));
|
||||
|
||||
s->sess = sess;
|
||||
s->si[0].flags = SI_FL_NONE;
|
||||
|
Loading…
Reference in New Issue
Block a user