Software /
code /
prosody
Changeset
1672:614623f393c6
Add FIXME to remember TLS compression detection.
author | Tobias Markmann <tm@ayena.de> |
---|---|
date | Thu, 13 Aug 2009 10:19:33 +0200 |
parents | 1671:d196ac213104 |
children | 1673:5f81cd6d4a92 |
files | plugins/mod_compression.lua |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_compression.lua Thu Aug 13 09:34:27 2009 +0200 +++ b/plugins/mod_compression.lua Thu Aug 13 10:19:33 2009 +0200 @@ -16,7 +16,10 @@ module:add_event_hook("stream-features", function (session, features) - if not session.compressed then features:add_child(compression_stream_feature); end + if not session.compressed then + --FIXME only advertise compression support when TLS layer has no compression enabled + features:add_child(compression_stream_feature); + end end );