瀏覽代碼

gzcompress: readme updated to reflect default encoding value to deflate

Daniel-Constantin Mierla 12 年之前
父節點
當前提交
3c65fd74f2
共有 2 個文件被更改,包括 6 次插入6 次删除
  1. 3 3
      modules/gzcompress/README
  2. 3 3
      modules/gzcompress/doc/gzcompress_admin.xml

+ 3 - 3
modules/gzcompress/README

@@ -93,7 +93,7 @@ Chapter 1. Admin Guide
 
    An use case can be when having peering traffic between two Kamailio
    servers. Before relaying to the other Kamailio, use in config file:
-   append_hf("Content-Encoding: gzip\r\n").
+   append_hf("Content-Encoding: deflate\r\n").
 
 2. Dependencies
 
@@ -134,11 +134,11 @@ modparam("gzcompress", "header_name", "Encoded")
    Name of the header that indicates compression or decompression has to
    be done.
 
-   Default value is "gzip".
+   Default value is "deflate".
 
    Example 1.2. Set header_value parameter
 ...
-modparam("gzcompress", "header_value", "tgz")
+modparam("gzcompress", "header_value", "gzip")
 ...
 
 3.3. sanity_checks (integer)

+ 3 - 3
modules/gzcompress/doc/gzcompress_admin.xml

@@ -54,7 +54,7 @@
 	<para>
 		An use case can be when having peering traffic between two Kamailio
 		servers. Before relaying to the other Kamailio,  use
-		in config file: append_hf("Content-Encoding: gzip\r\n").
+		in config file: append_hf("Content-Encoding: deflate\r\n").
 	</para>
 	</section>
 	<section>
@@ -117,14 +117,14 @@ modparam("gzcompress", "header_name", "Encoded")
 		</para>
 		<para>
 		<emphasis>
-			Default value is "gzip".
+			Default value is "deflate".
 		</emphasis>
 		</para>
 		<example>
 		<title>Set <varname>header_value</varname> parameter</title>
 		<programlisting format="linespecific">
 ...
-modparam("gzcompress", "header_value", "tgz")
+modparam("gzcompress", "header_value", "gzip")
 ...
 </programlisting>
 		</example>