Skip to content

Commit

Permalink
Merge branch 'master' into ek/preferred_address
Browse files Browse the repository at this point in the history
  • Loading branch information
ekinnear committed May 14, 2020
2 parents a710194 + cf0fdf6 commit ca0decd
Show file tree
Hide file tree
Showing 8 changed files with 853 additions and 371 deletions.
6 changes: 5 additions & 1 deletion .lint.py
Expand Up @@ -58,7 +58,11 @@ def err(msg):

# Check length
length = len(line)
limit = args.maxFigureLineLength if insideFigure else args.maxLineLength
limit = (
int(args.maxFigureLineLength)
if insideFigure
else int(args.maxLineLength)
)
if length > limit:
err("Line is {0} characters; limit is {1}".format(length, limit))

Expand Down
212 changes: 135 additions & 77 deletions draft-ietf-quic-http.md

Large diffs are not rendered by default.

22 changes: 10 additions & 12 deletions draft-ietf-quic-invariants.md
Expand Up @@ -129,18 +129,17 @@ version-specific and of arbitrary length.

## Long Header

Long headers take the form described in {{fig-long}}. Bits that have
version-specific semantics are marked with an X.
Long headers take the form described in {{fig-long}}.

~~~
Long Header Packet {
Header Form (1) = 1,
Version-Specific Bits (7),
Version (32),
DCID Len (8),
Destination Connection ID (0..160),
Destination Connection ID (0..2040),
SCID Len (8),
Source Connection ID (0..160),
Source Connection ID (0..2040),
Version-Specific Data (..),
}
~~~
Expand All @@ -156,18 +155,17 @@ The next byte contains the length in bytes of the Destination Connection ID (see
unsigned integer. The Destination Connection ID field follows the DCID Len
field and is between 0 and 255 bytes in length.

The next byte contains the length in bytes
of the Source Connection ID field that follows it. This length is encoded as
a 8-bit unsigned integer. The Source Connection ID field follows the SCID Len
field and is between 0 and 255 bytes in length.
The next byte contains the length in bytes of the Source Connection ID field
that follows it. This length is encoded as a 8-bit unsigned integer. The
Source Connection ID field follows the SCID Len field and is between 0 and 255
bytes in length.

The remainder of the packet contains version-specific content.


## Short Header

Short headers take the form described in {{fig-short}}. Bits that have
version-specific semantics are marked with an X.
Short headers take the form described in {{fig-short}}.

~~~~~
Short Header Packet {
Expand Down Expand Up @@ -235,9 +233,9 @@ Version Negotiation Packet {
Unused (7),
Version (32) = 0,
DCID Len (8),
Destination Connection ID (0..160),
Destination Connection ID (0..2040),
SCID Len (8),
Source Connection ID (0..160),
Source Connection ID (0..2040),
Supported Version (32) ...,
}
~~~
Expand Down

0 comments on commit ca0decd

Please sign in to comment.