* Marcin Giedz ([EMAIL PROTECTED]) wrote:
> Hi,
> 
> I think my rectent mail "disappeard". So I reapeat my question:
> 
> Is it possible to check how does zlib compression work?? - 
> openssl-0.9.7-SNAP20021216 (any values????)

Configure with "zlib" before building openssl (you'll notice a
corresponding -D... flag being used during compilation). If you then use
s_server and/or s_client, you should be able to determine from the
handshake information they spit out whether compression is happening.
The other thing would be to use ssldump to see what the handshake is
agreeing on (or not agreeing on as the case may be), or of course just
plonk some debugging/logging junk into the compression code inside
crypto/comp/ and see if it lights up like a Christmas tree at run-time
(I just had to squeeze a seasonal metaphor in there at some point).

Note, you won't get any compression unless both sides support it.

Cheers,
Geoff

-- 
Geoff Thorpe
[EMAIL PROTECTED]
http://www.openssl.org/

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to