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/test/Ice/background/PluginI.cpp | |
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/test/Ice/background/PluginI.cpp')
-rw-r--r-- | cpp/test/Ice/background/PluginI.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cpp/test/Ice/background/PluginI.cpp b/cpp/test/Ice/background/PluginI.cpp index 71186b34970..e18ab8a434e 100644 --- a/cpp/test/Ice/background/PluginI.cpp +++ b/cpp/test/Ice/background/PluginI.cpp @@ -65,6 +65,22 @@ TestPluginI::initialize() facade->addEndpointFactory(new EndpointFactory(factory)); } } + for(Ice::Short s = 1000; s < 1010; ++s) + { + IceInternal::EndpointFactoryPtr factory = facade->getEndpointFactory(s); + if(factory) + { + facade->addEndpointFactory(new EndpointFactory(factory)); + } + } + for(Ice::Short s = 10000; s < 10010; ++s) + { + IceInternal::EndpointFactoryPtr factory = facade->getEndpointFactory(s); + if(factory) + { + facade->addEndpointFactory(new EndpointFactory(factory)); + } + } } void |