Delphi icon indicating copy to clipboard operation
Delphi copied to clipboard

Server IOHandler?

Open jdredd87 opened this issue 2 years ago • 3 comments

Is there A chance a server IOHandler for SChannel to become available?

I have HTTP servers and Delphi REST severs which use Indy.

And I need to get rid of OpenSSL ( long story )

jdredd87 avatar Jan 13 '24 06:01 jdredd87

Hi,

not at the moment; I tried once to make such a component, but failed on the Indy part and gave up, sorry :)

tothpaul avatar Jan 13 '24 16:01 tothpaul

Sad to hear. As it would be nice to remove the openSSL dependency and sounds like I am SOL for now.

jdredd87 avatar Jan 14 '24 01:01 jdredd87

but failed on the Indy part

Can you be more specific? Was it a due to a problem with how Indy handles an SSLIOHandler server-side, or was it due to a limitation of the SChannel API? Since AcquireCredentialsHandle() has an SECPKG_CRED_INBOUND flag, I would think this should be pretty easy to implement since you already have SECPKG_CRED_OUTBOUND working.

Speaking of SECPKG_CRED_INBOUND, I just realized that without support for this flag, this SChannel SSLIOHandler not only can't handle Indy servers, but also can't handle the FTP client in Active mode either, only in Passive mode.

rlebeau avatar Jan 14 '24 02:01 rlebeau