Req #69426 [Com]: Built-in web server doesn't support persistent connections (keep-alive)

From: Date: Tue, 14 Apr 2015 08:13:19 +0000
Subject: Req #69426 [Com]: Built-in web server doesn't support persistent connections (keep-alive)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-192033@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69426&edit=1 ID: 69426 Comment by: brent dot newland at caispc dot com Reported by: brent dot newland at casipc dot com Summary: Built-in web server doesn't support persistent connections (keep-alive) Status: Feedback Type: Feature/Change Request Package: Built-in web server Operating System: Windows Server 2008 R2 x64 PHP Version: master-Git-2015-04-11 (snap) Block user comment: N Private report: N New Comment: >builtin server only have on process, if support keep-alive. then normal app (using ajax) >won't be able to works properly .. Isn't that what threads are for? A single port can have many connections, and a single process can have many threads. Previous Comments: ------------------------------------------------------------------------ [2015-04-11 16:16:20] rasmus@php.net It is also quite common for modern web servers to have keep-alive turned off for performance reasons. So if tests are breaking because of the lack of keep-alive, then those tests are not very good. ------------------------------------------------------------------------ [2015-04-11 16:03:34] laruence@php.net s ,on,one, ------------------------------------------------------------------------ [2015-04-11 16:03:12] laruence@php.net builtin server only have on process, if support keep-alive. then normal app (using ajax) won't be able to works properly .. ------------------------------------------------------------------------ [2015-04-11 10:45:26] brent dot newland at casipc dot com Description: ------------ Instead, it closes the connection after serving each file. I know it's just a testing server, but keep-alive connections shouldn't be a problem to add in. It is having an impact on testing scripts, since it's not behaving like most modern server programs. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69426&edit=1

« previous php.bugs (#192033) next »