EldoS | Feel safer!

Software components for data protection, secure storage and transfer

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

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 (Team)

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: 442

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 1217 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!