[patch #9863] mqtt: support TLS session save/restore and persistant MQTT session

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[patch #9863] mqtt: support TLS session save/restore and persistant MQTT session

David GIRAULT-2
URL:
  <https://savannah.nongnu.org/patch/?9863>

                 Summary: mqtt: support TLS session save/restore and
persistant MQTT session
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: dgirault
            Submitted on: mar. 15 oct. 2019 13:05:14 UTC
                Category: apps
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

-   Add persistent session support
   
    On connect, application can provide flags to start with a clean session.
   
    On CONNACK reception, forward the acknowledge information to application.
   
    Application can manage its subscribtion according of the received session
persistent flag.

- Allow TLS session save and reuse for faster connection
   
    Use the new `struct altcp_tls_session` type to store TLS session
information
    in application provided buffer to ease TLS session resuming in MQTT
client.

-   Send ack of received message before calling client data callback
   
    This is just in case application want to disconnect mqtt client once it
got its response.
    If disconnected inside this callback, ACK cannot be sent after!

-   Remove 64KB limit in ring buffer size


Depend on altcp_mbedtls patchset #9862.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: mar. 15 oct. 2019 13:05:14 UTC  Name:
0001-mqtt-remove-64KB-limit-in-ring-buffer-size.patch  Size: 5kio   By:
dgirault

<http://savannah.nongnu.org/patch/download.php?file_id=47691>
-------------------------------------------------------
Date: mar. 15 oct. 2019 13:05:14 UTC  Name:
0002-mqtt-send-ack-of-received-message-before-calling-cli.patch  Size: 2kio  
By: dgirault

<http://savannah.nongnu.org/patch/download.php?file_id=47692>
-------------------------------------------------------
Date: mar. 15 oct. 2019 13:05:14 UTC  Name:
0003-mqtt-allow-TLS-session-save-and-reuse-for-faster-con.patch  Size: 3kio  
By: dgirault

<http://savannah.nongnu.org/patch/download.php?file_id=47693>
-------------------------------------------------------
Date: mar. 15 oct. 2019 13:05:14 UTC  Name:
0004-mqtt-add-persistent-session-support.patch  Size: 5kio   By: dgirault

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel