(tls servers) Make it clear that apple ssl and mbedtls backends do not support SSL in server mode

This commit is contained in:
Benjamin Sergeant 2019-12-18 10:43:05 -08:00
parent ba3b1c1a0f
commit 237ede56aa
6 changed files with 21 additions and 1 deletions

View File

@ -1,6 +1,10 @@
# Changelog
All notable changes to this project will be documented in this file.
## [7.5.6] - 2019-12-18
(tls servers) Make it clear that apple ssl and mbedtls backends do not support SSL in server mode
## [7.5.5] - 2019-12-17
(tls options client) TLSOptions struct _validated member should be initialized to false

View File

@ -148,6 +148,12 @@ namespace ix
SocketAppleSSL::close();
}
bool SocketAppleSSL::accept(std::string& errMsg)
{
errMsg = "TLS not supported yet in server mode with apple ssl backend";
return false;
}
// No wait support
bool SocketAppleSSL::connect(const std::string& host,
int port,

View File

@ -21,6 +21,8 @@ namespace ix
SocketAppleSSL(const SocketTLSOptions& tlsOptions, int fd = -1);
~SocketAppleSSL();
virtual bool accept(std::string& errMsg) final;
virtual bool connect(const std::string& host,
int port,
std::string& errMsg,

View File

@ -105,6 +105,12 @@ namespace ix
return true;
}
bool SocketMbedTLS::accept(std::string& errMsg)
{
errMsg = "TLS not supported yet in server mode with mbedtls backend";
return false;
}
bool SocketMbedTLS::connect(const std::string& host,
int port,
std::string& errMsg,

View File

@ -26,6 +26,8 @@ namespace ix
SocketMbedTLS(const SocketTLSOptions& tlsOptions, int fd = -1);
~SocketMbedTLS();
virtual bool accept(std::string& errMsg) final;
virtual bool connect(const std::string& host,
int port,
std::string& errMsg,

View File

@ -6,4 +6,4 @@
#pragma once
#define IX_WEBSOCKET_VERSION "7.5.5"
#define IX_WEBSOCKET_VERSION "7.5.6"