mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2025-11-06 13:56:13 +00:00
Adding timeout for TLS
This commit is contained in:
@@ -51,6 +51,8 @@ namespace uCentral::RESTAPI {
|
||||
|
||||
auto Sock{Svr.CreateSecureSocket(Logger_)};
|
||||
|
||||
Sock.setReceiveTimeout(Poco::Timespan(10,0));
|
||||
|
||||
Svr.LogCert(Logger_);
|
||||
if(!Svr.RootCA().empty())
|
||||
Svr.LogCas(Logger_);
|
||||
|
||||
Reference in New Issue
Block a user