04-28-2021, 12:25 PM
Hello, I thing you mean this
So, I have long time tested the changed with “SourceIsAvailable()”, and it works!
Than I have tested the Accept method to check is fSSLSocket = NIL. Without the new changes.
But on the moment how the mistake occurs, fSSLSocket was created. In the moment, I wand live with the workaround.
Thanks for your help.
Code:
function TIdSSLIOHandlerSocketOpenSSL.SourceIsAvailable: Boolean;
begin
Result:= (fPassThrough or (fSSLSocket <> nil)) and inherited SourceIsAvailable;
end;
So, I have long time tested the changed with “SourceIsAvailable()”, and it works!
Than I have tested the Accept method to check is fSSLSocket = NIL. Without the new changes.
But on the moment how the mistake occurs, fSSLSocket was created. In the moment, I wand live with the workaround.
Thanks for your help.