Skip to content

Rust bindings for supporting session resumption with 1.2 + 1.3 as a client #5499

@zz85

Description

@zz85

Problem:

For clients wanting to support session resumption with tickets, you could use the api

conf_builder.set_session_ticket_callback(SessionTicketCallback)?;

today. However, this doesn't take into account TLS 1.2 servers that implement SessionIds.
One workaround would be to use conn.session_ticket() but that returns either a SessionId or SessionTicket or none (TLS 1.3) which have overlaps with the session ticket callback mechanism.

Solution:

Option 1. Provide a callback like for SessionTicket but for SessionId
Option 2. Provide a function that returns SessionId without session ticket.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions