Skip to content

Commit

Permalink
Add PN offset calculation adjustment for Initial packet
Browse files Browse the repository at this point in the history
  • Loading branch information
martinthomson committed Jul 3, 2018
1 parent fdb837f commit dd13b0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions draft-ietf-quic-tls.md
Expand Up @@ -745,6 +745,9 @@ handled separately.
sample_offset = 6 + len(destination_connection_id) +
len(source_connection_id) +
len(payload_length) + 4
if packet_type == Initial:
sample_offset += len(token_length) +
len(token)
~~~

To ensure that this process does not sample the packet number, packet number
Expand Down

0 comments on commit dd13b0e

Please sign in to comment.