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

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

Issue 275953002: Remove HTTP pipelining support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix line endings Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_network_transaction.cc » ('j') | 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/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/debug/stack_trace.h" 10 #include "base/debug/stack_trace.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 cert_verifier(NULL), 60 cert_verifier(NULL),
61 server_bound_cert_service(NULL), 61 server_bound_cert_service(NULL),
62 transport_security_state(NULL), 62 transport_security_state(NULL),
63 cert_transparency_verifier(NULL), 63 cert_transparency_verifier(NULL),
64 proxy_service(NULL), 64 proxy_service(NULL),
65 ssl_config_service(NULL), 65 ssl_config_service(NULL),
66 http_auth_handler_factory(NULL), 66 http_auth_handler_factory(NULL),
67 network_delegate(NULL), 67 network_delegate(NULL),
68 net_log(NULL), 68 net_log(NULL),
69 host_mapping_rules(NULL), 69 host_mapping_rules(NULL),
70 force_http_pipelining(false),
71 ignore_certificate_errors(false), 70 ignore_certificate_errors(false),
72 http_pipelining_enabled(false),
73 testing_fixed_http_port(0), 71 testing_fixed_http_port(0),
74 testing_fixed_https_port(0), 72 testing_fixed_https_port(0),
75 force_spdy_single_domain(false), 73 force_spdy_single_domain(false),
76 enable_spdy_compression(true), 74 enable_spdy_compression(true),
77 enable_spdy_ping_based_connection_checking(true), 75 enable_spdy_ping_based_connection_checking(true),
78 spdy_default_protocol(kProtoUnknown), 76 spdy_default_protocol(kProtoUnknown),
79 spdy_stream_initial_recv_window_size(0), 77 spdy_stream_initial_recv_window_size(0),
80 spdy_initial_max_concurrent_streams(0), 78 spdy_initial_max_concurrent_streams(0),
81 spdy_max_concurrent_streams_limit(0), 79 spdy_max_concurrent_streams_limit(0),
82 time_func(&base::TimeTicks::Now), 80 time_func(&base::TimeTicks::Now),
(...skipping 16 matching lines...) Expand all
99 97
100 HttpNetworkSession::Params::~Params() {} 98 HttpNetworkSession::Params::~Params() {}
101 99
102 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. 100 // TODO(mbelshe): Move the socket factories into HttpStreamFactory.
103 HttpNetworkSession::HttpNetworkSession(const Params& params) 101 HttpNetworkSession::HttpNetworkSession(const Params& params)
104 : net_log_(params.net_log), 102 : net_log_(params.net_log),
105 network_delegate_(params.network_delegate), 103 network_delegate_(params.network_delegate),
106 http_server_properties_(params.http_server_properties), 104 http_server_properties_(params.http_server_properties),
107 cert_verifier_(params.cert_verifier), 105 cert_verifier_(params.cert_verifier),
108 http_auth_handler_factory_(params.http_auth_handler_factory), 106 http_auth_handler_factory_(params.http_auth_handler_factory),
109 force_http_pipelining_(params.force_http_pipelining),
110 proxy_service_(params.proxy_service), 107 proxy_service_(params.proxy_service),
111 ssl_config_service_(params.ssl_config_service), 108 ssl_config_service_(params.ssl_config_service),
112 normal_socket_pool_manager_( 109 normal_socket_pool_manager_(
113 CreateSocketPoolManager(NORMAL_SOCKET_POOL, params)), 110 CreateSocketPoolManager(NORMAL_SOCKET_POOL, params)),
114 websocket_socket_pool_manager_( 111 websocket_socket_pool_manager_(
115 CreateSocketPoolManager(WEBSOCKET_SOCKET_POOL, params)), 112 CreateSocketPoolManager(WEBSOCKET_SOCKET_POOL, params)),
116 quic_stream_factory_(params.host_resolver, 113 quic_stream_factory_(params.host_resolver,
117 params.client_socket_factory ? 114 params.client_socket_factory ?
118 params.client_socket_factory : 115 params.client_socket_factory :
119 net::ClientSocketFactory::GetDefaultFactory(), 116 net::ClientSocketFactory::GetDefaultFactory(),
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 case WEBSOCKET_SOCKET_POOL: 296 case WEBSOCKET_SOCKET_POOL:
300 return websocket_socket_pool_manager_.get(); 297 return websocket_socket_pool_manager_.get();
301 default: 298 default:
302 NOTREACHED(); 299 NOTREACHED();
303 break; 300 break;
304 } 301 }
305 return NULL; 302 return NULL;
306 } 303 }
307 304
308 } // namespace net 305 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698