mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 06:37:37 +03:00
Merge 0.7->trunk
This commit is contained in:
commit
061df0df37
3 changed files with 0 additions and 2 deletions
|
@ -96,7 +96,6 @@ end
|
|||
-- setup compression for a stream
|
||||
local function setup_compression(session, deflate_stream)
|
||||
add_filter(session, "bytes/out", function(t)
|
||||
session.log(t)
|
||||
local status, compressed, eof = pcall(deflate_stream, tostring(t), 'sync');
|
||||
if status == false then
|
||||
session:close({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue