summaryrefslogtreecommitdiffstats
path: root/curl-7.15.5-bz563220.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-08-16 14:54:44 +0200
committerRemi Collet <fedora@famillecollet.com>2011-08-16 14:54:44 +0200
commit68c18b79288431ab4e477cc3f59ef4ccfe3e7355 (patch)
treee8ec04eaa888f78e1772bf959ee76461e3252d69 /curl-7.15.5-bz563220.patch
import curl-7.15.5-9.el5_6.3 from EL-5
Diffstat (limited to 'curl-7.15.5-bz563220.patch')
-rw-r--r--curl-7.15.5-bz563220.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/curl-7.15.5-bz563220.patch b/curl-7.15.5-bz563220.patch
new file mode 100644
index 0000000..e9d7f88
--- /dev/null
+++ b/curl-7.15.5-bz563220.patch
@@ -0,0 +1,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