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

Unified Diff: net/quic/core/quic_buffered_packet_store.cc

Issue 2516033003: Landing Recent QUIC changes until Mon Nov 14 04:43:50 2016 +0000 (Closed)
Patch Set: Remove unused UpdatePacketGapSentHistogram() function. Created 4 years, 1 month 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/core/quic_buffer_allocator.cc ('k') | net/quic/core/quic_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_buffered_packet_store.cc
diff --git a/net/quic/core/quic_buffered_packet_store.cc b/net/quic/core/quic_buffered_packet_store.cc
index 494d0982e6e70c6ba97faddf2cdbeb6df3eabf01..81864abe2d8b7d8dc665e9a705fe2b4d086c22a6 100644
--- a/net/quic/core/quic_buffered_packet_store.cc
+++ b/net/quic/core/quic_buffered_packet_store.cc
@@ -8,6 +8,7 @@
#include "base/stl_util.h"
#include "net/quic/core/quic_bug_tracker.h"
+#include "net/quic/core/quic_flags.h"
namespace net {
@@ -82,6 +83,8 @@ EnqueuePacketResult QuicBufferedPacketStore::EnqueuePacket(
IPEndPoint server_address,
IPEndPoint client_address,
bool is_chlo) {
+ QUIC_BUG_IF(!FLAGS_quic_allow_chlo_buffering)
+ << "Shouldn't buffer packets if disabled via flag.";
QUIC_BUG_IF(is_chlo &&
base::ContainsKey(connections_with_chlo_, connection_id))
<< "Shouldn't buffer duplicated CHLO on connection " << connection_id;
« no previous file with comments | « net/quic/core/quic_buffer_allocator.cc ('k') | net/quic/core/quic_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698