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

Unified Diff: net/spdy/spdy_test_util_common.cc

Issue 2253653002: Only allow HTTP/0.9 support on default ports. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to comments 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/spdy/spdy_test_util_common.h ('k') | net/test/embedded_test_server/default_handlers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_test_util_common.cc
diff --git a/net/spdy/spdy_test_util_common.cc b/net/spdy/spdy_test_util_common.cc
index bda9c8322b48bb183ae4318dbef9d9f23d1bcbdd..078fa116f22c48683b9837d0e73b46c6ed368621 100644
--- a/net/spdy/spdy_test_util_common.cc
+++ b/net/spdy/spdy_test_util_common.cc
@@ -343,7 +343,8 @@ SpdySessionDependencies::SpdySessionDependencies(
stream_max_recv_window_size(kDefaultInitialWindowSize),
time_func(&base::TimeTicks::Now),
enable_http2_alternative_service_with_different_host(false),
- net_log(NULL) {
+ net_log(nullptr),
+ http_09_on_non_default_ports_enabled(false) {
// Note: The CancelledTransaction test does cleanup by running all
// tasks in the message loop (RunAllPending). Unfortunately, that
// doesn't clean up tasks on the host resolver thread; and
@@ -397,6 +398,8 @@ HttpNetworkSession::Params SpdySessionDependencies::CreateSessionParams(
params.enable_http2_alternative_service_with_different_host =
session_deps->enable_http2_alternative_service_with_different_host;
params.net_log = session_deps->net_log;
+ params.http_09_on_non_default_ports_enabled =
+ session_deps->http_09_on_non_default_ports_enabled;
return params;
}
« no previous file with comments | « net/spdy/spdy_test_util_common.h ('k') | net/test/embedded_test_server/default_handlers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698