SABITHSAHEB commented on code in PR #13966:
URL: https://github.com/apache/trafficserver/pull/13966#discussion_r4564721690
##########
src/iocore/net/QUICPacketHandler.cc:
##########
@@ -277,14 +277,18 @@ QUICPacketHandlerIn::_recv_packet(int /* event ATS_UNUSED
*/, UDPPacket *udp_pac
return;
}
+ // quiche takes a non-empty original DCID as proof that this server sent a
Retry and lifts the anti-amplification limit for
+ // the peer's address, so it may only come from a token validated above.
+ QUICConnectionId const retry_odcid = params->stateless_retry() ?
retry_token.original_dcid() : QUICConnectionId::ZERO();
Review Comment:
`QUICConnectionId::ZERO()` is constructed with length 0
(`QUICConnectionId(zero, 0)` in `QUICTypes.cc`), so quiche gets `odcid_len ==
0` here, the same as when the client sends no token.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]