Skip to content

Disable Pre-authentication Compression

Merge Request: Disable Pre-Authentication Compression Support

Issue

Referencing issue #169 (closed) , this merge request removes the support for the Pre-Auth Compression.

Commits

  • Removed zlib (which is the general purpose compression library responsible for preauth compression) from the supported methods.
  • Updated unit tests to remove the zlib algorithm.
  • Removed zlib from the wanted algorithms list.
  • Refactored the compression_enable wrapper function to remove the code handling the non-delayed compression algorithm, which compresses packets pre-auth. Since we will no longer support this type of compression, the delayed compression will be the only supported compression type.
  • Updated tests

Testing

Unit tests have been updated to remove the zlib algorithm. The changes have been tested locally and passed all tests.

Related Issues

None.

Checklist

  • Unit tests
  • Documentation

Merge request reports