From: manikandan dot r at greynium dot com Operating system: PHP version: 5.1.4 PHP Bug Type: cURL related Bug description: Curl error : 'Empty reply from server'
Description: ------------ When i am accessing the remote url through CURL, got the following error: 'Empty reply from server' How to resolve it? Thanks in advance -- Mani Reproduce code: --------------- /* crawling starts here */ $ch = curl_init($url); curl_setopt ($ch, CURLOPT_FILE, $fp); curl_setopt ($ch, CURLOPT_FAILONERROR, true); curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1); /* if crawling fails, mail will be sent */ if(!curl_exec($ch)) { Expected result: ---------------- Expected to get the content of the remote url Actual result: -------------- 'Empty reply from server' -- Edit bug report at http://bugs.php.net/?id=38340&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38340&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38340&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38340&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38340&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38340&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38340&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38340&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38340&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38340&r=support Expected behavior: http://bugs.php.net/fix.php?id=38340&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38340&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38340&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38340&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38340&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38340&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38340&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38340&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38340&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38340&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38340&r=mysqlcfg