[sr-dev] git:master: gzcompress: default encoding header value set to deflate

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 23 19:01:52 CEST 2013


Module: sip-router
Branch: master
Commit: d1263e418b7acbcc6ac798e25fc8bbcd8483fcec
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d1263e418b7acbcc6ac798e25fc8bbcd8483fcec

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Sep 23 18:49:06 2013 +0200

gzcompress: default encoding header value set to deflate

- it is what UA use for this zlib compression algorithm

---

 modules/gzcompress/gzcompress_mod.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gzcompress/gzcompress_mod.c b/modules/gzcompress/gzcompress_mod.c
index a681aa8..7927e03 100644
--- a/modules/gzcompress/gzcompress_mod.c
+++ b/modules/gzcompress/gzcompress_mod.c
@@ -63,7 +63,7 @@ int gzc_msg_sent(void *data);
 
 /** module parameters */
 static str _gzc_hdr_name = str_init("Content-Encoding");
-static str _gzc_hdr_value = str_init("gzip");
+static str _gzc_hdr_value = str_init("deflate");
 
 static int _gzc_sanity_checks = 0;
 static sanity_api_t scb = {0};




More information about the sr-dev mailing list