On 07/09/2012 07:17 AM, Krishna PMV wrote:
Ok, it turns out to be a bug in roundcube here: https://svn.roundcube.net/trunk/roundcubemail/program/steps/utils/modcss.inc
Its neatly explained here: http://in2.php.net/manual/en/function.stream-set-timeout.php#71274
I think there was a similiar issue in IMAP connections handling. Please, try with this patch.
--- program/steps/utils/modcss.inc +++ program/steps/utils/modcss.inc @@ -59,7 +59,7 @@ fwrite($fp, $out); // read response $header = true; $headers = array(); -while (!feof($fp)) { +while (!socket_eof($fp)) { $line = trim(fgets($fp, 4048));
if ($header) {
@@ -96,3 +96,19 @@ echo $error; exit;
+function socket_eof($fp) +{
return true;
return true;
+}