#21995 [NEW]: Lacks support for CURLOPT_ENCODING - working patch included!!
| From: | jens at mermaidconsulting dot dk | Date: | Sat, 01 Feb 2003 14:52:32 +0000 |
| Subject: | #21995 [NEW]: Lacks support for CURLOPT_ENCODING - working patch included!! | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-31835@lists.php.net to get a copy of this message | ||
From: jens@mermaidconsulting.dk
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