EldoS | Feel safer!

Software components for data protection, secure storage and transfer

http://www.stunnel.org/ (IRC + SSL + CONNECTION CLOSED )

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
Posted: 10/26/2009 05:51:49
by Frank van der Loos (Basic support level)
Joined: 10/26/2009
Posts: 3


I downloaded the latest version of SSLbox. Now i try to connect to an IRC server with SSL. They often use STUNNEL (www.stunnel.org). The problem is that i cannot connect to the SSL port with indy.

When i use SimpleSSLClient it works fine (e.g. there is a connect and read)

When i user INDY and ElIndySSLIOHandlerSocket it gives CONNECTION LOST GRACEFULLY.

Any ideas ?

Project is attached (D&, indy9)


[ Download ]
Posted: 10/27/2009 02:11:40
by Eugene Mayevski (EldoS Corp.)

Moved to HelpDesk for investigation.

Sincerely yours
Eugene Mayevski
Posted: 10/27/2009 04:47:23
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

This problem is caused by zero-length application data packet, sent from SSL server. To fix such problem, you should open SBIndyIOHandler.pas, and add the following at the beginning of the procedure TElIndySSLIOHandlerSocket.OnSecureClientData:

  if Size = 0 then



Topic viewed 1087 times

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


Back to top

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

Got it!