mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 17:23:04 +08:00
Fixed WebSocket client stream
This commit is contained in:
@@ -91,7 +91,7 @@ namespace MQTTnet.Core.Serializer
|
||||
|
||||
if (buffer == -1)
|
||||
{
|
||||
break;
|
||||
throw new MqttCommunicationException("Connection closed while reading remaining length data.");
|
||||
}
|
||||
|
||||
encodedByte = (byte)buffer;
|
||||
|
||||
Reference in New Issue
Block a user