note 28221 added to function.fsockopen

From: Date: Mon, 06 Jan 2003 15:36:35 +0000
Subject: note 28221 added to function.fsockopen
Groups: php.notes 
Request: Send a blank email to php-notes+get-41732@lists.php.net to get a copy of this message
20sec timeouts have been driving me crazy... But I have reason to believe they have to do with DNS failures, possibly fsockopen does some kind of host name lookup, which causes a lock up and hold...regardless of your timeout settings. If you're looking for fast aborts, this may be a bottle neck you cant get around, short of pre filtering your host names (somehow?) before feeding them to fsockopen. -- http://www.php.net/manual/en/function.fsockopen.php http://master.php.net/manage/user-notes.php?action=edit+28221 http://master.php.net/manage/user-notes.php?action=delete+28221 http://master.php.net/manage/user-notes.php?action=reject+28221

« previous php.notes (#41732) next »