ID: 24725 User updated by: Julian_bond at voidstar dot com Reported By: Julian_bond at voidstar dot com Status: Assigned Bug Type: cURL related Operating System: Redhat 7.3 and MS Win PHP Version: 4.3.2 Assigned To: edink New Comment:
php4-STABLE-200307220930 To confirm. The bug fix worked and HTTP_ACCEPT_ENCODING is now generated. On Unix with zlib bound into curl, it's correctly requesting gzip, deflate and decoding the result. On Windows with php_curl, it's generating "identity" as the only supported compression. Almost certainly because php_curl.dll doesn't yet bind zlib. Thanks guys. Almost there. Previous Comments: ------------------------------------------------------------------------ [2003-07-20 10:54:37] Julian_bond at voidstar dot com Got there eventually. I can confirm that the snapshot still has the same problem on *nix redhat/7.3 php/4.3.3RC2-dev libcurl/7.10.5 OpenSSL/0.9.6b zlib/1.1.4 php4-STABLE-200307201330 >From the comments below, it sounds like the bug has been found. Happy to test it once it's in the snapshot. ------------------------------------------------------------------------ [2003-07-20 10:22:54] [EMAIL PROTECTED] There was a small bug in the php curl, but it's fixed now. Now the encoding works as long as libcurl is linked with zlib. (Edin, is the libcurl used by win32 stuff linked with it??) ------------------------------------------------------------------------ [2003-07-20 08:42:16] [EMAIL PROTECTED] Just a build issue with curl libs. (Edin, can you add zlib in the curl stuff?) ------------------------------------------------------------------------ [2003-07-20 08:38:41] [EMAIL PROTECTED] DO NOT use 'Add Comment' when you edit your own report!!! (use this url: http://bugs.php.net/bug.php?id=24725&edit=2) ------------------------------------------------------------------------ [2003-07-20 08:26:50] julian_bond at voidstar dot com Installed MS Win release. phpinfo() reports php/4.3.3RC2-dev, libcurl/7.10.5 OpenSSL/0.9.7b No change. Curl is still not generating the header. php-curl still does not appear to support zlib. Currently creating a test environment where I can test php under Redhat as I found the problem on a production server. Might take a little while. Will report back. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/24725 -- Edit this bug report at http://bugs.php.net/?id=24725&edit=1