Two days ago I've started receiving the above error message when trying to get data via curl from my web tool.
The date I'm trying to access is ~850kb XML but it stops the transfer at ~800kb, varying between attempts. I've never had this problem before and the code was running fine for months.
The code runs perfectly fine on my localhost! Has something changed recently in altervista? Why is this happening?
Here's my curl code:
Code:$ch = curl_init(); if(!empty($post)) { curl_setopt($ch, CURLOPT_POST ,1); curl_setopt ($ch, CURLOPT_POSTFIELDS, $post); } curl_setopt($ch, CURLOPT_URL, $url); if (ini_get('open_basedir') == '' && ini_get('safe_mode' == 'Off')) curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60); curl_setopt($ch, CURLOPT_TIMEOUT, 60); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); if (strpos ($url, "AssetList.xml") !== false) { $fp = fopen('../transfer.log', 'w'); curl_setopt($ch, CURLOPT_VERBOSE, TRUE); curl_setopt($ch, CURLOPT_STDERR, $fp); } $data = curl_exec($ch); curl_close($ch);

 LinkBack URL
 LinkBack URL About LinkBacks
 About LinkBacks transfer closed with outstanding read data remaining
 transfer closed with outstanding read data remaining
		 
				
				
				
				
			 
					
					 Originally Posted by evetools
 Originally Posted by evetools
					
 
						
					