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

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

Issue 2651753002: Enable HTTP/0.9 on non-standard ports by default (Closed)
Patch Set: Fix test 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 quic_disable_preconnect_if_0rtt(false), 148 quic_disable_preconnect_if_0rtt(false),
149 quic_migrate_sessions_on_network_change(false), 149 quic_migrate_sessions_on_network_change(false),
150 quic_migrate_sessions_early(false), 150 quic_migrate_sessions_early(false),
151 quic_allow_server_migration(false), 151 quic_allow_server_migration(false),
152 quic_disable_bidirectional_streams(false), 152 quic_disable_bidirectional_streams(false),
153 quic_force_hol_blocking(false), 153 quic_force_hol_blocking(false),
154 quic_race_cert_verification(false), 154 quic_race_cert_verification(false),
155 quic_do_not_fragment(false), 155 quic_do_not_fragment(false),
156 proxy_delegate(nullptr), 156 proxy_delegate(nullptr),
157 enable_token_binding(false), 157 enable_token_binding(false),
158 http_09_on_non_default_ports_enabled(false), 158 http_09_on_non_default_ports_enabled(true),
159 restrict_to_one_preconnect_for_proxies(false) { 159 restrict_to_one_preconnect_for_proxies(false) {
160 quic_supported_versions.push_back(QUIC_VERSION_35); 160 quic_supported_versions.push_back(QUIC_VERSION_35);
161 } 161 }
162 162
163 HttpNetworkSession::Params::Params(const Params& other) = default; 163 HttpNetworkSession::Params::Params(const Params& other) = default;
164 164
165 HttpNetworkSession::Params::~Params() {} 165 HttpNetworkSession::Params::~Params() {}
166 166
167 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. 167 // TODO(mbelshe): Move the socket factories into HttpStreamFactory.
168 HttpNetworkSession::HttpNetworkSession(const Params& params) 168 HttpNetworkSession::HttpNetworkSession(const Params& params)
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 break; 484 break;
485 case base::MemoryState::SUSPENDED: 485 case base::MemoryState::SUSPENDED:
486 // Note: Not supported at present. Fall through. 486 // Note: Not supported at present. Fall through.
487 case base::MemoryState::UNKNOWN: 487 case base::MemoryState::UNKNOWN:
488 NOTREACHED(); 488 NOTREACHED();
489 break; 489 break;
490 } 490 }
491 } 491 }
492 492
493 } // namespace net 493 } // 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