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

(feat): Adds API to allow s2n-quic to check for resumption #4335

Merged
merged 7 commits into from
Dec 22, 2023

Conversation

maddeleine
Copy link
Contributor

@maddeleine maddeleine commented Dec 18, 2023

Description of changes:

Adds API to allow s2n-quic to check if it needs to keep around the TLS session instead of just tossing it after the handshake. Currently the TLS settings are mostly opaque to s2n-quic. However, if we want to keep the optimization of throwing out the TLS session when it isn't needed, quic needs to know if it should expect a session ticket.

Callouts:

Testing:

Does this need a test? I don't think so.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

bindings/rust/s2n-tls/src/connection.rs Outdated Show resolved Hide resolved
bindings/rust/s2n-tls/src/connection.rs Outdated Show resolved Hide resolved
tls/s2n_quic_support.c Outdated Show resolved Hide resolved
tls/s2n_quic_support.c Outdated Show resolved Hide resolved
@maddeleine maddeleine changed the title (feat): Adds API to allow s2n-quic to check for client resumption (feat): Adds API to allow s2n-quic to check for resumption Dec 21, 2023
@maddeleine maddeleine requested a review from lrstewart December 21, 2023 20:10
tls/s2n_quic_support.h Outdated Show resolved Hide resolved
tls/s2n_quic_support.c Outdated Show resolved Hide resolved
bindings/rust/s2n-tls/src/connection.rs Outdated Show resolved Hide resolved
@maddeleine maddeleine requested a review from lrstewart December 21, 2023 21:16
@maddeleine maddeleine merged commit b7c9dac into main Dec 22, 2023
30 of 31 checks passed
@maddeleine maddeleine deleted the resumption_check branch December 22, 2023 00:06
dougch pushed a commit to dougch/s2n-tls that referenced this pull request Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants