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

Side by Side Diff: net/http/http_stream_factory.h

Issue 10218007: net: don't remember TLS intolerant servers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing wtc's comments Created 8 years, 8 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_transaction.cc ('k') | net/http/http_stream_factory_impl.h » ('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 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 const SSLConfig& proxy_ssl_config, 173 const SSLConfig& proxy_ssl_config,
174 HttpStreamRequest::Delegate* delegate, 174 HttpStreamRequest::Delegate* delegate,
175 const BoundNetLog& net_log) = 0; 175 const BoundNetLog& net_log) = 0;
176 176
177 // Requests that enough connections for |num_streams| be opened. 177 // Requests that enough connections for |num_streams| be opened.
178 virtual void PreconnectStreams(int num_streams, 178 virtual void PreconnectStreams(int num_streams,
179 const HttpRequestInfo& info, 179 const HttpRequestInfo& info,
180 const SSLConfig& server_ssl_config, 180 const SSLConfig& server_ssl_config,
181 const SSLConfig& proxy_ssl_config) = 0; 181 const SSLConfig& proxy_ssl_config) = 0;
182 182
183 virtual void AddTLSIntolerantServer(const HostPortPair& server) = 0;
184 virtual bool IsTLSIntolerantServer(const HostPortPair& server) const = 0;
185
186 // If pipelining is supported, creates a Value summary of the currently active 183 // If pipelining is supported, creates a Value summary of the currently active
187 // pipelines. Caller assumes ownership of the returned value. Otherwise, 184 // pipelines. Caller assumes ownership of the returned value. Otherwise,
188 // returns an empty Value. 185 // returns an empty Value.
189 virtual base::Value* PipelineInfoToValue() const = 0; 186 virtual base::Value* PipelineInfoToValue() const = 0;
190 187
191 // Static settings 188 // Static settings
192 189
193 // Reset all static settings to initialized values. Used to init test suite. 190 // Reset all static settings to initialized values. Used to init test suite.
194 static void ResetStaticSettingsToInit(); 191 static void ResetStaticSettingsToInit();
195 192
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 static bool http_pipelining_enabled_; 289 static bool http_pipelining_enabled_;
293 static uint16 testing_fixed_http_port_; 290 static uint16 testing_fixed_http_port_;
294 static uint16 testing_fixed_https_port_; 291 static uint16 testing_fixed_https_port_;
295 292
296 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory); 293 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory);
297 }; 294 };
298 295
299 } // namespace net 296 } // namespace net
300 297
301 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_ 298 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_
OLDNEW
« no previous file with comments | « net/http/http_network_transaction.cc ('k') | net/http/http_stream_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698