Merge of r4295:

Fixed incorrect counting the length of headers in a SCGI request.
This commit is contained in:
Maxim Dounin 2011-12-14 15:28:13 +00:00
parent 408c331545
commit 430aef49ac

View file

@ -558,8 +558,10 @@ ngx_http_scgi_create_request(ngx_http_request_t *r)
while (*(uintptr_t *) le.ip) {
lcode = *(ngx_http_script_len_code_pt *) le.ip;
len += lcode(&le) + 1;
len += lcode(&le);
}
len++;
le.ip += sizeof(uintptr_t);
}
}