|
|
@ -179,7 +179,7 @@ namespace Emby.Server.Implementations.HttpServer
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
WebSocketMessage<object> stub;
|
|
|
|
WebSocketMessage<object>? stub;
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
@ -209,6 +209,12 @@ namespace Emby.Server.Implementations.HttpServer
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (stub is null)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
_logger.LogError("Error processing web socket message");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Tell the PipeReader how much of the buffer we have consumed
|
|
|
|
// Tell the PipeReader how much of the buffer we have consumed
|
|
|
|
reader.AdvanceTo(buffer.End);
|
|
|
|
reader.AdvanceTo(buffer.End);
|
|
|
|
|
|
|
|
|
|
|
|