Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MQTT-C issue with TLS 1.3 session tickets #182

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 12, 2023

  1. Fix MQTT-C issue with TLS 1.3 session tickets

    TLS 1.3 server may choose to issue new session ticket in the middle
    of active connection. This will cause next mbedtls_ssl_read() or
    mbedtls_ssl_write() to return MBEDTLS_ERR_SSL_RECEIVED_NEW_SESSION_TICKET.
    This is not a real error, rather notification to the application
    to save session ticket for later use. As TLS reconnection is out of
    scope at this point we can safely ignore it and retry operation.
    
    Please refer to mbedtls/programs/ssl/ssl_client2.c for session ticket
    handling.
    
    Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
    Mykyta Syrencrantz authored and joakim-tjernlund committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    917cfa6 View commit details
    Browse the repository at this point in the history