ID: 12360
Comment by: johannes at zoomposters dot com
Reported By: sheep at fearthisclan dot com
Status: No Feedback
Bug Type: Sockets related
Operating System: FreeBSD
PHP Version: 4.3.2
New Comment:
I got it to work now by setting up my own dns server.
It's apparently at the DNS lookup that the code hangs and where the
timeout has no effect.
Previous Comments:
------------------------------------------------------------------------
[2004-01-30 02:45:59] johannes at zoomposters dot com
The timeout still doesn't work. The function doesn't hang but the
timeout has no effect at all.
Using:
Redhat 9
http://snaps.php.net/php4-STABLE-latest.tar.gz
(2004-01-30)
------------------------------------------------------------------------
[2004-01-06 20:53:41] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2004-01-01 21:03:59] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2003-12-22 16:03:38] sheep at fearthisclan dot com
It doesn't seem to have any effect on it. I tried 10, 5 and 0.
------------------------------------------------------------------------
[2003-12-22 14:21:58] wez@php.net
Try adjusting the default_socket_timeout ini setting,
which defaults to 60 seconds.
ini_set('default_socket_timeout', 10);
fsockopen(...);
(I know you shouldn't need to do this, but it will
help me to figure out what is going on)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/12360--
Edit this bug report at http://bugs.php.net/?id=12360&edit=1