добавил все настройки в веб, сделал cleanup интерфейса

This commit is contained in:
2024-11-13 17:44:42 +03:00
parent 9577ac844d
commit 484a6abe08
4 changed files with 362 additions and 34 deletions

View File

@@ -87,7 +87,11 @@ namespace http::server {
}
void SslConnection::stop() {
stream_.shutdown();
try {
stream_.shutdown();
} catch (std::exception& e) {
BOOST_LOG_TRIVIAL(warning) << "SslConnection::stop(): Can't shutdown ssl socket: " << e.what();
}
}
SslConnection::~SslConnection() = default;