Topic: Compression method 221 vs 1

Hi all,


I had a look at the source code of wolfSSL and I've found out that the compression method used by wolfSSL has number 221. Why 221 instead of 1?


Cheers,
Giancarlo

Share

Re: Compression method 221 vs 1

Hi Giancarlo,

WolfSSL embedded SSL only compresses at the application data level.  We implemented support for compression before a standard was finalized.  As such, we chose a non-standard number for ZLIB_COMPRESSION.  The specific number of 221 just being personal preference of the programmer.

Best Regards,
Chris