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

Unified Diff: net/spdy/spdy_test_util_spdy3.cc

Issue 10479014: Increase Chrome SPDY/3 stream receive window to 10MB. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix raman's comments Created 8 years, 6 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/spdy/spdy_session_spdy3_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_test_util_spdy3.cc
diff --git a/net/spdy/spdy_test_util_spdy3.cc b/net/spdy/spdy_test_util_spdy3.cc
index bc796318302ccb3c9a5687abfeec88088bc225e3..e872d90675f34ab632bd3860e512ce518cbf750b 100644
--- a/net/spdy/spdy_test_util_spdy3.cc
+++ b/net/spdy/spdy_test_util_spdy3.cc
@@ -991,6 +991,10 @@ const SpdyHeaderInfo MakeSpdyHeader(SpdyControlType type) {
SpdyTestStateHelper::SpdyTestStateHelper() {
// Pings can be non-deterministic, because they are sent via timer.
SpdySession::set_enable_ping_based_connection_checking(false);
+ // Avoid sending a non-default initial receive window size settings
+ // frame on every test.
+ SpdySession::set_default_initial_recv_window_size(
+ kSpdyStreamInitialWindowSize);
// Compression is per-session which makes it impossible to create
// SPDY frames with static methods.
BufferedSpdyFramer::set_enable_compression_default(false);
« no previous file with comments | « net/spdy/spdy_session_spdy3_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698