php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13260 fsockopen when times out is core dumped
Submitted: 2001-09-12 05:21 UTC Modified: 2001-11-22 09:22 UTC
From: khimich at ukr dot net Assigned:
Status: Closed Package: Sockets related
PHP Version: 4.0CVS-2001-09-12 OS: FreeBSD 4.3
Private report: No CVE-ID: None
 [2001-09-12 05:21 UTC] khimich at ukr dot net
This code 

$fp=fsockopen("10.0.5.1",80,&$errno, &$errstr,5);
if(!$fp) echo "$errno $errstr";

core dumped after message "60 Operation timed out"

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-21 07:17 UTC] mfischer@php.net
There as some glitch in fsockopen for a given timeframe. Can you try latest RC if problem still exists

http://www.php.net/~zeev/php-4.1.0RC3.tar.gz

Feedback.
 [2001-11-22 09:22 UTC] khimich at ukr dot net
In php-4.1.0RC3 this doesn't reproduced, so seems it works.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Oct 07 05:01:27 2024 UTC