Index: lib/content_encoding.c =================================================================== RCS file: /cvsroot/curl/curl/lib/content_encoding.c,v retrieving revision 1.35 diff -u -p -r1.35 content_encoding.c --- lib/content_encoding.c 22 Jan 2010 23:21:39 -0000 1.35 +++ lib/content_encoding.c 9 Feb 2010 08:53:40 -0000 @@ -40,7 +40,7 @@ (doing so will reduce code size slightly). */ #define OLD_ZLIB_SUPPORT 1 -#define DSIZ 0x10000 /* buffer size for decompressed data */ +#define DSIZ CURL_MAX_WRITE_SIZE /* buffer size for decompressed data */ #define GZIP_MAGIC_0 0x1f #define GZIP_MAGIC_1 0x8b