clear r->keepalive to disable preventively calling

ngx_http_set_keepalive() while request cleanup
This commit is contained in:
Igor Sysoev 2009-10-02 11:30:47 +00:00
parent 48a3131d83
commit 2d24d749e4

View File

@ -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;