(tls servers) Make it clear that apple ssl and mbedtls backends do not support SSL in server mode
This commit is contained in:
parent
ba3b1c1a0f
commit
237ede56aa
@ -1,6 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
All notable changes to this project will be documented in this file.
|
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
|
## [7.5.5] - 2019-12-17
|
||||||
|
|
||||||
(tls options client) TLSOptions struct _validated member should be initialized to false
|
(tls options client) TLSOptions struct _validated member should be initialized to false
|
||||||
|
@ -148,6 +148,12 @@ namespace ix
|
|||||||
SocketAppleSSL::close();
|
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
|
// No wait support
|
||||||
bool SocketAppleSSL::connect(const std::string& host,
|
bool SocketAppleSSL::connect(const std::string& host,
|
||||||
int port,
|
int port,
|
||||||
|
@ -21,6 +21,8 @@ namespace ix
|
|||||||
SocketAppleSSL(const SocketTLSOptions& tlsOptions, int fd = -1);
|
SocketAppleSSL(const SocketTLSOptions& tlsOptions, int fd = -1);
|
||||||
~SocketAppleSSL();
|
~SocketAppleSSL();
|
||||||
|
|
||||||
|
virtual bool accept(std::string& errMsg) final;
|
||||||
|
|
||||||
virtual bool connect(const std::string& host,
|
virtual bool connect(const std::string& host,
|
||||||
int port,
|
int port,
|
||||||
std::string& errMsg,
|
std::string& errMsg,
|
||||||
|
@ -105,6 +105,12 @@ namespace ix
|
|||||||
return true;
|
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,
|
bool SocketMbedTLS::connect(const std::string& host,
|
||||||
int port,
|
int port,
|
||||||
std::string& errMsg,
|
std::string& errMsg,
|
||||||
|
@ -26,6 +26,8 @@ namespace ix
|
|||||||
SocketMbedTLS(const SocketTLSOptions& tlsOptions, int fd = -1);
|
SocketMbedTLS(const SocketTLSOptions& tlsOptions, int fd = -1);
|
||||||
~SocketMbedTLS();
|
~SocketMbedTLS();
|
||||||
|
|
||||||
|
virtual bool accept(std::string& errMsg) final;
|
||||||
|
|
||||||
virtual bool connect(const std::string& host,
|
virtual bool connect(const std::string& host,
|
||||||
int port,
|
int port,
|
||||||
std::string& errMsg,
|
std::string& errMsg,
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define IX_WEBSOCKET_VERSION "7.5.5"
|
#define IX_WEBSOCKET_VERSION "7.5.6"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user