Question

I know this question has been asked a number of times. I seem to have a bit of a different problem. In my situation after the exception is thrown initially it works fine (and no; I did not turn off exceptions). So what I have done is on the exception I simply repost:

IdHTTP1.Post(.......

I have put the libeay32.dll and ssleay32.dll both in the Apache bin directory and the directory where my ISAPI dll resides.

Anyone have any suggestions?

Was it helpful?

Solution

For Indy you need a special build of OpenSSL libraries. The default OpenSSL libraries are not suitable for using with Indy.

See also. May be you need to try different versions, until you'll find a suitable one.

OTHER TIPS

That error means that the TIdSSLIOHandlerSocketOpenSSL.PassThrough property is being set to False (which would happen when posting to an HTTPS URL) before TIdSSLIOHandlerSocketOpenSSL.Init() has been called to intialize the SSL context first.

Sounds like a bug. Next time you get the error, can you grab the stack trace?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top