ID: 24725 Updated by: [EMAIL PROTECTED] Reported By: Julian_bond at voidstar dot com -Status: Open +Status: Closed Bug Type: cURL related Operating System: Redhat 7.3 and MS Win PHP Version: 4.3.2 Assigned To: edink New Comment:
Fixed -> closed. Previous Comments: ------------------------------------------------------------------------ [2003-07-22 09:08:54] Julian_bond at voidstar dot com Success! It now works in MS win as well. And phpinfo() reports libcurl/7.10.5 OpenSSL/0.9.7b zlib/1.1.4 Many thanks. ------------------------------------------------------------------------ [2003-07-22 07:29:55] [EMAIL PROTECTED] Could you please try: ftp://ftp.proventum.net/misc/php_curl.dll instead of the originial extension/php_curl.dll? ------------------------------------------------------------------------ [2003-07-22 05:45:29] Julian_bond at voidstar dot com 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. ------------------------------------------------------------------------ [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??) ------------------------------------------------------------------------ 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