diff options
author | Benoit Foucher <benoit@zeroc.com> | 2019-01-28 17:32:46 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2019-01-28 17:43:31 +0100 |
commit | dbd205f95d185c3f5c8096bc0ae4f4b93c30dfc9 (patch) | |
tree | dc54ea7e9e2fd221e60061e4d2fcde183b8b4b35 /cpp/src/IceSSL/OpenSSLTransceiverI.h | |
parent | Support icessl openssl with Visual Studio 2017 (diff) | |
download | ice-dbd205f95d185c3f5c8096bc0ae4f4b93c30dfc9.tar.bz2 ice-dbd205f95d185c3f5c8096bc0ae4f4b93c30dfc9.tar.xz ice-dbd205f95d185c3f5c8096bc0ae4f4b93c30dfc9.zip |
Better SSL support for underlying transports that don't provide a socket file descriptor
Diffstat (limited to 'cpp/src/IceSSL/OpenSSLTransceiverI.h')
-rw-r--r-- | cpp/src/IceSSL/OpenSSLTransceiverI.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cpp/src/IceSSL/OpenSSLTransceiverI.h b/cpp/src/IceSSL/OpenSSLTransceiverI.h index 94ad07f802a..62afc012367 100644 --- a/cpp/src/IceSSL/OpenSSLTransceiverI.h +++ b/cpp/src/IceSSL/OpenSSLTransceiverI.h @@ -56,10 +56,8 @@ private: TransceiverI(const InstancePtr&, const IceInternal::TransceiverPtr&, const std::string&, bool); virtual ~TransceiverI(); -#ifdef ICE_USE_IOCP bool receive(); bool send(); -#endif friend class IceSSL::OpenSSL::SSLEngine; @@ -75,14 +73,12 @@ private: bool _verified; SSL* _ssl; -#ifdef ICE_USE_IOCP - BIO* _iocpBio; + BIO* _memBio; IceInternal::Buffer _writeBuffer; IceInternal::Buffer _readBuffer; int _sentBytes; size_t _maxSendPacketSize; size_t _maxRecvPacketSize; -#endif }; typedef IceUtil::Handle<TransceiverI> TransceiverIPtr; |