Skip to content

Commit 39a29d3

Browse files
committed
[connect-tcp] Improve recommendation for abrupt TLS termination
The current recommendation, to send a TLS Error Alert, is very difficult to implement. The new, relaxed recommendation allows a broader range of implementations, is much easier to implement, and is equally effective and secure.
1 parent 6bb1968 commit 39a29d3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

draft-ietf-httpbis-connect-tcp.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,11 @@ When closing connections, endpoints are subject to the following requirements:
169169
- If the connection closed gracefully, the endpoint MUST close the send stream gracefully.
170170
- Otherwise, the endpoint SHOULD close the send stream abruptly, using a mechanism appropriate to the HTTP version:
171171
- HTTP/3: RESET_STREAM with H3_CONNECT_ERROR
172+
- See {{!RFC9000, Section 19.4}} and {{?RFC9114, Section 8.1}}.
172173
- HTTP/2: RST_STREAM with CONNECT_ERROR
173-
- HTTP/1.1 over TLS: a TLS Error Alert
174+
- See {{!RFC9113}}, Sections 6.4 and 7.
175+
- HTTP/1.1 over TLS: TCP shutdown without a TLS closure alert
176+
- See {{!RFC8446, Section 6.1}}.
174177
- HTTP/1.1 (insecure): TCP RST.
175178
* When the receive stream is closed abruptly or without a FINAL_DATA capsule received, the endpoint SHOULD send a TCP RST if the TCP subsystem permits it.
176179

0 commit comments

Comments
 (0)