diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-07-08 15:17:47 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-07-08 15:17:47 +0000 |
commit | 755694565542b227c6966e8ba78425c84cf6e009 (patch) | |
tree | 22c2929c01be68df4e1b2057a704a0ec73a237e5 /src/http/ngx_http_request.c | |
parent | 8e811c11b96bafca446404c6256d8edbb01900b0 (diff) | |
download | nginx-755694565542b227c6966e8ba78425c84cf6e009.tar.gz nginx-755694565542b227c6966e8ba78425c84cf6e009.zip |
nginx-0.0.7-2004-07-08-19:17:47 import
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 1857f59e9..9e2cb89d6 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -815,8 +815,12 @@ static ssize_t ngx_http_read_request_header(ngx_http_request_t *r) return NGX_AGAIN; } +#if 1 + ngx_http_ssl_read(r); +#else n = ngx_recv(r->connection, r->header_in->last, r->header_in->end - r->header_in->last); +#endif if (n == NGX_AGAIN) { if (!r->header_timeout_set) { |