From 00faec3ccd85d1b99096ec685ca77936ee083da8 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Tue, 13 Dec 2022 17:17:51 +0000 Subject: [PATCH] Doc update --- man/mosquitto.conf.5.xml | 5 +++-- mosquitto.conf | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/man/mosquitto.conf.5.xml b/man/mosquitto.conf.5.xml index 6f036cb1..d85b866a 100644 --- a/man/mosquitto.conf.5.xml +++ b/man/mosquitto.conf.5.xml @@ -751,8 +751,9 @@ log_timestamp_format %Y-%m-%dT%H:%M:%S less than or equal to this value, otherwise they will be sent a server keepalive telling them to use max_keepalive. This only applies to MQTT v5 clients. - The maximum value allowable, and default value, is - 65535. + The maximum value is 65535. Set to 0 to allow infinite + keepalive. Defaults to 0. + Set to 0 to allow clients to set keepalive = 0, which diff --git a/mosquitto.conf b/mosquitto.conf index ac85a563..b9dcb08a 100644 --- a/mosquitto.conf +++ b/mosquitto.conf @@ -98,8 +98,8 @@ # use the new keepalive value. The max_keepalive option allows you to specify # that clients may only connect with keepalive less than or equal to this # value, otherwise they will be sent a server keepalive telling them to use -# max_keepalive. This only applies to MQTT v5 clients. The default, and maximum -# value allowable, is 65535. +# max_keepalive. This only applies to MQTT v5 clients. The maximum value is +# 65535. Set to 0 to allow infinite keepalive. Defaults to 0. # # Set to 0 to allow clients to set keepalive = 0, which means no keepalive # checks are made and the client will never be disconnected by the broker if no @@ -111,7 +111,7 @@ # specifies a keepalive time greater than max_keepalive they will be sent a # CONNACK message with the "identifier rejected" reason code, and disconnected. # -#max_keepalive 65535 +#max_keepalive 0 # For MQTT v5 clients, it is possible to have the server send a "maximum packet # size" value that will instruct the client it will not accept MQTT packets