php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72130 built-in web server is not responsive to Ctrl+C
Submitted: 2016-04-29 22:19 UTC Modified: 2016-08-07 04:22 UTC
From: flip101 at gmail dot com Assigned:
Status: No Feedback Package: Built-in web server
PHP Version: 5.6.21 OS:
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:
MUST BE VALID
Solve the problem:
9 + 45 = ?
Subscribe to this entry?

 
 [2016-04-29 22:19 UTC] flip101 at gmail dot com
Description:
------------
When handling a request the webserver does not respond to Ctrl+C on the command line. This is kind of problematic for a development server since you can't expect to have finished code that performs fast to be there. So it can be that wrong code just takes a long time waiting at some point.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-07-28 11:10 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2016-07-28 11:10 UTC] ab@php.net
Thanks for the report. I don't reproduce this with 5.6+ by using just while(1); as a script. It might be, that some other code in your script or in a non-core extensions blocks the interrupt signal. But we need an exact reproduce case to be able to debug this.

Thanks.
 [2016-08-07 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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 00:01:27 2024 UTC