Add --tls option to pass to ws server command, to enable/disable tls

This commit is contained in:
Benjamin Sergeant
2019-10-01 13:54:46 -07:00
parent afed387bcf
commit d6542383ed
3 changed files with 10 additions and 1 deletions

View File

@ -270,7 +270,7 @@ namespace ix
// create socket
std::string errorMsg;
bool tls = false;
bool tls = _socketTLSOptions.tls;
auto socket = createSocket(tls, clientFd, errorMsg, _socketTLSOptions);
if (socket == nullptr)