note 46120 added to function.fsockopen
| From: | mikebNOSPAM at xamo dot com | Date: | Wed, 29 Sep 2004 23:17:03 +0000 |
| Subject: | note 46120 added to function.fsockopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-77595@lists.php.net to get a copy of this message | ||
Hey, why were my comments regarding fsockopen connection timeouts taken out? I'm sure they
would have been very useful to other users.
fsockopen (on FreeBSD and probably OpenBSD) will ignore the connection timeout parameter, and hang
for several minutes if it can't connect for a variety of reasons (no DNS resolve, host down,
extreme firewall setups). Use curl instead until a solution is found (i spent days on this issue)
----
Manual Page -- http://www.php.net/manual/en/function.fsockopen.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46120
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46120&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46120&report=yes
Search -- http://master.php.net/manage/user-notes.php