Closing the socket after a WebSocket session from the UI.

This commit is contained in:
stephb9959
2021-11-01 15:39:54 -07:00
parent e15f3af410
commit cfc9422266
2 changed files with 7 additions and 1 deletions

View File

@@ -74,6 +74,12 @@ namespace OpenWifi {
}
}
break;
case Poco::Net::WebSocket::FRAME_OP_CLOSE: {
Logger_.warning(Poco::format("CLOSE(%s): Client is closing its WS connection.", UserInfo_.userinfo.email));
Done=true;
}
break;
default:
{