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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tarvin at mdb dot ku dot dk
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 23:00:02 2026 UTC