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

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

Issue 2789093003: Mark QUIC broken when the network blackholes after the handshake (Closed)
Patch Set: jana's comments Created 3 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
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_network_transaction.cc » ('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 #include "net/http/http_network_session.h" 5 #include "net/http/http_network_session.h"
6 6
7 #include <inttypes.h> 7 #include <inttypes.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 testing_fixed_http_port(0), 119 testing_fixed_http_port(0),
120 testing_fixed_https_port(0), 120 testing_fixed_https_port(0),
121 enable_tcp_fast_open_for_ssl(false), 121 enable_tcp_fast_open_for_ssl(false),
122 enable_spdy_ping_based_connection_checking(true), 122 enable_spdy_ping_based_connection_checking(true),
123 enable_http2(true), 123 enable_http2(true),
124 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize), 124 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize),
125 time_func(&base::TimeTicks::Now), 125 time_func(&base::TimeTicks::Now),
126 enable_http2_alternative_service_with_different_host(false), 126 enable_http2_alternative_service_with_different_host(false),
127 enable_quic_alternative_service_with_different_host(true), 127 enable_quic_alternative_service_with_different_host(true),
128 enable_quic(false), 128 enable_quic(false),
129 mark_quic_broken_when_network_blackholes(false),
129 quic_always_require_handshake_confirmation(false), 130 quic_always_require_handshake_confirmation(false),
130 quic_disable_connection_pooling(false), 131 quic_disable_connection_pooling(false),
131 quic_load_server_info_timeout_srtt_multiplier(0.25f), 132 quic_load_server_info_timeout_srtt_multiplier(0.25f),
132 quic_enable_connection_racing(false), 133 quic_enable_connection_racing(false),
133 quic_enable_non_blocking_io(false), 134 quic_enable_non_blocking_io(false),
134 quic_disable_disk_cache(false), 135 quic_disable_disk_cache(false),
135 quic_prefer_aes(false), 136 quic_prefer_aes(false),
136 quic_socket_receive_buffer_size(kQuicSocketReceiveBufferSize), 137 quic_socket_receive_buffer_size(kQuicSocketReceiveBufferSize),
137 quic_delay_tcp_race(true), 138 quic_delay_tcp_race(true),
138 quic_max_server_configs_stored_in_properties(0u), 139 quic_max_server_configs_stored_in_properties(0u),
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 params.quic_disable_connection_pooling, 203 params.quic_disable_connection_pooling,
203 params.quic_load_server_info_timeout_srtt_multiplier, 204 params.quic_load_server_info_timeout_srtt_multiplier,
204 params.quic_enable_connection_racing, 205 params.quic_enable_connection_racing,
205 params.quic_enable_non_blocking_io, 206 params.quic_enable_non_blocking_io,
206 params.quic_disable_disk_cache, 207 params.quic_disable_disk_cache,
207 params.quic_prefer_aes, 208 params.quic_prefer_aes,
208 params.quic_socket_receive_buffer_size, 209 params.quic_socket_receive_buffer_size,
209 params.quic_delay_tcp_race, 210 params.quic_delay_tcp_race,
210 params.quic_max_server_configs_stored_in_properties, 211 params.quic_max_server_configs_stored_in_properties,
211 params.quic_close_sessions_on_ip_change, 212 params.quic_close_sessions_on_ip_change,
213 params.mark_quic_broken_when_network_blackholes,
212 params.quic_idle_connection_timeout_seconds, 214 params.quic_idle_connection_timeout_seconds,
213 params.quic_reduced_ping_timeout_seconds, 215 params.quic_reduced_ping_timeout_seconds,
214 params.quic_packet_reader_yield_after_duration_milliseconds, 216 params.quic_packet_reader_yield_after_duration_milliseconds,
215 params.quic_migrate_sessions_on_network_change, 217 params.quic_migrate_sessions_on_network_change,
216 params.quic_migrate_sessions_early, 218 params.quic_migrate_sessions_early,
217 params.quic_allow_server_migration, 219 params.quic_allow_server_migration,
218 params.quic_force_hol_blocking, 220 params.quic_force_hol_blocking,
219 params.quic_race_cert_verification, 221 params.quic_race_cert_verification,
220 params.quic_do_not_fragment, 222 params.quic_do_not_fragment,
221 params.quic_estimate_initial_rtt, 223 params.quic_estimate_initial_rtt,
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 CloseIdleConnections(); 481 CloseIdleConnections();
480 break; 482 break;
481 } 483 }
482 } 484 }
483 485
484 void HttpNetworkSession::OnPurgeMemory() { 486 void HttpNetworkSession::OnPurgeMemory() {
485 CloseIdleConnections(); 487 CloseIdleConnections();
486 } 488 }
487 489
488 } // namespace net 490 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698