Forgot to use the configured compression_level. Now it's used.

This commit is contained in:
Tobias Markmann 2009-08-13 12:05:33 +02:00
parent 07f9296e47
commit e3c4ddef05

View file

@ -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