diff --git a/lib/content_encoding.c b/lib/content_encoding.c index 22f3aa9..6417641 100644 --- a/lib/content_encoding.c +++ b/lib/content_encoding.c @@ -36,7 +36,7 @@ #include "memdebug.h" -#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