mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-08-08 09:42:06 +03:00
dont append padding frames to write frames
Summary: If the packet is too small we might automatically add padding frames to make it large enough. However we used to add padding frames to the frame list as well. We dont need this, lets just add the regular frame types. Reviewed By: mjoras Differential Revision: D18903074 fbshipit-source-id: f73f82f96f833347c84a38eb1035c46e35ba3b2f
This commit is contained in:
committed by
Facebook Github Bot
parent
7614e8e52e
commit
54c5920397
@@ -914,7 +914,7 @@ TEST_F(QuicTransportTest, StopSending) {
|
||||
getLastOutstandingPacket(
|
||||
transport_->getConnectionState(), PacketNumberSpace::AppData)
|
||||
->packet;
|
||||
EXPECT_EQ(14, packet.frames.size());
|
||||
EXPECT_EQ(1, packet.frames.size());
|
||||
bool foundStopSending = false;
|
||||
for (auto& frame : packet.frames) {
|
||||
const QuicSimpleFrame* simpleFrame = frame.asQuicSimpleFrame();
|
||||
|
Reference in New Issue
Block a user