Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.3

Bug #17457 No way to close connection without exiting
Submitted: 2010-06-02 16:07 UTC
From: wgcrouch Assigned: doconnor
Status: Closed Package: Net_Server (version 1.0.2)
PHP Version: 5.2.12 OS: Fedora 12
Roadmaps: (Not assigned)    
Subscription  


 [2010-06-02 16:07 UTC] wgcrouch (Wayne Crouch)
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.

Comments

 [2010-06-02 16:21 UTC] wgcrouch (Wayne Crouch)
This relates to Net_Server_Driver_Fork
 [2010-06-03 04:30 UTC] doconnor (Daniel O'Connor)
-Assigned To: +Assigned To: cweiske
 [2012-01-26 06:27 UTC] doconnor (Daniel O'Connor)
-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.