comparison src/http/ngx_http_request.c @ 383:c05876036128

nginx-0.0.7-2004-07-08-19:17:47 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 08 Jul 2004 15:17:47 +0000
parents 5ce6561246a5
children 79050a10aacb
comparison
equal deleted inserted replaced
382:449c4885dcd1 383:c05876036128
813 813
814 if (!rev->ready) { 814 if (!rev->ready) {
815 return NGX_AGAIN; 815 return NGX_AGAIN;
816 } 816 }
817 817
818 #if 1
819 ngx_http_ssl_read(r);
820 #else
818 n = ngx_recv(r->connection, r->header_in->last, 821 n = ngx_recv(r->connection, r->header_in->last,
819 r->header_in->end - r->header_in->last); 822 r->header_in->end - r->header_in->last);
823 #endif
820 824
821 if (n == NGX_AGAIN) { 825 if (n == NGX_AGAIN) {
822 if (!r->header_timeout_set) { 826 if (!r->header_timeout_set) {
823 cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); 827 cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module);
824 ngx_add_timer(rev, cscf->client_header_timeout); 828 ngx_add_timer(rev, cscf->client_header_timeout);