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

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

Issue 1467453007: Deprecate FLAGS_quic_read_packets_full_recvmmsg. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@107796215
Patch Set: Created 5 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/quic_session.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_packet_reader.cc
diff --git a/net/tools/quic/quic_packet_reader.cc b/net/tools/quic/quic_packet_reader.cc
index 1f368a683dca28d44660eb32ae83a63d982642dc..90f058708ca22807ff354c074bfc9618747ba3b6 100644
--- a/net/tools/quic/quic_packet_reader.cc
+++ b/net/tools/quic/quic_packet_reader.cc
@@ -104,12 +104,8 @@ bool QuicPacketReader::ReadAndDispatchPackets(
packets_dropped);
}
- if (FLAGS_quic_read_packets_full_recvmmsg) {
- // We may not have read all of the packets available on the socket.
- return packets_read == kNumPacketsPerReadMmsgCall;
- } else {
- return true;
- }
+ // We may not have read all of the packets available on the socket.
+ return packets_read == kNumPacketsPerReadMmsgCall;
#else
LOG(FATAL) << "Unsupported";
return false;
« no previous file with comments | « net/quic/quic_session.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698