mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2026-01-17 18:51:05 +00:00
Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
@@ -38,9 +38,8 @@ void RESTAPI_telemetryWebSocket::DoGet() {
|
||||
Response->send();
|
||||
return;
|
||||
}
|
||||
|
||||
auto WS = std::make_unique<Poco::Net::WebSocket>(*Request, *Response);
|
||||
new TelemetryClient(UUID, SerialNumber, std::move(WS), TelemetryStream()->NextReactor(), Logger_);
|
||||
TelemetryStream()->NewClient(UUID, SerialNumber, std::move(WS) );
|
||||
|
||||
} catch (const Poco::Net::WebSocketException &E) {
|
||||
Logger_.log(E);
|
||||
|
||||
Reference in New Issue
Block a user