mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
SSL connection readiness is required for level-triggered events only,
broken in r2128
This commit is contained in:
parent
6e99c76c71
commit
2ff9a4b334
@ -505,7 +505,10 @@ ngx_ssl_handshake(ngx_connection_t *c)
|
||||
|
||||
if (n == 1) {
|
||||
|
||||
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
Block a user