Bug #11162 Updated: pfsockopen closes connection after script finishes

From: Date: Thu, 14 Feb 2002 17:15:23 +0000
Subject: Bug #11162 Updated: pfsockopen closes connection after script finishes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-317@lists.php.net to get a copy of this message
ID: 11162 Updated by: strange@unicon.ru -Reported By: gavin@flinet.com +Reported By: strange@unicon.ru Status: Closed Bug Type: Sockets related Operating System: FreeBSD PHP Version: 4.0.4 New Comment: The problem still exists! Connection, opened by pfsockopen(), is closing when the script is finishes. (tested by just simple netcat -l and by multithreaded java chat server) PHP Version 4.1.1 Apache/1.3.20 FreeBSD 4.5-STABLE Previous Comments: ------------------------------------------------------------------------ [2001-12-13 06:25:08] sander@php.net No feedback. Closing. ------------------------------------------------------------------------ [2001-11-21 12:03:03] mfischer@php.net Can try with latest RC and see if the problem still exists http://www.php.net/~zeev/php-4.1.0RC3.tar.gz Feedback. ------------------------------------------------------------------------ [2001-05-29 01:18:39] gavin@flinet.com When using pfsockopen() it closes the connection as soon as the script finishes. According to the manual, the connection should remain open. I have had a few people write their own script to test this on their machine to make sure it wasn't my machine, or my code, and both of them also produced the same result. So I beleive this is either a bug with pfsockopen() or with the online documents. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=11162&edit=1

« previous php.bugs (#317) next »