blob: e9d7f880ae2988b4c2cc68ff641320963916f053 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/lib/content_encoding.c b/lib/content_encoding.c
index fd27f30..7be16b0 100644
--- a/lib/content_encoding.c
+++ b/lib/content_encoding.c
@@ -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
|