EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Unable to set CompressionAlgorithm on SSL socket

Posted: 06/08/2008 21:26:00
by Bart Joy (Standard support level)
Joined: 06/08/2008
Posts: 3

I have successfully created an application using ElClientSSLSocket and ElServerSSLSocket which can send and receive messages.

The CurrentVersion property indicates that my client is connected using TLS 1.2 (16).

I am unable to figure out how to set the CompressionAlgorithm property. After executing the following line while configuring my client and server sockets (before connection), the property value is still zero.

sslClient.CompressionAlgorithm = SBSSLConstants.__Global.SSL_CA_ZLIB;

Where / how can I configure zlib compression on my socket?

Thanks for your time.
Posted: 06/08/2008 23:39:25
by Eugene Mayevski (Team)

You are using the wrong property.

You must call

set_CompressionAlgorithms(SBSSLConstants.Unit.S­SL_CA_ZLIB, true)

Sincerely yours
Eugene Mayevski
Posted: 06/09/2008 15:51:23
by Bart Joy (Standard support level)
Joined: 06/08/2008
Posts: 3

I called set_CompressionAlgorithms­ on the client, listening, and accepted sockets, but CompressionAlgorithm is still zero after connecting. What else do I need to do?
Posted: 06/09/2008 23:47:52
by Eugene Mayevski (Team)

Moved to HelpDesk for investigation.

Sincerely yours
Eugene Mayevski



Topic viewed 1744 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!