diff --git a/include/crow/app.h b/include/crow/app.h index c85ac26ba..d9c87ab74 100644 --- a/include/crow/app.h +++ b/include/crow/app.h @@ -280,10 +280,10 @@ namespace crow { ssl_server_ = std::move(std::unique_ptr(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();