mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-19 02:53:06 +08:00
Update docs
This commit is contained in:
@@ -12,6 +12,8 @@
|
|||||||
<description>MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker).</description>
|
<description>MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker).</description>
|
||||||
<releaseNotes>* [Core] Fixed some still thread blocking parts in the code (thanks to @kpreisser).
|
<releaseNotes>* [Core] Fixed some still thread blocking parts in the code (thanks to @kpreisser).
|
||||||
* [Core] Updated 3rd-Party packages.
|
* [Core] Updated 3rd-Party packages.
|
||||||
|
* [Core] Fixed an issue when reading the body of a package from a disconnected sender (thanks to @kpreisser).
|
||||||
|
* [Core] Fixed wrong parsing of the body length (thanks to @kpreisser).
|
||||||
* [Client] The client interfaces are now implementing _IDisposable_.
|
* [Client] The client interfaces are now implementing _IDisposable_.
|
||||||
* [Client] The disconnected event now contains the exception which was thrown and causing the disconnect.
|
* [Client] The disconnected event now contains the exception which was thrown and causing the disconnect.
|
||||||
* [Server] Fixed an issue which lets the server block 1 second after accepting a new connection (thanks to @kpreisser).
|
* [Server] Fixed an issue which lets the server block 1 second after accepting a new connection (thanks to @kpreisser).
|
||||||
|
|||||||
@@ -114,6 +114,7 @@ namespace MQTTnet.Serializer
|
|||||||
{
|
{
|
||||||
throw new MqttProtocolViolationException($"Remaining length is invalid (Data={string.Join(",", readBytes)}).");
|
throw new MqttProtocolViolationException($"Remaining length is invalid (Data={string.Join(",", readBytes)}).");
|
||||||
}
|
}
|
||||||
|
|
||||||
multiplier *= 128;
|
multiplier *= 128;
|
||||||
} while ((encodedByte & 128) != 0);
|
} while ((encodedByte & 128) != 0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user