Merge of r4295:
Fixed incorrect counting the length of headers in a SCGI request.
This commit is contained in:
parent
eb797a1658
commit
de0d84a82a
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue