mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-24 04:01:07 +03:00
Add ToS field to ReceivedUdpPacket
Summary: Adds new field `tosValue` to ReceivedUdpPacket so it is accessible in the rest of the read path. Reviewed By: kvtsoy Differential Revision: D54912161 fbshipit-source-id: ea4714fa2374d38e915fc850387e1094d1fb8adf
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9c25029a11
commit
3eef6d0e55
@@ -707,7 +707,9 @@ static void handleCipherUnavailable(
|
||||
ServerEvents::ReadData pendingReadData;
|
||||
pendingReadData.peer = readData.peer;
|
||||
pendingReadData.udpPacket = ReceivedUdpPacket(
|
||||
std::move(originalData->packet), readData.udpPacket.timings);
|
||||
std::move(originalData->packet),
|
||||
readData.udpPacket.timings,
|
||||
readData.udpPacket.tosValue);
|
||||
pendingData->emplace_back(std::move(pendingReadData));
|
||||
VLOG(10) << "Adding pending data to "
|
||||
<< toString(originalData->protectionType)
|
||||
|
||||
Reference in New Issue
Block a user