# HG changeset patch # User Matthew Wild # Date 1507726500 -3600 # Node ID d42e9da671fdc91395b5892492d95072b672b47d # Parent 4b7e6c01aa1cc12cfd1343cdf9af1d1410e0ed44 mod_compression_unsafe: Offer compression to c2s_unbound sessions (fixes compat with 0.10, thanks Flow) diff -r 4b7e6c01aa1c -r d42e9da671fd mod_compression_unsafe/mod_compression_unsafe.lua --- a/mod_compression_unsafe/mod_compression_unsafe.lua Wed Oct 11 09:24:55 2017 +0100 +++ b/mod_compression_unsafe/mod_compression_unsafe.lua Wed Oct 11 13:55:00 2017 +0100 @@ -26,7 +26,7 @@ module:hook("stream-features", function(event) local origin, features = event.origin, event.features; - if not origin.compressed and origin.type == "c2s" then + if not origin.compressed and origin.type == "c2s" or origin.type == "c2s_unbound" then features:add_child(compression_stream_feature); end end);