Fixed TSSLOpenSSL.RecvBuffer condition on connection close.
git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@114 7c85be65-684b-0410-a082-b2ed4fbef004
This commit is contained in:
parent
e536e080ee
commit
5897e87cf7
@ -1,5 +1,5 @@
|
||||
{==============================================================================|
|
||||
| Project : Ararat Synapse | 001.001.000 |
|
||||
| Project : Ararat Synapse | 001.001.001 |
|
||||
|==============================================================================|
|
||||
| Content: SSL support by OpenSSL |
|
||||
|==============================================================================|
|
||||
@ -615,10 +615,9 @@ begin
|
||||
err := SslGetError(FSsl, Result);
|
||||
until (err <> SSL_ERROR_WANT_READ) and (err <> SSL_ERROR_WANT_WRITE);
|
||||
if err = SSL_ERROR_ZERO_RETURN then
|
||||
Result := 0
|
||||
else
|
||||
if (err <> 0) then
|
||||
FLastError := err;
|
||||
Result := 0;
|
||||
if (err <> 0) then
|
||||
FLastError := err;
|
||||
end;
|
||||
|
||||
function TSSLOpenSSL.WaitingData: Integer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user