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

Side by Side Diff: net/http/http_network_session.cc

Issue 2656373002: Revert of Enable HTTP/0.9 on non-standard ports by default (Closed)
Patch Set: Oops Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/net/errorpage_browsertest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/http/http_network_session.h" 5 #include "net/http/http_network_session.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/atomic_sequence_num.h" 9 #include "base/atomic_sequence_num.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 quic_migrate_sessions_on_network_change(false), 150 quic_migrate_sessions_on_network_change(false),
151 quic_migrate_sessions_early(false), 151 quic_migrate_sessions_early(false),
152 quic_allow_server_migration(false), 152 quic_allow_server_migration(false),
153 quic_disable_bidirectional_streams(false), 153 quic_disable_bidirectional_streams(false),
154 quic_force_hol_blocking(false), 154 quic_force_hol_blocking(false),
155 quic_race_cert_verification(false), 155 quic_race_cert_verification(false),
156 quic_do_not_fragment(false), 156 quic_do_not_fragment(false),
157 quic_do_not_mark_as_broken_on_network_change(false), 157 quic_do_not_mark_as_broken_on_network_change(false),
158 proxy_delegate(nullptr), 158 proxy_delegate(nullptr),
159 enable_token_binding(false), 159 enable_token_binding(false),
160 http_09_on_non_default_ports_enabled(true), 160 http_09_on_non_default_ports_enabled(false),
161 restrict_to_one_preconnect_for_proxies(false) { 161 restrict_to_one_preconnect_for_proxies(false) {
162 quic_supported_versions.push_back(QUIC_VERSION_35); 162 quic_supported_versions.push_back(QUIC_VERSION_35);
163 } 163 }
164 164
165 HttpNetworkSession::Params::Params(const Params& other) = default; 165 HttpNetworkSession::Params::Params(const Params& other) = default;
166 166
167 HttpNetworkSession::Params::~Params() {} 167 HttpNetworkSession::Params::~Params() {}
168 168
169 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. 169 // TODO(mbelshe): Move the socket factories into HttpStreamFactory.
170 HttpNetworkSession::HttpNetworkSession(const Params& params) 170 HttpNetworkSession::HttpNetworkSession(const Params& params)
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 break; 490 break;
491 case base::MemoryState::SUSPENDED: 491 case base::MemoryState::SUSPENDED:
492 // Note: Not supported at present. Fall through. 492 // Note: Not supported at present. Fall through.
493 case base::MemoryState::UNKNOWN: 493 case base::MemoryState::UNKNOWN:
494 NOTREACHED(); 494 NOTREACHED();
495 break; 495 break;
496 } 496 }
497 } 497 }
498 498
499 } // namespace net 499 } // namespace net
OLDNEW
« no previous file with comments | « chrome/browser/net/errorpage_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698