mirror of
https://github.com/nginx/nginx.git
synced 2025-08-06 14:56:15 +08:00
copy protocol value when large request line is copied,
this fixes error "fastcgi: the request record is too big"
This commit is contained in:
parent
1d4e9b31cc
commit
58ea0c1aad
@ -1154,6 +1154,10 @@ ngx_http_alloc_large_header_buffer(ngx_http_request_t *r,
|
|||||||
r->args_start = new + (r->args_start - old);
|
r->args_start = new + (r->args_start - old);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (r->http_protocol.data) {
|
||||||
|
r->http_protocol.data = new + (r->http_protocol.data - old);
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
r->header_name_start = new;
|
r->header_name_start = new;
|
||||||
r->header_name_end = new + (r->header_name_end - old);
|
r->header_name_end = new + (r->header_name_end - old);
|
||||||
|
Loading…
Reference in New Issue
Block a user