aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-07-11 21:03:47 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-07-11 21:03:47 +0000
commit6845ad4c8e308095b6e8db41fdaca537c65b0378 (patch)
treeec68936a1a124cf003d922e4b1b0f5746483b889 /src/http/ngx_http_request.c
parent14f279e7e5cad1d6da9f457ac26b8305bc22a3ee (diff)
downloadnginx-6845ad4c8e308095b6e8db41fdaca537c65b0378.tar.gz
nginx-6845ad4c8e308095b6e8db41fdaca537c65b0378.zip
nginx-0.0.7-2004-07-12-01:03:47 import
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 4c1783412..580cabaf3 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -815,8 +815,9 @@ static ssize_t ngx_http_read_request_header(ngx_http_request_t *r)
return NGX_AGAIN;
}
-#if 0
- ngx_http_ssl_read(r);
+#if 1
+ n = ngx_http_ssl_read(r, r->header_in->last,
+ r->header_in->end - r->header_in->last);
#else
n = ngx_recv(r->connection, r->header_in->last,
r->header_in->end - r->header_in->last);