#33960 [Fbk->Opn]: fsockopen() timeout parameter has no function
| From: | cyberline at techno4ever dot net | Date: | Tue, 02 Aug 2005 08:54:43 +0000 |
| Subject: | #33960 [Fbk->Opn]: fsockopen() timeout parameter has no function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-82808@lists.php.net to get a copy of this message | ||
ID: 33960
User updated by: cyberline at techno4ever dot net
Reported By: cyberline at techno4ever dot net
-Status: Feedback
+Status: Open
Bug Type: Sockets related
-Operating System: Suse 9.2/3
+Operating System: Suse 9.3
PHP Version: 5.0.4
New Comment:
same result as before :/
i think the Nameserver of the checked hosts are Offline atm.
By the way: compiling snapshot with:
"--enable-soap"
produces this output:
/root/php5-200508020630/ext/soap/php_xml.c -o ext/soap/php_xml.lo
/root/php5-200508020630/ext/soap/php_xml.c: In function
`soap_xmlParseFile':
/root/php5-200508020630/ext/soap/php_xml.c:89: error: `tsrm_ls'
undeclared (first use in this function)
/root/php5-200508020630/ext/soap/php_xml.c:89: error: (Each undeclared
identifier is reported only once
/root/php5-200508020630/ext/soap/php_xml.c:89: error: for each function
it appears in.)
Previous Comments:
------------------------------------------------------------------------
[2005-08-02 10:30:16] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-08-02 10:27:39] cyberline at techno4ever dot net
Description:
------------
When i set a timelimit for fsockopen() the script won't stop after the
limit reaches.
Reproduce code:
---------------
if($fp = fsockopen($host, $port, &$errno, &$errnum, 2)) {
...
}
Expected result:
----------------
When the checked host is offline, the script reported that afetr 2
seconds.
Actual result:
--------------
The Script is stopping after 60 seconds.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33960&edit=1