mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-09 17:40:49 -04:00
BUG/MEDIUM: session: enable the conn_session_update() callback
This callback was introduced by commit 9683e9a0 but never enabled because
the CO_FL_WAKE_DATA flag was not set. The result is that this function is
never called when an SSL handshake fails, so the connection is only closed
on timeout.
This commit is contained in:
parent
e9909f4e50
commit
91083f5c8f
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ int session_accept(struct listener *l, int cfd, struct sockaddr_storage *addr)
|
|||
t->process = expire_mini_session;
|
||||
t->expire = tick_add_ifset(now_ms, p->timeout.client);
|
||||
task_queue(t);
|
||||
s->si[0].conn.flags |= CO_FL_INIT_DATA;
|
||||
s->si[0].conn.flags |= CO_FL_INIT_DATA | CO_FL_WAKE_DATA;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue