Software /
code /
prosody
Changeset
1677:f0961ce9830c
Forgot to use the configured compression_level. Now it's used.
author | Tobias Markmann <tm@ayena.de> |
---|---|
date | Thu, 13 Aug 2009 12:05:33 +0200 |
parents | 1676:719350956714 |
children | 1678:79eb903d0e67 |
files | plugins/mod_compression.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_compression.lua Thu Aug 13 11:56:22 2009 +0200 +++ b/plugins/mod_compression.lua Thu Aug 13 12:05:33 2009 +0200 @@ -45,7 +45,7 @@ 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