作者 邓超

job

... ... @@ -126,7 +126,7 @@ class ImapClient {
if ($result === 0) {
$maxW--;
if(!$maxW){
throw new \Exception('socket write error time out');
throw new \Exception($this->host.' write error time out ('.$this->timeOut.'s)');
}
// 兼容下swoole
if(function_exists('go') && \co::getCid()>0){
... ... @@ -169,7 +169,7 @@ class ImapClient {
}
// 超时了,异常
if(!$i && $str===false){
throw new \Exception('read time out');
throw new \Exception($this->host.' read time out ('.$this->timeOut.'s)');
}
if($this->debug){
... ...