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

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

Issue 1603203002: Add a finch trial param to disable QUIC when connection times out with open streams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 spdy_default_protocol(kProtoUnknown), 94 spdy_default_protocol(kProtoUnknown),
95 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize), 95 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize),
96 spdy_stream_max_recv_window_size(kSpdyStreamMaxRecvWindowSize), 96 spdy_stream_max_recv_window_size(kSpdyStreamMaxRecvWindowSize),
97 spdy_initial_max_concurrent_streams(0), 97 spdy_initial_max_concurrent_streams(0),
98 time_func(&base::TimeTicks::Now), 98 time_func(&base::TimeTicks::Now),
99 use_alternative_services(false), 99 use_alternative_services(false),
100 alternative_service_probability_threshold(1), 100 alternative_service_probability_threshold(1),
101 enable_npn(true), 101 enable_npn(true),
102 enable_brotli(false), 102 enable_brotli(false),
103 enable_quic(false), 103 enable_quic(false),
104 disable_quic_when_connection_times_out_with_open_streams(false),
104 enable_quic_for_proxies(false), 105 enable_quic_for_proxies(false),
105 enable_quic_port_selection(true), 106 enable_quic_port_selection(true),
106 quic_always_require_handshake_confirmation(false), 107 quic_always_require_handshake_confirmation(false),
107 quic_disable_connection_pooling(false), 108 quic_disable_connection_pooling(false),
108 quic_load_server_info_timeout_srtt_multiplier(0.25f), 109 quic_load_server_info_timeout_srtt_multiplier(0.25f),
109 quic_enable_connection_racing(false), 110 quic_enable_connection_racing(false),
110 quic_enable_non_blocking_io(false), 111 quic_enable_non_blocking_io(false),
111 quic_disable_disk_cache(false), 112 quic_disable_disk_cache(false),
112 quic_prefer_aes(false), 113 quic_prefer_aes(false),
113 quic_max_number_of_lossy_connections(0), 114 quic_max_number_of_lossy_connections(0),
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 case WEBSOCKET_SOCKET_POOL: 387 case WEBSOCKET_SOCKET_POOL:
387 return websocket_socket_pool_manager_.get(); 388 return websocket_socket_pool_manager_.get();
388 default: 389 default:
389 NOTREACHED(); 390 NOTREACHED();
390 break; 391 break;
391 } 392 }
392 return NULL; 393 return NULL;
393 } 394 }
394 395
395 } // namespace net 396 } // namespace net
OLDNEW
« net/http/http_network_session.h ('K') | « net/http/http_network_session.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698