note 46120 deleted from function.fsockopen by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 19:50:15 +0000 |
| Subject: | note 46120 deleted from function.fsockopen by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142315@lists.php.net to get a copy of this message | ||
Note Submitter: mikebNOSPAM at xamo dot com
----
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)