comparison src/http/ngx_http_request.c @ 1858:1ff400fed04d

add code missed in r1856
author Igor Sysoev <igor@sysoev.ru>
date Wed, 09 Jan 2008 08:21:57 +0000
parents 11d12ef106a9
children 22e28e77246b
comparison
equal deleted inserted replaced
1857:18c20c38ad6d 1858:1ff400fed04d
482 482
483 if (!rev->timer_set) { 483 if (!rev->timer_set) {
484 ngx_add_timer(rev, c->listening->post_accept_timeout); 484 ngx_add_timer(rev, c->listening->post_accept_timeout);
485 } 485 }
486 486
487 if (ngx_handle_read_event(rev, 0) == NGX_ERROR) {
488 ngx_http_close_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR);
489 }
490
487 return; 491 return;
488 } 492 }
489 493
490 if (n == 1) { 494 if (n == 1) {
491 if (buf[0] == 0x80 /* SSLv2 */ || buf[0] == 0x16 /* SSLv3/TLSv1 */) { 495 if (buf[0] == 0x80 /* SSLv2 */ || buf[0] == 0x16 /* SSLv3/TLSv1 */) {