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

Properly handle 0-RTT accepting/rejecting #301

Closed
camshaft opened this issue Dec 8, 2020 · 2 comments
Closed

Properly handle 0-RTT accepting/rejecting #301

camshaft opened this issue Dec 8, 2020 · 2 comments
Assignees
Labels
0-RTT 0-RTT support

Comments

@camshaft
Copy link
Contributor

camshaft commented Dec 8, 2020

https://tools.ietf.org/html/draft-ietf-quic-tls-32#section-4.6.2

A server accepts 0-RTT by sending an early_data extension in the
EncryptedExtensions (see Section 4.2.10 of [TLS13]). The server then
processes and acknowledges the 0-RTT packets that it receives.

A server rejects 0-RTT by sending the EncryptedExtensions without an
early_data extension. A server will always reject 0-RTT if it sends
a TLS HelloRetryRequest. When rejecting 0-RTT, a server MUST NOT
process any 0-RTT packets, even if it could. When 0-RTT was
rejected, a client SHOULD treat receipt of an acknowledgement for a
0-RTT packet as a connection error of type PROTOCOL_VIOLATION, if it
is able to detect the condition.

When 0-RTT is rejected, all connection characteristics that the
client assumed might be incorrect. This includes the choice of
application protocol, transport parameters, and any application
configuration. The client therefore MUST reset the state of all
streams, including application state bound to those streams.

A client MAY reattempt 0-RTT if it receives a Retry or Version
Negotiation packet. These packets do not signify rejection of 0-RTT.

@camshaft camshaft added the 0-RTT 0-RTT support label Dec 8, 2020
@camshaft
Copy link
Contributor Author

Closing for now until 0-RTT gets scoped out

@toidiu toidiu self-assigned this Jun 13, 2024
@camshaft
Copy link
Contributor Author

This issue is still referenced in code:

// I couldn't find a good citation but here's the issue: https://github.com/aws/s2n-quic/issues/301

tracking-issue = "301"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-RTT 0-RTT support
Projects
None yet
Development

No branches or pull requests

2 participants