[sr-dev] git:master: gzcompress: removed empty section in functions chapter

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 23 20:06:57 CEST 2013


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

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

gzcompress: removed empty section in functions chapter

- use deflate overall config example

---

 modules/gzcompress/README                   |   10 +---------
 modules/gzcompress/doc/gzcompress_admin.xml |    4 +---
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/modules/gzcompress/README b/modules/gzcompress/README
index f594c0c..bfd9412 100644
--- a/modules/gzcompress/README
+++ b/modules/gzcompress/README
@@ -30,9 +30,6 @@ Daniel-Constantin Mierla
               3.3. sanity_checks (integer)
 
         4. Functions
-
-              4.1.
-
         5. Config File
 
    List of Examples
@@ -59,9 +56,6 @@ Chapter 1. Admin Guide
         3.3. sanity_checks (integer)
 
    4. Functions
-
-        4.1.
-
    5. Config File
 
 1. Overview
@@ -163,8 +157,6 @@ modparam("gzcompress", "sanity_checks", 1)
 
 4. Functions
 
-   4.1.
-
    None.
 
 5. Config File
@@ -211,7 +203,7 @@ request_route {
                 remove_hf("Content-Encoding");
                 $du = "sip:127.0.0.1:9";
         } else {
-                append_hf("Content-Encoding: gzip\r\n");
+                append_hf("Content-Encoding: deflate\r\n");
                 $du = "sip:127.0.0.1:5060";
         }
         forward();
diff --git a/modules/gzcompress/doc/gzcompress_admin.xml b/modules/gzcompress/doc/gzcompress_admin.xml
index 5917e7b..ab46622 100644
--- a/modules/gzcompress/doc/gzcompress_admin.xml
+++ b/modules/gzcompress/doc/gzcompress_admin.xml
@@ -156,12 +156,10 @@ modparam("gzcompress", "sanity_checks", 1)
 	</section>
 	<section>
 	<title>Functions</title>
-	<section>
 		<para>
 			None.
 		</para>
 	</section>
-	</section>
 	<section>
 	<title>Config File</title>
 	<para>
@@ -209,7 +207,7 @@ request_route {
 		remove_hf("Content-Encoding");
 		$du = "sip:127.0.0.1:9";
 	} else {
-		append_hf("Content-Encoding: gzip\r\n");
+		append_hf("Content-Encoding: deflate\r\n");
 		$du = "sip:127.0.0.1:5060";
 	}
 	forward();




More information about the sr-dev mailing list