mirror of
https://github.com/nginx/nginx.git
synced 2026-10-25 15:10:05 -05:00
continue to parse available fastcgi record after a split header,
this fixes the erroneous message "upstream prematurely closed connection while reading response header from upstream"
This commit is contained in:
1 parent
5fab282698
commit
1b52828cd9
1 file changed
+4
@@ -1439,6 +1439,10 @@ ngx_http_fastcgi_process_header(ngx_http_request_t *r)
|
||||
part->start = part_start;
|
||||
part->end = u->buffer.last;
|
||||
|
||||
if (u->buffer.pos < u->buffer.last) {
|
||||
continue;
|
||||
}
|
||||
|
||||
return NGX_AGAIN;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user