From 8d2a562af1a493943c4338988578b2b7b3a3bdca Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Thu, 15 Jan 2015 21:00:32 +0100 Subject: [PATCH] increased MIN_NO_COMPRESS_LIMIT --- doc/sample.config | 2 +- src/ocserv-args.def | 2 +- src/vpn.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/sample.config b/doc/sample.config index 64b5d3ef..2366dc94 100644 --- a/doc/sample.config +++ b/doc/sample.config @@ -144,7 +144,7 @@ server-key = ../tests/server-key.pem # Set the minimum size under which a packet will not be compressed. # That is to allow low-latency for VoIP packets. The default size -# is 64 bytes. Modify it if the clients typically use compression +# is 256 bytes. Modify it if the clients typically use compression # as well of VoIP with codecs that exceed the default value. #no-compress-limit = 256 diff --git a/src/ocserv-args.def b/src/ocserv-args.def index 4a456534..09174de5 100644 --- a/src/ocserv-args.def +++ b/src/ocserv-args.def @@ -231,7 +231,7 @@ server-key = /path/to/key.pem # Set the minimum size under which a packet will not be compressed. # That is to allow low-latency for VoIP packets. The default size -# is 64 bytes. Modify it if the clients typically use compression +# is 256 bytes. Modify it if the clients typically use compression # as well of VoIP with codecs that exceed the default value. #no-compress-limit = 256 diff --git a/src/vpn.h b/src/vpn.h index e722a724..7c83f713 100644 --- a/src/vpn.h +++ b/src/vpn.h @@ -56,7 +56,7 @@ typedef enum { OC_COMP_LZS, } comp_type_t; -#define MIN_NO_COMPRESS_LIMIT 64 +#define MIN_NO_COMPRESS_LIMIT 256 #define DEBUG_BASIC 1 #define DEBUG_HTTP 2