|
|
@@ -2645,9 +2645,9 @@ bool WebPanelServer::start() {
|
|
|
void WebPanelServer::stop() {
|
|
|
stopRedirectServer();
|
|
|
if (_server != nullptr) {
|
|
|
- WEB_PANEL_LOG("server stopped");
|
|
|
httpd_ssl_stop(_server);
|
|
|
_server = nullptr;
|
|
|
+ WEB_PANEL_LOG("server stopped");
|
|
|
}
|
|
|
_token[0] = 0;
|
|
|
_last_activity_ms = 0;
|
|
|
@@ -2663,9 +2663,9 @@ bool WebPanelServer::hasSessionToken() const {
|
|
|
|
|
|
void WebPanelServer::stopRedirectServer() {
|
|
|
if (_redirect_server != nullptr) {
|
|
|
- WEB_PANEL_LOG("redirect server stopped");
|
|
|
httpd_stop(_redirect_server);
|
|
|
_redirect_server = nullptr;
|
|
|
+ WEB_PANEL_LOG("redirect server stopped");
|
|
|
}
|
|
|
}
|
|
|
|