|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #69426 Built-in web server doesn't support persistent connections (keep-alive)
Submitted: 2015-04-11 10:45 UTC Modified: 2015-04-19 04:22 UTC
Avg. Score:4.4 ± 0.7
Reproduced:4 of 6 (66.7%)
Same Version:2 (50.0%)
Same OS:0 (0.0%)
From: brent dot newland at casipc dot com Assigned:
Status: No Feedback Package: Built-in web server
PHP Version: master-Git-2015-04-11 (snap) OS: Windows Server 2008 R2 x64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
5 + 2 = ?
Subscribe to this entry?

 [2015-04-11 10:45 UTC] brent dot newland at casipc dot com
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-11 16:03 UTC]
-Status: Open +Status: Feedback
 [2015-04-11 16:03 UTC]
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 16:03 UTC]
s ,on,one,
 [2015-04-11 16:16 UTC]
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-14 08:13 UTC] brent dot newland at caispc dot com
>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.
 [2015-04-19 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 [2022-01-03 23:41 UTC] will at lolcat dot ca
I'd like to re-open this issue as its impossible to serve videos files without keep alive. When seeking the video, a 206 request should be made alongside a keepalive header so we can re-use the connection
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 19:01:33 2024 UTC