mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 08:31:43 +02:00
added support for TLSv1.1 and TLSv1.2 to Context
This commit is contained in:
@@ -163,7 +163,7 @@ public:
|
||||
app.logger().information(it->first + ": " + it->second);
|
||||
}
|
||||
|
||||
if (request.getURI() == "/ws")
|
||||
if(request.find("Upgrade") != request.end() && request["Upgrade"] == "websocket")
|
||||
return new WebSocketRequestHandler;
|
||||
else
|
||||
return new PageRequestHandler;
|
||||
|
@@ -340,7 +340,7 @@ void Context::createSSLContext()
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
throw Poco::InvalidArgumentException("Invalid usage");
|
||||
throw Poco::InvalidArgumentException("Invalid or unsupported usage");
|
||||
}
|
||||
}
|
||||
if (!_pSSLContext)
|
||||
|
Reference in New Issue
Block a user