Bug #16356 Updated: file() on URL may leave open socket

From: Date: Tue, 02 Jul 2002 21:14:35 +0000
Subject: Bug #16356 Updated: file() on URL may leave open socket
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12873@lists.php.net to get a copy of this message
ID: 16356 Updated by: sterling@php.net Reported By: belg4mit@mit.edu -Status: Open +Status: Bogus Bug Type: Filesystem function related Operating System: Linux 2.4.18 PHP Version: 4.1.2 New Comment: CLOSE_WAIT is appropriate. Previous Comments: ------------------------------------------------------------------------ [2002-06-25 05:45:26] filippo@zirak.it it the same bug: http://bugs.php.net/bug.php?id=17964 when a connection is not closed from server side (e.g. timeout, but it can be a ftp (without "bye") or other protocols closed with fclose and not by server itself) it leads to a CLOSE_WAIT state (for indefinite time on server side!!!). Filippo ------------------------------------------------------------------------ [2002-03-29 20:44:23] belg4mit@mit.edu Occasionally a file("http://foobar.com") will timeout. Subsequenetly an open socket to foobar.com in CLOSE_WAIT may persist. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16356&edit=1

« previous php.bugs (#12873) next »