-
Notifications
You must be signed in to change notification settings - Fork 204
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
Specify the packets that carry closing frames #1890
Conversation
draft-ietf-quic-transport.md
Outdated
@@ -2302,6 +2302,12 @@ the application requests that the connection be closed. The application | |||
protocol can use an APPLICATION_CLOSE message with an appropriate error code to | |||
signal closure. | |||
|
|||
If the endpoint believes that a connection has been successfully established, it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find this condition a little vague for a MUST. How about "has received a short header from the peer"?
I think that the second piece to #1786, which was to make allowances for fatal errors arising from Initial packets won't be necessary. I'm happy to see a PR, of course, but the sentiment I've heard expressed is that it is very hard to manage this, and the spec wouldn't expressly prevent someone from trying to build a system that was resilient to maliciously-crafted Initial packets, but we wouldn't take steps in this document to deal with that. As previously agreed, if you are attacked and the attacker was able to modify Initial packets, then they can deny you the ability to connect. Closes #1818, #1786.
552e087
to
8c2aaa3
Compare
draft-ietf-quic-transport.md
Outdated
@@ -2313,6 +2304,13 @@ the application requests that the connection be closed. The application | |||
protocol can use an APPLICATION_CLOSE message with an appropriate error code to | |||
signal closure. | |||
|
|||
If the connection has been successfully established, endpoints MUST send any | |||
closing frames in a 1-RTT packet. Prior to connection establishment, endpoints | |||
SHOULD send closing frames in a Handshake packet. An endpoint MAY send closing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need a caveat like "...SHOULD send closing frames in a Handshake packet if possible."
a5b112c
to
d513b05
Compare
I decided to reword #1818 after reading it.
I think that the second piece to #1786 , which was to make allowances for
fatal errors arising from Initial packets won't be necessary. See my
comments on #1819 for that.
Closes #1818, #1786.