summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-12-12 21:11:21 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-12-12 21:11:21 +0000
commit0687ed071b02967d8b0079cb54c8c041a616ebab (patch)
tree70a5f55678c452cbc384e55c8c978ea5970b665f /src/http/ngx_http_request.c
parent3b8cfd03a809939adab5a2daa2efd3d322a575db (diff)
downloadnginx-0687ed071b02967d8b0079cb54c8c041a616ebab.tar.gz
nginx-0687ed071b02967d8b0079cb54c8c041a616ebab.tar.bz2
r1678, r1679 merge:
*) copy protocol value when large request line is copied, this fixes error "fastcgi: the request record is too big" *) log how big fastcgi record
Diffstat (limited to '')
-rw-r--r--src/http/ngx_http_request.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 96963a0ab..e5ed14935 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -1151,6 +1151,10 @@ ngx_http_alloc_large_header_buffer(ngx_http_request_t *r,
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);