SSL connection readiness is required for level-triggered events only,
broken in r2128
This commit is contained in:
parent
2ec5d3dbe8
commit
5eb3a4f909
|
@ -505,7 +505,10 @@ ngx_ssl_handshake(ngx_connection_t *c)
|
|||
|
||||
if (n == 1) {
|
||||
|
||||
c->read->ready = 0;
|
||||
if (ngx_event_flags & NGX_USE_LEVEL_EVENT) {
|
||||
c->read->ready = 0;
|
||||
}
|
||||
|
||||
c->write->ready = 1;
|
||||
|
||||
if (ngx_handle_read_event(c->read, 0) == NGX_ERROR) {
|
||||
|
|
Loading…
Reference in New Issue