From f611629efadb27688b3ebee7be64d84ffecd90ab Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Tue, 22 Sep 2020 15:52:20 +0700 Subject: [PATCH 1/3] fix duplicate verb --- draft-ietf-quic-transport.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/draft-ietf-quic-transport.md b/draft-ietf-quic-transport.md index abbf70ff50..f0bcc33798 100644 --- a/draft-ietf-quic-transport.md +++ b/draft-ietf-quic-transport.md @@ -2779,13 +2779,12 @@ These states SHOULD persist for at least three times the current Probe Timeout (PTO) interval as defined in {{QUIC-RECOVERY}}. Disposing of connection state prior to exiting the closing or draining state -could cause could result in an endpoint generating a stateless reset -unnecessarily when it receives a late-arriving packet. Endpoints that have some -alternative means to ensure that late-arriving packets do not induce a response, -such as those that are able to close the UDP socket, MAY end these states -earlier to allow for faster resource recovery. Servers that retain an open -socket for accepting new connections SHOULD NOT end the closing or draining -states early. +could result in an endpoint generating a stateless reset unnecessarily when it +receives a late-arriving packet. Endpoints that have some alternative means +to ensure that late-arriving packets do not induce a response, such as those +that are able to close the UDP socket, MAY end these states earlier to allow +for faster resource recovery. Servers that retain an open socket for accepting +new connections SHOULD NOT end the closing or draining states early. Once its closing or draining state ends, an endpoint SHOULD discard all connection state. The endpoint MAY send a stateless reset in response to any From dd25947240fd30ceb8e2117ba77bafcd5cbc7aaa Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Tue, 22 Sep 2020 15:54:01 +0700 Subject: [PATCH 2/3] mention that protocol violations lead to immediate close --- draft-ietf-quic-transport.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/draft-ietf-quic-transport.md b/draft-ietf-quic-transport.md index f0bcc33798..200adcee99 100644 --- a/draft-ietf-quic-transport.md +++ b/draft-ietf-quic-transport.md @@ -2765,6 +2765,9 @@ After sending a CONNECTION_CLOSE frame, an endpoint immediately enters the closing state; see {{closing}}. After receiving a CONNECTION_CLOSE frame, endpoints enter the draining state; see {{draining}}. +Violations of the protocol lead to an immediate close, and a transport-level +error being sent in a CONNECTION_CLOSE frame. + An immediate close can be used after an application protocol has arranged to close a connection. This might be after the application protocol negotiates a graceful shutdown. The application protocol can exchange messages that are From 39e485d4d697b659c0f344761e060f771932ef10 Mon Sep 17 00:00:00 2001 From: Martin Thomson Date: Wed, 23 Sep 2020 08:38:58 +1000 Subject: [PATCH 3/3] Less text --- draft-ietf-quic-transport.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/draft-ietf-quic-transport.md b/draft-ietf-quic-transport.md index 200adcee99..f7071e6d15 100644 --- a/draft-ietf-quic-transport.md +++ b/draft-ietf-quic-transport.md @@ -2765,8 +2765,7 @@ After sending a CONNECTION_CLOSE frame, an endpoint immediately enters the closing state; see {{closing}}. After receiving a CONNECTION_CLOSE frame, endpoints enter the draining state; see {{draining}}. -Violations of the protocol lead to an immediate close, and a transport-level -error being sent in a CONNECTION_CLOSE frame. +Violations of the protocol lead to an immediate close. An immediate close can be used after an application protocol has arranged to close a connection. This might be after the application protocol negotiates a