Skip to content

Commit dd13b0e

Browse files
committed
Add PN offset calculation adjustment for Initial packet
1 parent fdb837f commit dd13b0e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

draft-ietf-quic-tls.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,9 @@ handled separately.
745745
sample_offset = 6 + len(destination_connection_id) +
746746
len(source_connection_id) +
747747
len(payload_length) + 4
748+
if packet_type == Initial:
749+
sample_offset += len(token_length) +
750+
len(token)
748751
~~~
749752

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

0 commit comments

Comments
 (0)