Skip to content

Commit 15da4ce

Browse files
committed
Merge remote-tracking branch 'origin/master' into request_rst
2 parents 52f99c7 + d245db6 commit 15da4ce

File tree

5 files changed

+489
-481
lines changed

5 files changed

+489
-481
lines changed

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ endif
1212

1313
latest:: lint
1414
.PHONY: lint
15-
lint:
15+
lint::
1616
@err=0; for f in draft-*.md ; do \
17-
if grep -n ' $$' "$$f"; then \
18-
echo "$$f contains trailing whitespace"; err=1; \
19-
fi; \
2017
if cat "$$f" | (l=0; while read -r a; do l=$$(($$l + 1)); echo -E "$$l:$$a"; done) | \
2118
sed -e '1,/--- abstract/d;/^[0-9]*: *|/d' | tr -d '\r' | grep '^[0-9]*:.\{81\}'; then \
2219
echo "$$f contains a line with >80 characters"; err=1; \

draft-ietf-quic-http.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ The words "MUST", "MUST NOT", "SHOULD", and "MAY" are used in this document.
8282
It's not shouting; when they are capitalized, they have the special meaning
8383
defined in {{!RFC2119}}.
8484

85+
Field definitions are given in Augmented Backus-Naur Form (ABNF), as defined in
86+
{{!RFC5234}}.
87+
8588

8689
# QUIC Advertisement
8790

@@ -344,7 +347,7 @@ detects an error with the stream or the QUIC connection.
344347

345348
## Stream Priorities {#priority}
346349

347-
HTTP/QUIC uses the priority scheme described in {{!RFC7540}} Section 5.3. In
350+
HTTP/QUIC uses the priority scheme described in {{!RFC7540}}, Section 5.3. In
348351
this priority scheme, a given stream can be designated as dependent upon another
349352
stream, which expresses the preference that the latter stream (the "parent"
350353
stream) be allocated resources before the former stream (the "dependent"
@@ -468,7 +471,7 @@ HTTP/2.
468471
The flags defined are:
469472

470473
E (0x01):
471-
: Indicates that the stream dependency is exclusive (see {{!RFC7540}} Section
474+
: Indicates that the stream dependency is exclusive (see {{!RFC7540}}, Section
472475
5.3).
473476

474477
~~~~~~~~~~ drawing
@@ -492,11 +495,11 @@ The HEADERS frame payload has the following fields:
492495

493496
Stream Dependency:
494497
: A 32-bit stream identifier for the stream that this stream depends on (see
495-
{{priority}} and {!RFC7540}} Section 5.3).
498+
{{priority}} and {{!RFC7540}}, Section 5.3).
496499

497500
Weight:
498501
: An unsigned 8-bit integer representing a priority weight for the stream (see
499-
{{!RFC7540}} Section 5.3). Add one to the value to obtain a weight between 1
502+
{{!RFC7540}}, Section 5.3). Add one to the value to obtain a weight between 1
500503
and 256.
501504

502505
A PRIORITY frame MUST have a payload length of nine octets. A PRIORITY frame
@@ -563,7 +566,7 @@ the endpoint MUST respond with a connection error of type
563566
HTTP_MULTIPLE_SETTINGS.
564567

565568
The SETTINGS frame affects connection state. A badly formed or incomplete
566-
SETTINGS frame MUST be treated as a connection error (Section 5.4.1) of type
569+
SETTINGS frame MUST be treated as a connection error ({{errors}}) of type
567570
HTTP_MALFORMED_SETTINGS.
568571

569572

@@ -861,7 +864,7 @@ PROTOCOL_ERROR (0x1):
861864
: No single mapping. See new HTTP_MALFORMED_* error codes defined in
862865
{{http-error-codes}}.
863866

864-
INTERNAL_ERROR (0x2)
867+
INTERNAL_ERROR (0x2):
865868
: HTTP_INTERNAL_ERROR in {{http-error-codes}}.
866869

867870
FLOW_CONTROL_ERROR (0x3):
@@ -1078,11 +1081,18 @@ The original authors of this specification were Robbie Shade and Mike Warres.
10781081
> **RFC Editor's Note:** Please remove this section prior to publication of a
10791082
> final version of this document.
10801083

1084+
## Since draft-ietf-quic-http-04
1085+
1086+
- Cite RFC 5234 (#404)
1087+
1088+
## Since draft-ietf-quic-http-03
1089+
1090+
None.
1091+
10811092
## Since draft-ietf-quic-http-02
10821093

10831094
- Track changes in transport draft
10841095

1085-
10861096
## Since draft-ietf-quic-http-01
10871097

10881098
- SETTINGS changes (#181):

draft-ietf-quic-recovery.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -422,10 +422,10 @@ below shows how the single timer is set based on the alarm mode.
422422
The initial flight has no prior RTT sample. A client SHOULD remember
423423
the previous RTT it observed when resumption is attempted and use that for an
424424
initial RTT value. If no previous RTT is available, the initial RTT defaults
425-
to 200ms.
425+
to 100ms.
426426

427427
Endpoints MUST retransmit handshake frames if not acknowledged within a
428-
time limit. This time limit will start as the largest of twice the rtt value
428+
time limit. This time limit will start as the largest of twice the RTT value
429429
and MinTLPTimeout. Each consecutive handshake retransmission doubles the
430430
time limit, until an acknowledgement is received.
431431

@@ -437,8 +437,8 @@ When stateless rejects are in use, the connection is considered immediately
437437
closed once a reject is sent, so no timer is set to retransmit the reject.
438438

439439
Version negotiation packets are always stateless, and MUST be sent once per
440-
per handshake packet that uses an unsupported QUIC version, and MAY be sent
441-
in response to 0RTT packets.
440+
handshake packet that uses an unsupported QUIC version, and MAY be sent in
441+
response to 0RTT packets.
442442

443443
#### Tail Loss Probe and Retransmission Timeout
444444

draft-ietf-quic-tls.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -840,14 +840,14 @@ number gaps on connection ID transitions. That secret is computed as:
840840

841841
# Unprotected Packets
842842

843-
QUIC adds an integrity check to all unprotected packets. Any packet that is not
844-
protected by the negotiated AEAD (see {{packet-protection}}), includes an
845-
integrity check. This check does not prevent the packet from being altered, it
846-
exists for added resilience against data corruption and to provided added
847-
assurance that the sender intends to use QUIC.
848-
849-
Unprotected packets all use the long form of the QUIC header and so will include
850-
a version number. For this version of QUIC, the integrity check uses the 64-bit
843+
QUIC adds an integrity check to all cleartext packets. Cleartext packets are
844+
not protected by the negotiated AEAD (see {{packet-protection}}), but instead
845+
include an integrity check. This check does not prevent the packet from being
846+
altered, it exists for added resilience against data corruption and to provide
847+
added assurance that the sender intends to use QUIC.
848+
849+
Cleartext packets all use the long form of the QUIC header and so will include a
850+
version number. For this version of QUIC, the integrity check uses the 64-bit
851851
FNV-1a hash (see {{fnv1a}}). The output of this hash is appended to the payload
852852
of the packet.
853853

0 commit comments

Comments
 (0)