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

ID: 17457
Updated by: daniel.oconnor@gmail.com
Reported By: wgcrouch at gmail dot com
Summary: No way to close connection without exiting
-Status: Assigned
+Status: Closed
Type: Bug
Package: Net_Server
Operating System: Fedora 12
Package Version: 1.0.2
PHP Version: 5.2.12
-Assigned To: cweiske
+Assigned To: doconnor
Roadmap Versions:
New Comment:

-Status: Assigned
+Status: Closed
-Assigned To: cweiske
+Assigned To: doconnor
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.




Previous Comments:
------------------------------------------------------------------------

[2010-06-03 00:30:37] doconnor

-Assigned To:
+Assigned To: cweiske


------------------------------------------------------------------------

[2010-06-02 12:21:05] wgcrouch

This relates to Net_Server_Driver_Fork

------------------------------------------------------------------------

[2010-06-02 12:07:09] wgcrouch

Description:
------------
The closeConnection() and shutDown() methods both call exit.
This means there is no way to close the connection to the
client, but continue running the script.

You may not want the client to wait after they have submitted
a request.

I don't see the point of the shutDown function as it is just an
alias for closeConnection().

In bug #1792 it seems the exit() was added to
closeConnection(). It would have made more sense for the
user to just use the shutDown method and leave
closeConnection as it was.

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJan 26, '12 at 12:26a
activeJan 26, '12 at 12:26a
posts1
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 1 post

People

Translate

site design / logo © 2022 Grokbase