<div dir="ltr"><div>Hello,</div><div><br></div><div>This changeset adds support for FastCGI FCGI_END_REQUEST record type.</div><div>Now nginx does not process this type of FastCGI record.</div><div>In case of usage php fastcgi upstream which finishes FastCGI</div>

<div>requests before end of script using fastcgi_finish_request() call</div><div>it leads to "upstream sent unexpected FastCGI record: 3 while reading</div><div>response header from upstream" error messages and 502 for clients.</div>

<div><br></div><div>Changeset parses FCGI_END_REQUEST FastCGI records and ignores it</div><div>if keep_conn is enabled and record has type FCGI_REQUEST_COMPLETE.</div><div><br></div><div><br></div><div>Kind regards,</div>

<div>Dmitry Saprykin</div></div>