Bug #60471 [Com]: Random "Invalid request (unexpected EOF)" using a router script

From: Date: Sun, 28 Sep 2014 16:20:34 +0000
Subject: Bug #60471 [Com]: Random "Invalid request (unexpected EOF)" using a router script
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187736@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60471&edit=1 ID: 60471 Comment by: write2reuben at gmail dot com Reported by: lolautruche at gmail dot com Summary: Random "Invalid request (unexpected EOF)" using a router script Status: Assigned Type: Bug Package: Built-in web server Operating System: Mac OS X 10.7.2 (Lion) PHP Version: 5.4.0RC2 Assigned To: laruence Block user comment: N Private report: N New Comment: Get this message after requesting a valid php file.... C:\mystuff\php-5.6.0\myphp>..\php -S 127.0.0.1:60024 -t . PHP 5.6.1 Development Server started at Sun Sep 28 12:14:34 2014 Listening on http://127.0.0.1:60024 Document root is C:\mystuff\php-5.6.0\myphp Press Ctrl-C to quit. [Sun Sep 28 12:14:44 2014] 127.0.0.1:57374 [404]: / - No such file or directory [Sun Sep 28 12:14:50 2014] 127.0.0.1:57375 Invalid request (Unexpected EOF) [Sun Sep 28 12:14:57 2014] 127.0.0.1:57378 [200]: /php1.php [Sun Sep 28 12:15:03 2014] 127.0.0.1:57379 Invalid request (Unexpected EOF) [Sun Sep 28 12:15:14 2014] 127.0.0.1:57382 [200]: /php1.php [Sun Sep 28 12:15:20 2014] 127.0.0.1:57383 Invalid request (Unexpected EOF) Previous Comments: ------------------------------------------------------------------------ [2014-05-13 15:20:43] mike@php.net This just happens when a keep-alive connection closes... ------------------------------------------------------------------------ [2014-05-13 12:34:39] madara at tchizik dot com Same in PHP 5.5.9-1ubuntu4. I get those occasionally too when viewing from Chrome. ------------------------------------------------------------------------ [2012-10-24 07:39:35] laruence@php.net Hey, actually, this warnnig message is no harm. ------------------------------------------------------------------------ [2012-10-24 07:36:36] pascal dot chevrel at free dot fr Just in case it matters, I am seeing the same bug on Linux with Firefox (both Firefox releases and Nightly builds) ------------------------------------------------------------------------ [2012-02-25 15:15:24] michal dot pipa dot xsolve at gmail dot com I've attached a patch that disables "Unexpected EOF" error message from built-in server. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=60471 -- Edit this bug report at https://bugs.php.net/bug.php?id=60471&edit=1

« previous php.bugs (#187736) next »