diff options
author | Marc Laukien <marc@zeroc.com> | 2003-12-12 16:43:55 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2003-12-12 16:43:55 +0000 |
commit | be72389924fa605eb2fb3b8eadb3a0fdab96a5f9 (patch) | |
tree | 040fb2314449de17d7069674565432d38fe7b5dc /cpp/src/IceSSL/SslTransceiver.cpp | |
parent | fixes (diff) | |
download | ice-be72389924fa605eb2fb3b8eadb3a0fdab96a5f9.tar.bz2 ice-be72389924fa605eb2fb3b8eadb3a0fdab96a5f9.tar.xz ice-be72389924fa605eb2fb3b8eadb3a0fdab96a5f9.zip |
fixes
Diffstat (limited to 'cpp/src/IceSSL/SslTransceiver.cpp')
-rw-r--r-- | cpp/src/IceSSL/SslTransceiver.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/cpp/src/IceSSL/SslTransceiver.cpp b/cpp/src/IceSSL/SslTransceiver.cpp index c452ad67610..1a3970fbaf0 100644 --- a/cpp/src/IceSSL/SslTransceiver.cpp +++ b/cpp/src/IceSSL/SslTransceiver.cpp @@ -78,8 +78,16 @@ IceSSL::SslTransceiver::close() } assert(_fd != INVALID_SOCKET); - closeSocket(_fd); - _fd = INVALID_SOCKET; + try + { + closeSocket(_fd); + _fd = INVALID_SOCKET; + } + catch(const SocketException& ex) + { + _fd = INVALID_SOCKET; + throw; + } } void |