Bug #73778 [Opn->Csd]: FCGI_END_REQUEST repeated

From: Date: Wed, 11 Jan 2017 05:56:41 +0000
Subject: Bug #73778 [Opn->Csd]: FCGI_END_REQUEST repeated
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-206497@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73778&edit=1 ID: 73778 Updated by: krakjoe@php.net Reported by: max dot bruce12 at gmail dot com Summary: FCGI_END_REQUEST repeated -Status: Open +Status: Closed Type: Bug Package: FPM related Operating System: Ubuntu 16.04 PHP Version: 7.1.0 -Assigned To: +Assigned To: krakjoe Block user comment: N Private report: N New Comment: The fix for this bug has been committed. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2016-12-17 23:32:40] max dot bruce12 at gmail dot com Description: ------------ When writing a web server that interfaces with PHP-FPM (PHP 7.0.8-0ubuntu0.16.04.3 (fpm-fcgi)), I noticed that extra FCGI_END_REQUESTs were sent after each request when using sending requests sequentially but not multiplexed. This happened using all 0's for request ids or sequential ids. Test script: --------------- Send a request to the FCGI server. Attempt to send another request or simply wait perhaps, on the same connection. Actual result: -------------- Caused misordered pages in my implementation which wasn't expecting extra end-requests, could allow users to interfere with others loading of web pages. Very insecure if not handled. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73778&edit=1

« previous php.bugs (#206497) next »