Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2171)

Unified Diff: net/quic/quic_packet_creator.cc

Issue 2102733002: Deprecate FLAGS_quic_disallow_multi_packet_chlo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@125563155
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_flags.cc ('k') | net/quic/quic_packet_creator_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_packet_creator.cc
diff --git a/net/quic/quic_packet_creator.cc b/net/quic/quic_packet_creator.cc
index 717232eaafc05bcd0a41018bc0846498466a3dcd..13d357c3048c27ba9155faf517f0ec05e1c658cd 100644
--- a/net/quic/quic_packet_creator.cc
+++ b/net/quic/quic_packet_creator.cc
@@ -134,7 +134,7 @@ bool QuicPacketCreator::ConsumeData(QuicStreamId id,
}
CreateStreamFrame(id, iov, iov_offset, offset, fin, frame);
// Explicitly disallow multi-packet CHLOs.
- if (FLAGS_quic_disallow_multi_packet_chlo && id == kCryptoStreamId &&
+ if (id == kCryptoStreamId &&
frame->stream_frame->data_length >= sizeof(kCHLO) &&
strncmp(frame->stream_frame->data_buffer,
reinterpret_cast<const char*>(&kCHLO), sizeof(kCHLO)) == 0) {
« no previous file with comments | « net/quic/quic_flags.cc ('k') | net/quic/quic_packet_creator_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698