From 074b6cd58d580e1968db368b56dd3a96b36bea43 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 21 Jan 2008 11:13:56 +0000 Subject: [PATCH] Updated socket read git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8517 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_socketClient.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2