[Phpfreechat-svn] SF.net SVN: phpfreechat: [601] trunk/src/phpfreechat.class.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-06-16 15:12:26
|
Revision: 601 Author: kerphi Date: 2006-06-16 08:12:20 -0700 (Fri, 16 Jun 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=601&view=rev Log Message: ----------- Bandwidth optimization : do not send any responses when nothing have to be updated (this code is under commentary because it doesn't work with the current xajax version) Modified Paths: -------------- trunk/src/phpfreechat.class.php Modified: trunk/src/phpfreechat.class.php =================================================================== --- trunk/src/phpfreechat.class.php 2006-06-16 15:09:56 UTC (rev 600) +++ trunk/src/phpfreechat.class.php 2006-06-16 15:12:20 UTC (rev 601) @@ -443,6 +443,9 @@ pxlog("HandleRequest: content=".$data, "chat", $c->getId()); ob_end_clean(); } + + // do nothing else if the xml response is empty + //if ($xml_reponse->xml == "") die(); return $xml_reponse->getXML(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |