fixed server_ name

This commit is contained in:
The-EDev 2021-12-08 19:57:10 +03:00
parent 13768371a9
commit 14acb50030
No known key found for this signature in database
GPG Key ID: 51C45DC0C413DCD9

View File

@ -280,10 +280,10 @@ namespace crow
{
ssl_server_ = std::move(std::unique_ptr<ssl_server_t>(new ssl_server_t(this, bindaddr_, port_, server_name_, &middlewares_, concurrency_, timeout_, &ssl_context_)));
ssl_server_->set_tick_function(tick_interval_, tick_function_);
server_->signal_clear();
ssl_server_->signal_clear();
for (auto snum : signals_)
{
server_->signal_add(snum);
ssl_server_->signal_add(snum);
}
notify_server_start();
ssl_server_->run();