mirror of
https://github.com/nginx/nginx.git
synced 2024-12-02 05:29:14 -06:00
Fixed incorrect counting the length of headers in a SCGI request.
This commit is contained in:
parent
2b24a67268
commit
963315aca0
@ -558,8 +558,10 @@ ngx_http_scgi_create_request(ngx_http_request_t *r)
|
|||||||
|
|
||||||
while (*(uintptr_t *) le.ip) {
|
while (*(uintptr_t *) le.ip) {
|
||||||
lcode = *(ngx_http_script_len_code_pt *) le.ip;
|
lcode = *(ngx_http_script_len_code_pt *) le.ip;
|
||||||
len += lcode(&le) + 1;
|
len += lcode(&le);
|
||||||
}
|
}
|
||||||
|
len++;
|
||||||
|
|
||||||
le.ip += sizeof(uintptr_t);
|
le.ip += sizeof(uintptr_t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user