Fix: Correction de bugs dans magpierss qui ne renvoie pas d'erreurs si echec cration socket. Je fix et marque dans source magpierss par "LDR FIX BUG".

This commit is contained in:
Laurent Destailleur 2005-04-30 17:22:03 +00:00
parent d3337f36f0
commit dc66ad3ea0

View File

@ -138,6 +138,10 @@ class Snoopy
$this->host = $URI_PARTS["host"];
if(!empty($URI_PARTS["port"]))
$this->port = $URI_PARTS["port"];
// LDR FIX BUG syncronized connect timeout to read timeout, otherwise, read timeout is useless
if ($this->read_timeout) $this->_fp_timeout=$this->read_timeout;
if($this->_connect($fp))
{
if($this->_isproxy)