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

Unified Diff: net/tools/quic/test_tools/quic_dispatcher_peer.h

Issue 2310543002: Limits only 16 new QUIC connections can be opened per epoll event. (Closed)
Patch Set: Limits only 16 new QUIC connections can be opened per epoll event. Created 4 years, 3 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/tools/quic/quic_server_test.cc ('k') | net/tools/quic/test_tools/quic_dispatcher_peer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/quic_dispatcher_peer.h
diff --git a/net/tools/quic/test_tools/quic_dispatcher_peer.h b/net/tools/quic/test_tools/quic_dispatcher_peer.h
index 05a4a26c3438685605c6130ad27d67f7b5c1e2cc..501a62a7e39a3759879f34873ef8ba4a51d6f80e 100644
--- a/net/tools/quic/test_tools/quic_dispatcher_peer.h
+++ b/net/tools/quic/test_tools/quic_dispatcher_peer.h
@@ -47,6 +47,10 @@ class QuicDispatcherPeer {
static const QuicDispatcher::SessionMap& session_map(
QuicDispatcher* dispatcher);
+ static void set_new_sessions_allowed_per_event_loop(
+ QuicDispatcher* dispatcher,
+ size_t num_session_allowed);
+
private:
DISALLOW_COPY_AND_ASSIGN(QuicDispatcherPeer);
};
« no previous file with comments | « net/tools/quic/quic_server_test.cc ('k') | net/tools/quic/test_tools/quic_dispatcher_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698