Skip to content

Commit

Permalink
Drop Unsupported New Token Initial Tokens
Browse files Browse the repository at this point in the history
Ensures we drop initial tokens for "new token" scenarios.
  • Loading branch information
nibanks committed Oct 10, 2023
1 parent c80f35d commit f63dc61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@ QuicPacketValidateInitialToken(
const BOOLEAN IsNewToken = TokenBuffer[0] & 0x1;
if (IsNewToken) {
QuicPacketLogDrop(Owner, Packet, "New Token not supported");
*DropPacket = TRUE;
return FALSE; // TODO - Support NEW_TOKEN tokens.
}

Expand Down

0 comments on commit f63dc61

Please sign in to comment.