Jump to content

Recommended Posts

Hello
I don't know, why finalization code from OverbyteIcsLIBEAY unit called earlier than TSslBaseComponent.FinalizeSsl and where are many exceptions occur in FinalizeSsl when my windows service stops ?
What could be the reasons for this case?
ICS 8.70, Delphi Tokyo

Share this post


Link to post

Can you reproduce this problem in any of the ICS sample applications?  Never seen it before. 

 

Generally, ICS handles loading and unloading OpenSSL itself, some application use LoadSsl to load it early to check for errors or version, but it's not necessary.

 

Angus

Share this post


Link to post

Are you sure all communications are done when you stop your service? Remember ICS component are asynchronous and work in the background.

 

Share this post


Link to post

I think not all communications can be completed when the server stops.
In this case these communications should be terminated and the service should be stopped without exceptions

The last error is Runtime error 216

Share this post


Link to post
31 minutes ago, Mark Lobanov said:

I think not all communications can be completed when the server stops.
In this case these communications should be terminated and the service should be stopped without exceptions

The last error is Runtime error 216

You have to manage that yourself. Abort all communications when you detect the stop request and handle any error/exception before existing.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×