mirror of
https://github.com/nginx/nginx.git
synced 2025-08-05 22:26:15 +08:00
Proxy: allocate $proxy_internal_body_length from request pool.
This commit is contained in:
parent
e565dbc6e0
commit
9014efdadf
@ -2076,7 +2076,7 @@ ngx_http_proxy_internal_body_length_variable(ngx_http_request_t *r,
|
||||
v->no_cacheable = 0;
|
||||
v->not_found = 0;
|
||||
|
||||
v->data = ngx_pnalloc(r->connection->pool, NGX_OFF_T_LEN);
|
||||
v->data = ngx_pnalloc(r->pool, NGX_OFF_T_LEN);
|
||||
|
||||
if (v->data == NULL) {
|
||||
return NGX_ERROR;
|
||||
|
Loading…
Reference in New Issue
Block a user