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

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

Issue 2301453002: Quic use reduced PING timeout when previous connection times out with open streams (Closed)
Patch Set: address nits Created 4 years, 3 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 QuicVersionVector quic_supported_versions; 157 QuicVersionVector quic_supported_versions;
158 int quic_max_recent_disabled_reasons; 158 int quic_max_recent_disabled_reasons;
159 int quic_threshold_public_resets_post_handshake; 159 int quic_threshold_public_resets_post_handshake;
160 int quic_threshold_timeouts_streams_open; 160 int quic_threshold_timeouts_streams_open;
161 // Set of QUIC tags to send in the handshake's connection options. 161 // Set of QUIC tags to send in the handshake's connection options.
162 QuicTagVector quic_connection_options; 162 QuicTagVector quic_connection_options;
163 // If true, all QUIC sessions are closed when any local IP address changes. 163 // If true, all QUIC sessions are closed when any local IP address changes.
164 bool quic_close_sessions_on_ip_change; 164 bool quic_close_sessions_on_ip_change;
165 // Specifies QUIC idle connection state lifetime. 165 // Specifies QUIC idle connection state lifetime.
166 int quic_idle_connection_timeout_seconds; 166 int quic_idle_connection_timeout_seconds;
167 // Specifies the reduced ping timeout subsequent connections should use when
168 // a connection was timed out with open streams.
169 int quic_reduced_ping_timeout_seconds;
167 // Specifies the maximum time duration that QUIC packet reader can perform 170 // Specifies the maximum time duration that QUIC packet reader can perform
168 // consecutive packets reading. 171 // consecutive packets reading.
169 int quic_packet_reader_yield_after_duration_milliseconds; 172 int quic_packet_reader_yield_after_duration_milliseconds;
170 // If true, disable preconnections if QUIC can do 0RTT. 173 // If true, disable preconnections if QUIC can do 0RTT.
171 bool quic_disable_preconnect_if_0rtt; 174 bool quic_disable_preconnect_if_0rtt;
172 // List of hosts for which QUIC is explicitly whitelisted. 175 // List of hosts for which QUIC is explicitly whitelisted.
173 std::unordered_set<std::string> quic_host_whitelist; 176 std::unordered_set<std::string> quic_host_whitelist;
174 // If true, active QUIC sessions may be migrated onto a new network when 177 // If true, active QUIC sessions may be migrated onto a new network when
175 // the platform indicates that the default network is changing. 178 // the platform indicates that the default network is changing.
176 bool quic_migrate_sessions_on_network_change; 179 bool quic_migrate_sessions_on_network_change;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 308 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
306 309
307 Params params_; 310 Params params_;
308 311
309 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; 312 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_;
310 }; 313 };
311 314
312 } // namespace net 315 } // namespace net
313 316
314 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 317 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « components/network_session_configurator/network_session_configurator_unittest.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698