add code missed in r1856

This commit is contained in:
Igor Sysoev 2008-01-09 08:21:57 +00:00
parent 5a45c6869f
commit 57b088d1cc

View File

@ -484,6 +484,10 @@ ngx_http_ssl_handshake(ngx_event_t *rev)
ngx_add_timer(rev, c->listening->post_accept_timeout); ngx_add_timer(rev, c->listening->post_accept_timeout);
} }
if (ngx_handle_read_event(rev, 0) == NGX_ERROR) {
ngx_http_close_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR);
}
return; return;
} }