diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-10-02 11:30:47 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-10-02 11:30:47 +0000 |
commit | 2d24d749e48bebc8b5231db4787cf1fdbe950ebd (patch) | |
tree | c5812520c1ffbcc1cbd7d152d05dbac144825e1f /src/http/ngx_http_request.c | |
parent | 48a3131d8378c7d785c060162a201ea2e5a3b37e (diff) | |
download | nginx-2d24d749e48bebc8b5231db4787cf1fdbe950ebd.tar.gz nginx-2d24d749e48bebc8b5231db4787cf1fdbe950ebd.zip |
clear r->keepalive to disable preventively calling
ngx_http_set_keepalive() while request cleanup
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 7efa28246..6c42f385c 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -2411,6 +2411,8 @@ ngx_http_set_keepalive(ngx_http_request_t *r) } } + r->keepalive = 0; + ngx_http_free_request(r, 0); c->data = hc; |