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

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

Issue 2227553003: Use the CHLO packet size, not message size when determining how large a REJ can be. Protected by --… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@129101660
Patch Set: Created 4 years, 4 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/stateless_rejector.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/stateless_rejector_test.cc
diff --git a/net/tools/quic/stateless_rejector_test.cc b/net/tools/quic/stateless_rejector_test.cc
index 9e612bd8aa9b61392b7aac6c562b60027c2350df..a2d890845dabe34f9b7ecd325f6d3d34c3aa8d53 100644
--- a/net/tools/quic/stateless_rejector_test.cc
+++ b/net/tools/quic/stateless_rejector_test.cc
@@ -68,6 +68,7 @@ class StatelessRejectorTest : public ::testing::TestWithParam<TestParams> {
&compressed_certs_cache_,
&clock_,
QuicRandom::GetInstance(),
+ kDefaultMaxPacketSize,
IPEndPoint(net::test::Loopback4(), 12345),
IPEndPoint(net::test::Loopback4(), 443)) {
FLAGS_enable_quic_stateless_reject_support =
« no previous file with comments | « net/tools/quic/stateless_rejector.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698