php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1685 fclose() doesn't close tcp socket
Submitted: 1999-07-09 09:00 UTC Modified: 1999-07-10 16:58 UTC
From: tarvin at mdb dot ku dot dk Assigned: sas (profile)
Status: Closed Package: Misbehaving function
PHP Version: 3.0.11 OS: LinuxLinux
Private report: No CVE-ID: None
 [1999-07-09 09:00 UTC] tarvin at mdb dot ku dot dk
With PHP 3.0.11, fclose() doesn't seem to work.
Tested on Linux 2.0.* and 2.2.* kernels. Tested on both
glibc 2 and glibc 2.1 systems.

With PHP 3.0.9 on a Red Hat 5.2, I cannot reproduce the problem.

Problem demonstration page and details PHP version information at http://www.fsr.ku.dk/people/troels/socket/

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-10 13:19 UTC] sas at cvs dot php dot net
TCP is slow... insert a sleep(3) after the fclose and have a look at the output then. At least I cannot reproduce the effect with the current CVS.
 [1999-07-10 16:58 UTC] sas at cvs dot php dot net
fixed in CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 22 00:01:33 2024 UTC