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