Bug #17457 [Opn]: No way to close connection without exiting

From: Date: Thu, 03 Jun 2010 00:30:37 +0000
Subject: Bug #17457 [Opn]: No way to close connection without exiting
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-3849@lists.php.net to get a copy of this message
Edit report at http://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: Open Type: Bug Package: Net_Server Operating System: Fedora 12 Package Version: 1.0.2 PHP Version: 5.2.12 -Assigned To: +Assigned To: cweiske Roadmap Versions: New Comment: -Assigned To: +Assigned To: cweiske Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=17457&edit=1

« previous php.pear.bugs (#3849) next »