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

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

Issue 1862193002: Enable QUIC for proxies only when QUIC is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed sclittle comments Created 4 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
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_NETWORK_SESSION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_
6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // Enables NPN support. Note that ALPN is always enabled. 103 // Enables NPN support. Note that ALPN is always enabled.
104 bool enable_npn; 104 bool enable_npn;
105 105
106 // Enable setting of HTTP/2 dependencies based on priority. 106 // Enable setting of HTTP/2 dependencies based on priority.
107 bool enable_priority_dependencies; 107 bool enable_priority_dependencies;
108 108
109 // Enables QUIC support. 109 // Enables QUIC support.
110 bool enable_quic; 110 bool enable_quic;
111 // Disable QUIC if a connection times out with open streams. 111 // Disable QUIC if a connection times out with open streams.
112 bool disable_quic_on_timeout_with_open_streams; 112 bool disable_quic_on_timeout_with_open_streams;
113 // Enables QUIC for proxies.
114 bool enable_quic_for_proxies;
115 // Instruct QUIC to use consistent ephemeral ports when talking to 113 // Instruct QUIC to use consistent ephemeral ports when talking to
116 // the same server. 114 // the same server.
117 bool enable_quic_port_selection; 115 bool enable_quic_port_selection;
118 // Disables QUIC's 0-RTT behavior. 116 // Disables QUIC's 0-RTT behavior.
119 bool quic_always_require_handshake_confirmation; 117 bool quic_always_require_handshake_confirmation;
120 // Disables QUIC connection pooling. 118 // Disables QUIC connection pooling.
121 bool quic_disable_connection_pooling; 119 bool quic_disable_connection_pooling;
122 // If not zero, the task to load QUIC server configs from the disk cache 120 // If not zero, the task to load QUIC server configs from the disk cache
123 // will timeout after this value multiplied by the smoothed RTT for the 121 // will timeout after this value multiplied by the smoothed RTT for the
124 // server. 122 // server.
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 291
294 NextProtoVector next_protos_; 292 NextProtoVector next_protos_;
295 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 293 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
296 294
297 Params params_; 295 Params params_;
298 }; 296 };
299 297
300 } // namespace net 298 } // namespace net
301 299
302 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 300 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698