mirror of
https://github.com/nginx/nginx.git
synced 2026-10-23 20:44:41 +00:00
Stream: delete proxy connection timer after SSL handshake.
The timer remained active and could drop active SSL connection.
This commit is contained in:
parent
470d038671
commit
0079f29326
1 changed files with 4 additions and 0 deletions
|
|
@ -759,6 +759,10 @@ ngx_stream_proxy_ssl_handshake(ngx_connection_t *pc)
|
|||
u->peer.save_session(&u->peer, u->peer.data);
|
||||
}
|
||||
|
||||
if (pc->write->timer_set) {
|
||||
ngx_del_timer(pc->write);
|
||||
}
|
||||
|
||||
ngx_stream_proxy_init_upstream(s);
|
||||
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue