note 29301 deleted from function.fsockopen by nlopess

From: Date: Sat, 27 Dec 2003 15:15:01 +0000
Subject: note 29301 deleted from function.fsockopen by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-62565@lists.php.net to get a copy of this message
Note Submitter: tony@NOSPAM.sixzeros.com ---- Headsup guys, I struggled for weeks with timeout errors where the timeout arg was completely ignored, and fsockopen caused lengthy lockups. Seems it was doing hostnamelookups, which was locking up my script, possibly due to the non response of the DNS server , not for seconds.. but for 10 minutes or more. On some servers, I was able to get around this by setting my default DNS server to a localhost.

« previous php.notes (#62565) next »