Edit report at https://bugs.php.net/bug.php?id=60473&edit=1

 ID:                 60473
 Updated by:         larue...@php.net
 Reported by:        lolautruche at gmail dot com
 Summary:            Built-in server randomly closes connections
 Status:             Feedback
 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:

Hi, if there is no any error message in log, then it must because you return 
false 
at your route script if the script_name is not valid.

you can try print something just above the last "return false" statement. 

thanks


Previous Comments:
------------------------------------------------------------------------
[2011-12-09 09:09:44] lolautruche at gmail dot com

Hi

No, I mean that there is no response at all. The browser opens the connection 
and 
the built-in server closes it "unexpectedly"

------------------------------------------------------------------------
[2011-12-09 05:45:56] larue...@php.net

Hi, what do you mean by "connection closed"? 
500 error?

------------------------------------------------------------------------
[2011-12-08 16:22:22] lolautruche at gmail dot com

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 this bug report at https://bugs.php.net/bug.php?id=60473&edit=1

Reply via email to