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

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

Issue 2487613002: Landing Recent QUIC changes until 12:43 PM, Nov 5, 2016 UTC+8 (Closed)
Patch Set: 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/tools/quic/quic_packet_writer_wrapper.cc ('k') | net/tools/quic/quic_server_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_server.cc
diff --git a/net/tools/quic/quic_server.cc b/net/tools/quic/quic_server.cc
index 8d5640c5f0078717b2b0f8084fa244143035aba4..99ae8cbc3b9f441687f82d25c2bd529da236a6f6 100644
--- a/net/tools/quic/quic_server.cc
+++ b/net/tools/quic/quic_server.cc
@@ -180,8 +180,7 @@ void QuicServer::OnEvent(int fd, EpollEvent* event) {
if (event->in_events & EPOLLIN) {
DVLOG(1) << "EPOLLIN";
- if (FLAGS_quic_limit_num_new_sessions_per_epoll_loop &&
- FLAGS_quic_buffer_packet_till_chlo) {
+ if (FLAGS_quic_limit_num_new_sessions_per_epoll_loop) {
dispatcher_->ProcessBufferedChlos(kNumSessionsToCreatePerSocketEvent);
}
@@ -193,7 +192,7 @@ void QuicServer::OnEvent(int fd, EpollEvent* event) {
}
if (FLAGS_quic_limit_num_new_sessions_per_epoll_loop &&
- FLAGS_quic_buffer_packet_till_chlo && dispatcher_->HasChlosBuffered()) {
+ dispatcher_->HasChlosBuffered()) {
// Register EPOLLIN event to consume buffered CHLO(s).
event->out_ready_mask |= EPOLLIN;
}
« no previous file with comments | « net/tools/quic/quic_packet_writer_wrapper.cc ('k') | net/tools/quic/quic_server_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698