mirror of
https://github.com/nginx/nginx.git
synced 2025-01-20 21:33:20 -06:00
update connection readiness after SSL handshake,
this fixes mail proxy SSL connection hanging if level-triggered event is used
This commit is contained in:
parent
0f17f6ce9f
commit
ec0b579f75
@ -505,6 +505,9 @@ ngx_ssl_handshake(ngx_connection_t *c)
|
||||
|
||||
if (n == 1) {
|
||||
|
||||
c->read->ready = 0;
|
||||
c->write->ready = 1;
|
||||
|
||||
if (ngx_handle_read_event(c->read, 0) == NGX_ERROR) {
|
||||
return NGX_ERROR;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user