mirror of
https://github.com/nginx/nginx.git
synced 2025-06-13 06:12:44 +08:00
when the FastCGI header was split in records,
nginx passed garbage in the header to a client
This commit is contained in:
parent
28eafa574e
commit
4d2e0f0198
@ -1144,7 +1144,7 @@ ngx_http_fastcgi_process_header(ngx_http_request_t *r)
|
|||||||
return NGX_OK;
|
return NGX_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (u->buffer.pos == u->buffer.last) {
|
if (rc == NGX_OK && u->buffer.pos == u->buffer.last) {
|
||||||
return NGX_AGAIN;
|
return NGX_AGAIN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user