1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-07-30 14:43:05 +03:00

Re-sync with internal repository

This commit is contained in:
Facebook Community Bot
2023-07-25 09:45:22 -07:00
parent cbc802ea1a
commit 9d89b66485
63 changed files with 97 additions and 95 deletions

View File

@ -580,7 +580,7 @@ folly::Optional<PacketNum> AckScheduler::writeNextAcks(
auto ackingTime = Clock::now();
DCHECK(ackState_.largestRecvdPacketTime.hasValue())
<< "Missing received time for the largest acked packet";
// assuming that we're going to ack the largest received with hightest pri
// assuming that we're going to ack the largest received with highest pri
auto receivedTime = *ackState_.largestRecvdPacketTime;
std::chrono::microseconds ackDelay =
(ackingTime > receivedTime
@ -771,7 +771,7 @@ void BlockedScheduler::writeBlockedFrames(PacketBuilderInterface& builder) {
auto result = writeFrame(blockedFrame, builder);
if (!result) {
// If there is not enough room to write data blocked frame in the
// curretn packet, we won't be able to write stream blocked frames either
// current packet, we won't be able to write stream blocked frames either
// so just return.
return;
}