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

Bring RFC2818 into semantics (Mnot 236) #249

Merged
merged 20 commits into from
Nov 3, 2019
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
142 changes: 84 additions & 58 deletions draft-ietf-httpbis-messaging-latest.html

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions draft-ietf-httpbis-messaging-latest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1971,6 +1971,33 @@ https://www.example.org
</t>
</section>

<section title="TLS Connection Closure" anchor="tls.connection.closure">
<t>
TLS provides a facility for secure connection closure. When a valid
closure alert is received, an implementation can be assured that no
further data will be received on that connection. TLS
implementations &MUST; initiate an exchange of closure alerts before
closing a connection. A TLS implementation &MAY;, after sending a
closure alert, close the connection without waiting for the peer to
send its closure alert, generating an "incomplete close". Note that
an implementation which does this &MAY; choose to reuse the session.
This &SHOULD; only be done when the application knows (typically
through detecting HTTP message boundaries) that it has received all
the message data that it cares about.
</t>
<t>
As specified in <xref target="RFC8446"/>, any implementation which receives a
connection close without first receiving a valid closure alert (a
"premature close") &MUST-NOT; reuse that session. Note that a
royfielding marked this conversation as resolved.
Show resolved Hide resolved
premature close does not call into question the security of the data
already received, but simply indicates that subsequent data might
have been truncated. Because TLS is oblivious to HTTP
request/response boundaries, it is necessary to examine the HTTP data
itself (specifically the Content-Length header) to determine whether
the truncation occurred inside a message or between messages.
</t>
</section>

<section title="Upgrade" anchor="header.upgrade">
<iref primary="true" item="Upgrade header field" x:for-anchor=""/>
<x:anchor-alias value="Upgrade"/>
Expand Down Expand Up @@ -2700,6 +2727,27 @@ Upgrade: websocket
<seriesInfo name="RFC" value="1952"/>
</reference>

<reference anchor="RFC8446" target="https://www.rfc-editor.org/info/rfc8446">
<front>
<title>The Transport Layer Security (TLS) Protocol Version 1.3</title>
<author initials="E." surname="Rescorla" fullname="E. Rescorla">
<organization/>
</author>
<date year="2018" month="August"/>
<abstract>
<t>This document specifies version 1.3 of the Transport Layer
Security (TLS) protocol. TLS allows client/server applications to
communicate over the Internet in a way that is designed to prevent
eavesdropping, tampering, and message forgery.</t>
<t>This document updates RFCs 5705 and 6066, and obsoletes RFCs
5077, 5246, and 6961. This document also specifies new requirements
for TLS 1.2 implementations.</t>
</abstract>
</front>
<seriesInfo name="RFC" value="8446"/>
<seriesInfo name="DOI" value="10.17487/RFC8446"/>
</reference>

<reference anchor="Welch">
<front>
<title>A Technique for High-Performance Data Compression</title>
Expand Down Expand Up @@ -3371,6 +3419,7 @@ Upgrade: websocket
<li>Moved <xref target="http.version"/> down (<eref target="https://github.com/httpwg/http-core/issues/68"/>)</li>
<li>In <xref target="header.upgrade"/>, use 'websocket' instead of 'HTTP/2.0' in examples (<eref target="https://github.com/httpwg/http-core/issues/112"/>)</li>
<li>Move version non-specific text from <xref target="message.body"/> into semantics as "payload body" (<eref target="https://github.com/httpwg/http-core/issues/159"/>)</li>
<li>In <xref target="tls.connection.closure"/>, add text from RFC 2818 (<eref target="https://github.com/httpwg/http-core/issues/236"/>)</li>
</ul>
</section>

Expand Down
Loading