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

Side by Side Diff: net/test/spawned_test_server/base_test_server.h

Issue 981723008: Unwind the SSL connection holdback experiment and remove related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename & reformat Created 5 years, 9 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_ 5 #ifndef NET_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_
6 #define NET_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_ 6 #define NET_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 202
203 // Whether to staple the OCSP response. 203 // Whether to staple the OCSP response.
204 bool staple_ocsp_response; 204 bool staple_ocsp_response;
205 205
206 // Whether to make the OCSP server unavailable. This does not affect the 206 // Whether to make the OCSP server unavailable. This does not affect the
207 // stapled OCSP response. 207 // stapled OCSP response.
208 bool ocsp_server_unavailable; 208 bool ocsp_server_unavailable;
209 209
210 // Whether to enable NPN support. 210 // Whether to enable NPN support.
211 bool enable_npn; 211 bool enable_npn;
212
213 // Whether to disable TLS session caching. When session caching is
214 // disabled, the server will use an empty session ID in the
215 // ServerHello.
216 bool disable_session_cache;
217 }; 212 };
218 213
219 // Pass as the 'host' parameter during construction to server on 127.0.0.1 214 // Pass as the 'host' parameter during construction to server on 127.0.0.1
220 static const char kLocalhost[]; 215 static const char kLocalhost[];
221 216
222 // Initialize a TestServer listening on a specific host (IP or hostname). 217 // Initialize a TestServer listening on a specific host (IP or hostname).
223 BaseTestServer(Type type, const std::string& host); 218 BaseTestServer(Type type, const std::string& host);
224 219
225 // Initialize a TestServer with a specific set of SSLOptions for HTTPS or WSS. 220 // Initialize a TestServer with a specific set of SSLOptions for HTTPS or WSS.
226 BaseTestServer(Type type, const SSLOptions& ssl_options); 221 BaseTestServer(Type type, const SSLOptions& ssl_options);
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 bool ws_basic_auth_; 324 bool ws_basic_auth_;
330 325
331 scoped_ptr<ScopedPortException> allowed_port_; 326 scoped_ptr<ScopedPortException> allowed_port_;
332 327
333 DISALLOW_COPY_AND_ASSIGN(BaseTestServer); 328 DISALLOW_COPY_AND_ASSIGN(BaseTestServer);
334 }; 329 };
335 330
336 } // namespace net 331 } // namespace net
337 332
338 #endif // NET_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_ 333 #endif // NET_TEST_SPAWNED_TEST_SERVER_BASE_TEST_SERVER_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_session_cache_openssl.cc ('k') | net/test/spawned_test_server/base_test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698