# HG changeset patch # User Igor Sysoev # Date 1196511768 0 # Node ID c997912a8f0b3036977f7669a9ec147ec857885d # Parent 447765dc6d67079db6bf1dd0e65e5343203e536d copy protocol value when large request line is copied, this fixes error "fastcgi: the request record is too big" diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -1154,6 +1154,10 @@ ngx_http_alloc_large_header_buffer(ngx_h r->args_start = new + (r->args_start - old); } + if (r->http_protocol.data) { + r->http_protocol.data = new + (r->http_protocol.data - old); + } + } else { r->header_name_start = new; r->header_name_end = new + (r->header_name_end - old);