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

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

Issue 1320303009: relnote: Allow individual QUIC writers to limit the maximum packet size. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0909_1
Patch Set: Created 5 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_simple_server_packet_writer.h ('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_simple_server_packet_writer.cc
diff --git a/net/tools/quic/quic_simple_server_packet_writer.cc b/net/tools/quic/quic_simple_server_packet_writer.cc
index aaa8689f8dc90381b31803d91b551a9d01a0a235..78ac16f3a8ab2124b7e662b8556057305120f967 100644
--- a/net/tools/quic/quic_simple_server_packet_writer.cc
+++ b/net/tools/quic/quic_simple_server_packet_writer.cc
@@ -97,5 +97,10 @@ WriteResult QuicSimpleServerPacketWriter::WritePacket(
return WriteResult(status, rv);
}
+QuicByteCount QuicSimpleServerPacketWriter::GetMaxPacketSize(
+ const IPEndPoint& peer_address) const {
+ return kMaxPacketSize;
+}
+
} // namespace tools
} // namespace net
« no previous file with comments | « net/tools/quic/quic_simple_server_packet_writer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698