gfe-relnote: Allow sending CRYPTO frames without full padding. Protected by QUIC_VERSION_99
PiperOrigin-RevId: 247997458
Change-Id: I5439247d841c3298a77f7c914e527186f83e3f72
diff --git a/quic/core/quic_dispatcher.cc b/quic/core/quic_dispatcher.cc
index fa6fda7..ea2450d 100644
--- a/quic/core/quic_dispatcher.cc
+++ b/quic/core/quic_dispatcher.cc
@@ -178,9 +178,9 @@
}
offset += frame.stream_frame.data_length;
} else {
- if (!creator_.ConsumeCryptoData(ENCRYPTION_INITIAL,
- reject.length() - offset, offset,
- NOT_RETRANSMISSION, &frame)) {
+ if (!creator_.ConsumeCryptoData(
+ ENCRYPTION_INITIAL, reject.length() - offset, offset,
+ /*needs_full_padding=*/true, NOT_RETRANSMISSION, &frame)) {
QUIC_BUG << "Unable to consume crypto data into an empty packet.";
return;
}