#21995 [Opn->Csd]: Lacks support for CURLOPT_ENCODING - working patch included!!
| From: | sniper@php.net | Date: | Wed, 02 Apr 2003 11:43:32 +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-36961@lists.php.net to get a copy of this message | ||
ID: 21995
Updated by: sniper@php.net
Reported By: jens at mermaidconsulting dot dk
-Status: Open
+Status: Closed
Bug Type: cURL related
Operating System: Linux
PHP Version: 4.3.2RC1
New Comment:
Done.
Previous Comments:
------------------------------------------------------------------------
[2003-04-01 18:12:04] jens at mermaidconsulting dot dk
I've just tested the release candidate for 4.3.2, and the fix is still
not included there.
Is it possible to have this fix included in 4.3.2?
(perhaps it was committed only to the PHP5 branch?)
------------------------------------------------------------------------
[2003-02-02 14:57:05] iliaa@php.net
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
------------------------------------------------------------------------
[2003-02-01 08:52:32] jens at mermaidconsulting dot 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