php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11831 Connection Handling Functions Broken
Submitted: 2001-07-02 05:01 UTC Modified: 2002-09-19 10:58 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: zak@php.net Assigned: zeev (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.6 OS: Win2k/CGI
Private report: No CVE-ID: None
 [2001-07-02 05:01 UTC] zak@php.net
Regardless of the actual state of connection, state returned is always 0.

ignore_user_abort (TRUE); // Tried with and without :)
register_shutdown_function (create_function ('', 'error_log (connection_status ()." (".time().")\n", 3, "./error_log.txt");'));
/* Long slow page to load - easy to interrupt or timeout */
echo join ('', file ('http://www.advogato.org/person/'));

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-03 18:33 UTC] sniper@php.net
Zeev wanted to fix this too.

 [2002-09-19 10:58 UTC] zeev@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 01:01:28 2024 UTC