EldoS | Feel safer!

Software components for data protection, secure storage and transfer

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

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
#11462
Posted: 10/26/2009 05:51:49
by Frank van der Loos (Basic support level)
Joined: 10/26/2009
Posts: 3

Hi,

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)

Frank


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

Moved to HelpDesk for investigation.


Sincerely yours
Eugene Mayevski
#11485
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:

Code
  if Size = 0 then
    Exit;

Reply

Statistics

Topic viewed 1096 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!