summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request_context_builder.cc
diff options
context:
space:
mode:
authorxunjieli <xunjieli@chromium.org>2016-03-18 14:05:09 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-18 21:06:25 +0000
commit888c2992e286221aaf7bac8b08c8b8a0399d06bc (patch)
treea1ce74b5001ebf1d3fc462426caa6ad9b971e1b4 /net/url_request/url_request_context_builder.cc
parent7e4a661dd6f79f847d878be5651d8e7bd662a7f4 (diff)
downloadchromium_src-888c2992e286221aaf7bac8b08c8b8a0399d06bc.zip
chromium_src-888c2992e286221aaf7bac8b08c8b8a0399d06bc.tar.gz
chromium_src-888c2992e286221aaf7bac8b08c8b8a0399d06bc.tar.bz2
Add an option to disable net::BidirectionalStreamQuicImpl
This CL adds an option to disable net::BidirectionalStreamQuicImpl in net::HttpNetworkSession. When the flag is set to true, alternative service job will not be negotiated. BUG=584338 Review URL: https://codereview.chromium.org/1796253002 Cr-Commit-Position: refs/heads/master@{#382084}
Diffstat (limited to 'net/url_request/url_request_context_builder.cc')
-rw-r--r--net/url_request/url_request_context_builder.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/url_request/url_request_context_builder.cc b/net/url_request/url_request_context_builder.cc
index bd59db6..2024e7a 100644
--- a/net/url_request/url_request_context_builder.cc
+++ b/net/url_request/url_request_context_builder.cc
@@ -431,6 +431,8 @@ scoped_ptr<URLRequestContext> URLRequestContextBuilder::Build() {
http_network_session_params_.quic_prefer_aes;
network_session_params.quic_migrate_sessions_early =
http_network_session_params_.quic_migrate_sessions_early;
+ network_session_params.quic_disable_bidirectional_streams =
+ http_network_session_params_.quic_disable_bidirectional_streams;
if (proxy_delegate_) {
network_session_params.proxy_delegate = proxy_delegate_.get();
storage->set_proxy_delegate(std::move(proxy_delegate_));