#21995 [Opn->Csd]: Lacks support for CURLOPT_ENCODING - working patch included!!
| From: | iliaa@php.net | Date: | Sun, 02 Feb 2003 20:57:05 +0000 |
| Subject: | #21995 [Opn->Csd]: Lacks support for CURLOPT_ENCODING - working patch included!! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31903@lists.php.net to get a copy of this message | ||
ID: 21995
Updated by: iliaa@php.net
Reported By: jens@mermaidconsulting.dk
-Status: Open
+Status: Closed
Bug Type: cURL related
Operating System: Linux
PHP Version: 4.3.0
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
PHP5-dev
Previous Comments:
------------------------------------------------------------------------
[2003-02-01 08:52:32] jens@mermaidconsulting.dk
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 this bug report at http://bugs.php.net/?id=21995&edit=1