SSL connection readiness is required for level-triggered events only, broken in r2128
Igor Sysoev
13 years ago
1 changed file(s) with
4 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+4
-1
src/event/ngx_event_openssl.c
less
more
504
504
505
505
if (n == 1) {
506
506
507
c->read->ready = 0;
507
if (ngx_event_flags & NGX_USE_LEVEL_EVENT) {
508
c->read->ready = 0;
509
}
510
508
511
c->write->ready = 1;
509
512
510
513
if (ngx_handle_read_event(c->read, 0) == NGX_ERROR) {