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

Forbid use of application-level close in Initial, Handshake packets #3164

Merged

Conversation

kazuho
Copy link
Member

@kazuho kazuho commented Oct 29, 2019

As discussed in #3158, use of application-level close is problematic in Initial / Handshake packets.

This PR address the issue by limiting the use of that to 1-RTT packets, at the same time advising applications to use user_canceled TLS alert to abort the connection during the handshake.

Closes #3158.

Copy link
Contributor

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is the right way to go, since during the non-0-RTT handshake, the peers don't agree on the application protocol.
However, I've written in #3158 (comment), I think we might need a way to communicate an application-level error code for 0-RTT connections.

draft-ietf-quic-transport.md Outdated Show resolved Hide resolved
draft-ietf-quic-transport.md Outdated Show resolved Hide resolved
kazuho and others added 2 commits October 30, 2019 14:38
Co-Authored-By: Martin Thomson <mt@lowentropy.net>
draft-ietf-quic-tls.md Outdated Show resolved Hide resolved
draft-ietf-quic-tls.md Outdated Show resolved Hide resolved
Co-Authored-By: Martin Thomson <mt@lowentropy.net>
draft-ietf-quic-tls.md Outdated Show resolved Hide resolved
@martinthomson martinthomson added the design An issue that affects the design of the protocol; resolution requires consensus. label Nov 29, 2019
@martinthomson martinthomson merged commit 48ca60d into quicwg:master Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-transport design An issue that affects the design of the protocol; resolution requires consensus.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Application close should be disallowed in Initial or Handshake
7 participants