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

Submitted by:  Giuseppe Modugno <giusloq>
Submitted on:  Tue 11 Jun 2019 07:40:15 AM UTC  
 
Category:  apps Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  Simon Goldschmidt <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>
Project AdministratorIn charge of this item.
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>

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    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.5