From 744f35e7eae90a6469023d3f8b231d6292b3a204 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 14 Sep 2012 21:43:41 +0900 Subject: [PATCH] Disable header compression for now --- lib/spdylay_zlib.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/spdylay_zlib.c b/lib/spdylay_zlib.c index 1b8b1c32..4789de1f 100644 --- a/lib/spdylay_zlib.c +++ b/lib/spdylay_zlib.c @@ -26,7 +26,13 @@ #include -#define COMPRESSION_LEVEL 9 +/* By default header compression is disabled */ +#undef ENABLE_HD_COMP +#ifdef ENABLE_HD_COMP +# define COMPRESSION_LEVEL 9 +#else /* !ENABLE_HD_COMP */ +# define COMPRESSION_LEVEL 0 +#endif /* !ENABLE_HD_COMP */ #define WINDOW_BITS 11 #define MEM_LEVEL 1