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

Stateful session resumption #369

Merged
merged 4 commits into from
Jan 11, 2022
Merged

Stateful session resumption #369

merged 4 commits into from
Jan 11, 2022

Commits on Dec 21, 2021

  1. Support stateful session resumption

    This PR only implements the session ID based session
    resumption which requires the server to save the session info
    https://datatracker.ietf.org/doc/html/rfc5246#appendix-F.1.4
    
    It doesn't implement the session ticket based session
    resumption: https://datatracker.ietf.org/doc/html/rfc5077
    taoso committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    d64587f View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2021

  1. Use both serverName and remoteAddr

    As the server could serve for different names on the same port,
    the client should restore the session according to both
    serverName and remoteAddr.
    taoso committed Dec 23, 2021
    Configuration menu
    Copy the full SHA
    d7514a5 View commit details
    Browse the repository at this point in the history
  2. Separate session resumption diagrams

    Make it clear that which flights will be used in session resumption.
    And fix some other comments.
    taoso committed Dec 23, 2021
    Configuration menu
    Copy the full SHA
    961026b View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2021

  1. Make sure clean the stored session

    We need to delete the stored session when any fatal errors occurs.
    This operation should be taken in the Conn.notify function.
    taoso committed Dec 27, 2021
    Configuration menu
    Copy the full SHA
    0816009 View commit details
    Browse the repository at this point in the history