[Mapbender-commits] r7098 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Nov 8 05:11:14 EST 2010


Author: christoph
Date: 2010-11-08 02:11:14 -0800 (Mon, 08 Nov 2010)
New Revision: 7098

Modified:
   trunk/mapbender/http/classes/class_connector.php
Log:
todo: remove possible infinite loop

Modified: trunk/mapbender/http/classes/class_connector.php
===================================================================
--- trunk/mapbender/http/classes/class_connector.php	2010-11-08 07:48:25 UTC (rev 7097)
+++ trunk/mapbender/http/classes/class_connector.php	2010-11-08 10:11:14 UTC (rev 7098)
@@ -324,7 +324,8 @@
 			new mb_notice("connector.http.postData: ".$this->httpPostData);
 			
 		    $xmlstr = false;
-		    while (!feof($fp)) {
+		    //@TODO remove possibly infinite loop
+			while (!feof($fp)) {
 		    	$content = fgets($fp,4096);
 //		    	if( strpos($content, '<?xml') === 0){
 		    	if( strpos($content, '<') === 0){



More information about the Mapbender_commits mailing list