Stream: delete proxy connection timer after SSL handshake.

The timer remained active and could drop active SSL connection.
This commit is contained in:
Ruslan Ermilov 2015-10-06 08:57:09 +03:00
parent 9a1e196463
commit 3aaef64d3d

View file

@ -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;