diff options
author | Jose <jose@zeroc.com> | 2016-10-03 09:58:13 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2016-10-03 09:58:13 +0200 |
commit | 33e4a7fd2da7263e676351b133b94719c71a26e4 (patch) | |
tree | fd1ba6a6607a5df30eed9c18ef287631fbb6e806 /cpp/src | |
parent | ICE-7398 - Browser Ice/throughput hang (diff) | |
download | ice-33e4a7fd2da7263e676351b133b94719c71a26e4.tar.bz2 ice-33e4a7fd2da7263e676351b133b94719c71a26e4.tar.xz ice-33e4a7fd2da7263e676351b133b94719c71a26e4.zip |
Fixed (ICE-7405) - Can't run UWP demos with SSL
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/winrt/StreamEndpointI.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/Ice/winrt/StreamEndpointI.cpp b/cpp/src/Ice/winrt/StreamEndpointI.cpp index 1aae6f4859d..aff7ac35972 100644 --- a/cpp/src/Ice/winrt/StreamEndpointI.cpp +++ b/cpp/src/Ice/winrt/StreamEndpointI.cpp @@ -178,6 +178,14 @@ IceInternal::StreamEndpointI::transceiver() const AcceptorPtr IceInternal::StreamEndpointI::acceptor(const string&) const { + if(secure()) + { + Ice::FeatureNotSupportedException ex(__FILE__, __LINE__); + ostringstream os; + os << "SSL server endpoints are not supported with UWP applications"; + ex.unsupportedFeature = os.str(); + throw ex; + } return new StreamAcceptor(const_cast<StreamEndpointI*>(this), _instance, _host, _port); } |