Stream: delete proxy connection timer after SSL handshake.
The timer remained active and could drop active SSL connection.
This commit is contained in:
parent
9a1e196463
commit
3aaef64d3d
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…
Reference in a new issue