From: cajus Date: Wed, 19 Mar 2008 15:42:36 +0000 (+0000) Subject: Fixed Daemon query X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=08aa2c1b2cd2e250a3e07702b23a563bf070d69d;p=gosa.git Fixed Daemon query git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9947 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_socketClient.inc b/gosa-core/include/class_socketClient.inc index cda5e68d3..93e49de40 100644 --- a/gosa-core/include/class_socketClient.inc +++ b/gosa-core/include/class_socketClient.inc @@ -156,7 +156,11 @@ class Socket_Client $str .= $data; } else { if(strlen($str) != 0){ - break; + + /* We got but is still missing, keep on reading */ + if(preg_match("/<\/xml>/",$this->decrypt($str))){ + break; + } } } if((microtime(TRUE) - $start) > $this->timeout ){