From: hickert Date: Mon, 21 Jan 2008 11:13:56 +0000 (+0000) Subject: Updated socket read X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=074b6cd58d580e1968db368b56dd3a96b36bea43;p=gosa.git Updated socket read git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8517 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_socketClient.inc b/gosa-core/include/class_socketClient.inc index 517a9a0b2..72230451b 100644 --- a/gosa-core/include/class_socketClient.inc +++ b/gosa-core/include/class_socketClient.inc @@ -126,7 +126,7 @@ class Socket_Client while($num && get_MicroTimeDiff($start,microtime()) < $this->timeout){ $str.= fread($this->handle, 1024000); $read = array("0"=>$this->handle); - $num = @stream_select($read,$write,$accept,floor($this->timeout), ceil($this->timeout*100000)); + $num = stream_select($read,$write,$accept,0,200); } $this->bytes_read = strlen($str); $this->b_data_send = FALSE;