| commit | 2d24d749e48bebc8b5231db4787cf1fdbe950ebd | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Fri Oct 02 11:30:47 2009 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Fri Oct 02 11:30:47 2009 +0000 |
| tree | c5812520c1ffbcc1cbd7d152d05dbac144825e1f | |
| parent | 48a3131d8378c7d785c060162a201ea2e5a3b37e [diff] |
clear r->keepalive to disable preventively calling ngx_http_set_keepalive() while request cleanup
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 7efa282..6c42f38 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c
@@ -2411,6 +2411,8 @@ } } + r->keepalive = 0; + ngx_http_free_request(r, 0); c->data = hc;