Bug #10765 Updated: timeout doesn't work
| From: | mfischer@php.net | Date: | Wed, 21 Nov 2001 12:39:21 +0000 |
| Subject: | Bug #10765 Updated: timeout doesn't work | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-71205@lists.php.net to get a copy of this message | ||
ID: 10765
Updated by: mfischer
Reported By: wuxinan@263.net
Old Status: Open
Status: Feedback
Bug Type: Sockets related
Operating System: Windows 98
PHP Version: 4.0.5
New Comment:
Can you try latest RC if the problem still exists
http://phpuk.org/~james/php-4.1.0RC3-win32.zip
Feedback.
Previous Comments:
------------------------------------------------------------------------
[2001-05-10 13:39:31] wuxinan@263.net
Actually I am making a Webster dictionary Web Interface:
$fp = fsockopen($webster_server, $webster_port, $err, $errno, 5);
socket_set_timeout($fp, 5);
Here 5 seconds timeout in fsockopen() doesn't work. If it cannot connet, it will simply wait
until the maximun script execution time (default 30 seconds in php.ini) reached.
socket_set_timeout() seems to be not implemented in this version.
(PHP 4.0.5, Windows CGI binary release)
------------------------------------------------------------------------
[2001-05-10 04:44:49] sniper@php.net
Add some short script which demonstrates how they don't work.
--Jani
------------------------------------------------------------------------
[2001-05-09 16:43:46] wuxinan@263.net
timeout parameter in fsockopen() doesn't work
socket_set_timeout() doesn't work.
I am using PHP 4.0.5 (binary release, CGI version) in Windows 98.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=10765&edit=1