🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #123

Re: Indy and SSL

#123
From: Remy Lebeau (TeamB)
Date: Wed, 28 May 2008 18:54
38 lines
2016 bytes
"Oleg Tiktinski" <oleg@sequoiars.com> wrote in message 
news:483cc31b$1@newsgroups.borland.com...

> I am using Indy tcp client with SSL

Which version of Indy are you using?

> I did some research and find out that on first use
> Indy call LoadSSLLibrary function

There is no LoadSSLLibrary() function in Indy.  There is a Load() function 
in the IdSSLOpenSSLHeaders unit, though.

> which do tons of work and slow things down.

Indy dynamically loads each WinSock DLL function on an as-needed basis.  I 
do not know why Indy never did the same thing with the SSL functions.  Most 
likely to make sure that they are all available before allowing any SSL code 
to run.

> Did anyone else had this issue ? Any workaround ?

There is no workaround without re-writing how Indy loads the SSL functions 
internally.

> Problem is that I can't call this function directly

Yes, you can.  The IdSSLOpenSSLHeaders.Load() function is publically 
accessible.

> I have to make FAKE SSL connection in order for Indy to call 
> LoadSSLLibrary.

No, you don't.


Gambit 
Technical Details
Message-ID: <483daa9d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <483cc31b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a02f5e13cae23a18
X-Google-Attributes: gid11508e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <483cc31b$1@newsgroups.borland.com>
Subject: Re: Indy and SSL
Date: Wed, 28 May 2008 11:54:12 -0700
Lines: 40
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 207.178.157.90
Message-ID: <483daa9d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1212000925 207.178.157.90 (28 May 2008 11:55:25 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail