From: Operating system: Mac OS X 10.7.2 (Lion) PHP version: 5.4.0RC2 Package: Built-in web server Bug Type: Bug Bug description:Built-in server randomly closes connections
Description: ------------ When using built-in server with a regular PHP application (eZ Publish in my case), and with many design ressources going through the server, it regularly fails to serve some ressources to the browser (randomly). I'm using a router with rewrite rules emulations (with regexp), so it might come from here, but there is no error logged anywhere :-( Please note that this has been tested with only one user. Test script: --------------- php -S localhost:8000 router.php My router script : https://gist.github.com/1447481 Expected result: ---------------- All requested ressources should be served, or at least there should be an error message explaining why connection has been closed -- Edit bug report at https://bugs.php.net/bug.php?id=60473&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60473&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60473&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60473&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60473&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60473&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60473&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60473&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60473&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60473&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60473&r=support Expected behavior: https://bugs.php.net/fix.php?id=60473&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60473&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60473&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60473&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60473&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=60473&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60473&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60473&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60473&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60473&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60473&r=mysqlcfg