mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 22:27:38 +03:00
Forgot to use the configured compression_level. Now it's used.
This commit is contained in:
parent
07f9296e47
commit
e3c4ddef05
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ module:add_handler("c2s_unauthed", "compress", xmlns_compression_protocol,
|
|||
session:reset_stream();
|
||||
|
||||
-- create deflate and inflate streams
|
||||
local deflate_stream = zlib.deflate(9);
|
||||
local deflate_stream = zlib.deflate(compression_level);
|
||||
local inflate_stream = zlib.inflate();
|
||||
|
||||
-- setup compression for session.w
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue