PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Networking » Net_Server » Bug #1972

CRITICAL! forked server instance does not end

Details

Submitted2004-07-24 07:22 UTC
Fromk dot gornik at fr dot pl
Assignedschst
StatusClosed
PackageNet_Server
PHP VersionIrrelevant
OSLinux
Roadmaps(Not assigned)

Comments

[2004-07-24 07:22 UTC] k dot gornik at fr dot pl

Description:
------------
Net/Server/Driver/Fork.php
function closeConnection()

there is no more exit() at the end of function which causes processes to remain in memory

Reproduce code:
---------------
@@ -300,1 +300,2 @@
+exit();
}

Expected result:
----------------
only one line when type ps -ef |grep php in console (untl any connection is opened)

Actual result:
--------------
many php server.php when type ps -ef |grep php in console

[2004-07-24 07:24 UTC] k dot gornik at fr dot pl

This affects 0.11.4 version (as I upgraded directly from 0.11 to 0.11.4 I don't know whether same bug is in other subversions)