Bug #66830 [Ver->Csd]: Empty header causes PHP built-in web server to hang

From: Date: Mon, 07 Jul 2014 20:49:30 +0000
Subject: Bug #66830 [Ver->Csd]: Empty header causes PHP built-in web server to hang
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186508@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66830&edit=1 ID: 66830 Updated by: aharvey@php.net Reported by: jon dot dufresne at gmail dot com Summary: Empty header causes PHP built-in web server to hang -Status: Verified +Status: Closed Type: Bug Package: Built-in web server Operating System: Fedora 20 PHP Version: 5.5.9 Block user comment: N Private report: N New Comment: Automatic comment on behalf of aharvey Revision: http://git.php.net/?p=php-src.git;a=commit;h=604de67b7d0b8c6db76002011e3b55dd9c7aeec8 Log: Fixed bug #66830 (Empty header causes PHP built-in web server to hang). Previous Comments: ------------------------------------------------------------------------ [2014-07-06 02:25:45] yohgaki@php.net It hangs with 5.5 branch at least. I guess built in server is trying to read inputs. ------------------------------------------------------------------------ [2014-03-05 22:38:58] jon dot dufresne at gmail dot com Description: ------------ Serving the test script below through the PHP built-in web server causes the server to hang. A response is never generated. This script works through mod_php. Once the server hangs, Ctrl-C is insufficient to quit. I am only able to quit using the kill command. Test script: --------------- <?php header(' ', false, 200); Expected result: ---------------- The web server should serve a response with a 200 status code. Actual result: -------------- Web server hangs. Requires killing with the kill command. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66830&edit=1

« previous php.bugs (#186508) next »