patchlwIP - A Lightweight TCP/IP stack - Patches: patch #9813, MQTT: PINGRESP was sent too late

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9813: MQTT: PINGRESP was sent too late

Submitter:  Giuseppe Modugno <giusloq>
Submitted:  Tue 11 Jun 2019 07:40:15 AM UTC
   
 
Category:  apps Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  None

Tue 11 Jun 2019 07:14:09 PM UTC, comment #1: 

Pushed, although slightly different.

Simon Goldschmidt <goldsimon>
Group administrator
Tue 11 Jun 2019 07:40:15 AM UTC, original submission:  

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.

Giuseppe Modugno <giusloq>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #47071:  patch.diff added by giusloq (259B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by giusloq (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-06-11 goldsimon CategoryNone apps
        StatusNone Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2019-06-11 giusloq Attached File- Added patch.diff, #47071

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code