lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9813] MQTT: PINGRESP was sent too late


From: Giuseppe Modugno
Subject: [lwip-devel] [patch #9813] MQTT: PINGRESP was sent too late
Date: Tue, 11 Jun 2019 03:40:17 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36

URL:
  <https://savannah.nongnu.org/patch/?9813>

                 Summary: MQTT: PINGRESP was sent too late
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: giusloq
            Submitted on: Tue 11 Jun 2019 07:40:15 AM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Attached is a patch that solves the bug #56022.

The first PINGRESP (keep-alive) was sent only after 2 *
MQTT_CYCLIC_TIMER_INTERVAL. If MQTT_CYCLIC_TIMER_INTERVAL = 5s and keep-alive
is set to 5s too, the first PINGRESP is sent 10s after the connection.

In this case, the server (MQTT Broker) could force a disconnection if the
PINGRESP message isn't received in 7-8s after connection.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 11 Jun 2019 07:40:15 AM UTC  Name: patch.diff  Size: 259B   By:
giusloq

<http://savannah.nongnu.org/patch/download.php?file_id=47071>

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/patch/?9813>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]