Klaus Demo nginx / a408b2b
backout both r2162 and r2128 and implement a new fix Igor Sysoev 13 years ago
2 changed file(s) with 2 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
503503 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, "SSL_do_handshake: %d", n);
504504
505505 if (n == 1) {
506
507 if (ngx_event_flags & NGX_USE_LEVEL_EVENT) {
508 c->read->ready = 0;
509 }
510
511 c->write->ready = 1;
512506
513507 if (ngx_handle_read_event(c->read, 0) == NGX_ERROR) {
514508 return NGX_ERROR;
197197 return;
198198 }
199199
200 c->read->ready = 0;
201
200202 ngx_mail_init_session(c);
201203 return;
202204 }