comparison src/http/ngx_http_request.c @ 1734:b4d3c9c1ae20 stable-0.5

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
author Igor Sysoev <igor@sysoev.ru>
date Wed, 12 Dec 2007 21:11:21 +0000
parents 7b074520602f
children 1f802d26204f
comparison
equal deleted inserted replaced
1733:7b074520602f 1734:b4d3c9c1ae20
1149 1149
1150 if (r->args_start) { 1150 if (r->args_start) {
1151 r->args_start = new + (r->args_start - old); 1151 r->args_start = new + (r->args_start - old);
1152 } 1152 }
1153 1153
1154 if (r->http_protocol.data) {
1155 r->http_protocol.data = new + (r->http_protocol.data - old);
1156 }
1157
1154 } else { 1158 } else {
1155 r->header_name_start = new; 1159 r->header_name_start = new;
1156 r->header_name_end = new + (r->header_name_end - old); 1160 r->header_name_end = new + (r->header_name_end - old);
1157 r->header_start = new + (r->header_start - old); 1161 r->header_start = new + (r->header_start - old);
1158 r->header_end = new + (r->header_end - old); 1162 r->header_end = new + (r->header_end - old);