Merge branch 'master' into 1413-protocol-version-132-mqtt-311-bridge-support

This commit is contained in:
Christian
2022-06-10 23:27:00 +02:00
4 changed files with 61 additions and 35 deletions
@@ -84,6 +84,11 @@ namespace MQTTnet.Formatter.V5
{
// If absent, the Application Message does not expire.
// This library uses 0 to indicate no expiration.
if (value == 0)
{
return;
}
WriteAsFourByteInteger(MqttPropertyId.MessageExpiryInterval, value);
}