Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 1677:c997912a8f0b
copy protocol value when large request line is copied,
this fixes error "fastcgi: the request record is too big"
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 01 Dec 2007 12:22:48 +0000 |
parents | 447765dc6d67 |
children | e584e946e198 |
comparison
equal
deleted
inserted
replaced
1676:447765dc6d67 | 1677:c997912a8f0b |
---|---|
1152 | 1152 |
1153 if (r->args_start) { | 1153 if (r->args_start) { |
1154 r->args_start = new + (r->args_start - old); | 1154 r->args_start = new + (r->args_start - old); |
1155 } | 1155 } |
1156 | 1156 |
1157 if (r->http_protocol.data) { | |
1158 r->http_protocol.data = new + (r->http_protocol.data - old); | |
1159 } | |
1160 | |
1157 } else { | 1161 } else { |
1158 r->header_name_start = new; | 1162 r->header_name_start = new; |
1159 r->header_name_end = new + (r->header_name_end - old); | 1163 r->header_name_end = new + (r->header_name_end - old); |
1160 r->header_start = new + (r->header_start - old); | 1164 r->header_start = new + (r->header_start - old); |
1161 r->header_end = new + (r->header_end - old); | 1165 r->header_end = new + (r->header_end - old); |