mirror of
https://github.com/nginx/nginx.git
synced 2026-06-27 04:12:05 +00:00
clear r->keepalive to disable preventively calling
ngx_http_set_keepalive() while request cleanup
This commit is contained in:
parent
48a3131d83
commit
2d24d749e4
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue