Closed sjaeckel closed 8 months ago
This adds support for XEP-0138 stream compression.
Support for XEP-0138 is enabled by default if zlib can be found on the build-system.
New compile time option: --disable-zlib New run time options/flags: XMPP_CONN_FLAG_ENABLE_COMPRESSION and XMPP_CONN_FLAG_COMPRESSION_DONT_RESET
--disable-zlib
XMPP_CONN_FLAG_ENABLE_COMPRESSION
XMPP_CONN_FLAG_COMPRESSION_DONT_RESET
The feature is disabled by default, since it is deemed insecure. In a closed/controlled scenario (e.g. some M2M applications) it can still be useful.
This adds support for XEP-0138 stream compression.
Support for XEP-0138 is enabled by default if zlib can be found on the build-system.
New compile time option:
--disable-zlib
New run time options/flags:XMPP_CONN_FLAG_ENABLE_COMPRESSION
andXMPP_CONN_FLAG_COMPRESSION_DONT_RESET
The feature is disabled by default, since it is deemed insecure. In a closed/controlled scenario (e.g. some M2M applications) it can still be useful.