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

Unified Diff: net/tools/quic/quic_dispatcher.cc

Issue 2791343002: relnote: n/a (flag verification) (Closed)
Patch Set: Created 3 years, 9 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/core/quic_framer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_dispatcher.cc
diff --git a/net/tools/quic/quic_dispatcher.cc b/net/tools/quic/quic_dispatcher.cc
index 8768eaff2c8b948bacaf26c9249094b629aa4164..f32bf1ba87759aec7144793c0c62601cb1ed8547 100644
--- a/net/tools/quic/quic_dispatcher.cc
+++ b/net/tools/quic/quic_dispatcher.cc
@@ -11,6 +11,7 @@
#include "net/quic/core/quic_flags.h"
#include "net/quic/core/quic_utils.h"
#include "net/quic/platform/api/quic_bug_tracker.h"
+#include "net/quic/platform/api/quic_flag_utils.h"
#include "net/quic/platform/api/quic_logging.h"
#include "net/quic/platform/api/quic_ptr_util.h"
#include "net/quic/platform/api/quic_stack_trace.h"
@@ -694,6 +695,8 @@ void QuicDispatcher::BufferEarlyPacket(QuicConnectionId connection_id) {
if (FLAGS_quic_reloadable_flag_quic_create_session_after_insertion &&
is_new_connection &&
!ShouldCreateOrBufferPacketForConnection(connection_id)) {
+ QUIC_FLAG_COUNT_N(quic_reloadable_flag_quic_create_session_after_insertion,
+ 1, 5);
return;
}
EnqueuePacketResult rs = buffered_packets_.EnqueuePacket(
@@ -711,6 +714,8 @@ void QuicDispatcher::ProcessChlo() {
if (FLAGS_quic_reloadable_flag_quic_create_session_after_insertion &&
!buffered_packets_.HasBufferedPackets(current_connection_id_) &&
!ShouldCreateOrBufferPacketForConnection(current_connection_id_)) {
+ QUIC_FLAG_COUNT_N(quic_reloadable_flag_quic_create_session_after_insertion,
+ 2, 5);
return;
}
if (FLAGS_quic_allow_chlo_buffering &&
« no previous file with comments | « net/quic/core/quic_framer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698