I wrote a SOCKET server using OpenSSL 0.9.8g. Supposedly it looks for some sort of header during negotiation to determine whether or not to compress the data. Its done by default if the appropriate message is sent from the client. My client will (probably) be IO::Socket::SSL. Im going to be using this server to pass many Gb of data over the wire and would like to see if compressing the data would save bandwidth.
Is there a way to tell IO::Socket::SSL to indicate to the server that it should use compression? I gather that ZLib is built into OpenSSL by default now. Is there a way to use IO::ZLib to communicate with my SOCKET handle?