From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.3.0 PHP Bug Type: cURL related Bug description: Lacks support for CURLOPT_ENCODING - working patch included!!
PHP does not recognize the cURL option CURLOPT_ENCODING which can be used to request deflate compression. The following patch upgrades a 4.3.0 ext/curl/curl.c to support it: 194d193 < REGISTER_CURL_CONSTANT(CURLOPT_ENCODING); 741,742c740 < case CURLOPT_SSLENGINE_DEFAULT: < case CURLOPT_ENCODING: { --- > case CURLOPT_SSLENGINE_DEFAULT: { CURLOPT_ENCODING accepts a string parameter. -- Edit bug report at http://bugs.php.net/?id=21995&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21995&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21995&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21995&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21995&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21995&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21995&r=support Expected behavior: http://bugs.php.net/fix.php?id=21995&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21995&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21995&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21995&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21995&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21995&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21995&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21995&r=gnused