[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mosquitto-dev] keep-alive in Mosquitto and in MQTT v5/v3.1.1
|
Hi Martin,
Let me add to what everybody else has said.
libmosquitto enforces 5 seconds as a minimum positive integer, for
exactly the reasons in the thread, but does allow a keepalive of 0
(infinite). This exception for 0 isn't correctly documented, but I've
just pushed a commit to clarify this.
Regards,
Roger
On Mon, 25 Sept 2023 at 14:07, Lemburg, Martin via mosquitto-dev
<mosquitto-dev@xxxxxxxxxxx> wrote:
>
> Hello,
>
>
>
> May be a naive question, but why I can only connect with Mosquitto to a broker with a keep-alive greater or equal to 5, while the protocols allow a zero keep-alive?
>
>
>
> That’s all for the beginning.
>
>
>
> Best regards
>
> Martin
>
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/mosquitto-dev