mirror of
https://github.com/nginx/nginx.git
synced 2024-12-01 11:19:00 +08:00
clear r->keepalive to disable preventively calling
ngx_http_set_keepalive() while request cleanup
This commit is contained in:
parent
48a3131d83
commit
2d24d749e4
@ -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…
Reference in New Issue
Block a user