note 28221 rejected from function.fsockopen by nicos

From: Date: Mon, 06 Jan 2003 16:46:08 +0000
Subject: note 28221 rejected from function.fsockopen by nicos
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-41741@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.

« previous php.notes (#41741) next »