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

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

Issue 1610943002: Disable QUIC when a connection timesout with open streams by setting threshold value to 1 when flag… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DISABLE_QUIC_WHEN_CONNECTION_TIMEOUT
Patch Set: param name change Created 4 years, 11 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
« no previous file with comments | « no previous file | net/quic/quic_stream_factory.h » ('j') | net/quic/quic_stream_factory_test.cc » ('J')
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/atomic_sequence_num.h" 9 #include "base/atomic_sequence_num.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 params.quic_prefer_aes, 172 params.quic_prefer_aes,
173 params.quic_max_number_of_lossy_connections, 173 params.quic_max_number_of_lossy_connections,
174 params.quic_packet_loss_threshold, 174 params.quic_packet_loss_threshold,
175 params.quic_max_recent_disabled_reasons, 175 params.quic_max_recent_disabled_reasons,
176 params.quic_threshold_public_resets_post_handshake, 176 params.quic_threshold_public_resets_post_handshake,
177 params.quic_threshold_timeouts_streams_open, 177 params.quic_threshold_timeouts_streams_open,
178 params.quic_socket_receive_buffer_size, 178 params.quic_socket_receive_buffer_size,
179 params.quic_delay_tcp_race, 179 params.quic_delay_tcp_race,
180 params.quic_max_server_configs_stored_in_properties, 180 params.quic_max_server_configs_stored_in_properties,
181 params.quic_close_sessions_on_ip_change, 181 params.quic_close_sessions_on_ip_change,
182 params.disable_quic_on_timeout_with_open_streams,
182 params.quic_idle_connection_timeout_seconds, 183 params.quic_idle_connection_timeout_seconds,
183 params.quic_migrate_sessions_on_network_change, 184 params.quic_migrate_sessions_on_network_change,
184 params.quic_connection_options), 185 params.quic_connection_options),
185 spdy_session_pool_(params.host_resolver, 186 spdy_session_pool_(params.host_resolver,
186 params.ssl_config_service, 187 params.ssl_config_service,
187 params.http_server_properties, 188 params.http_server_properties,
188 params.transport_security_state, 189 params.transport_security_state,
189 params.enable_spdy_compression, 190 params.enable_spdy_compression,
190 params.enable_spdy_ping_based_connection_checking, 191 params.enable_spdy_ping_based_connection_checking,
191 params.spdy_default_protocol, 192 params.spdy_default_protocol,
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 case WEBSOCKET_SOCKET_POOL: 388 case WEBSOCKET_SOCKET_POOL:
388 return websocket_socket_pool_manager_.get(); 389 return websocket_socket_pool_manager_.get();
389 default: 390 default:
390 NOTREACHED(); 391 NOTREACHED();
391 break; 392 break;
392 } 393 }
393 return NULL; 394 return NULL;
394 } 395 }
395 396
396 } // namespace net 397 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_stream_factory.h » ('j') | net/quic/quic_stream_factory_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698