diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-01-08 20:51:06 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-01-08 20:51:06 +0000 |
commit | bd68d5140774044d55262177b1d533bd2e569463 (patch) | |
tree | 8ff63106b070369dc36e9f9d92c71521a2fe1975 /src/http/ngx_http_request.c | |
parent | 1d73cf13f01d7f17c343d1df475ef431e030628f (diff) | |
download | nginx-bd68d5140774044d55262177b1d533bd2e569463.tar.gz nginx-bd68d5140774044d55262177b1d533bd2e569463.zip |
add code missed in r1830
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index bb21b71b2..b3eab7e24 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -479,6 +479,11 @@ ngx_http_ssl_handshake(ngx_event_t *rev) n = recv(c->fd, (char *) buf, 1, MSG_PEEK); if (n == -1 && ngx_socket_errno == NGX_EAGAIN) { + + if (!rev->timer_set) { + ngx_add_timer(rev, c->listening->post_accept_timeout); + } + return; } |