diff options
Diffstat (limited to 'net/url_request')
| -rw-r--r-- | net/url_request/url_request_context_builder.cc | 2 | ||||
| -rw-r--r-- | net/url_request/url_request_context_builder.h | 7 |
2 files changed, 9 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_)); diff --git a/net/url_request/url_request_context_builder.h b/net/url_request/url_request_context_builder.h index affcd4e..a028180 100644 --- a/net/url_request/url_request_context_builder.h +++ b/net/url_request/url_request_context_builder.h @@ -105,6 +105,7 @@ class NET_EXPORT URLRequestContextBuilder { bool quic_close_sessions_on_ip_change; bool quic_migrate_sessions_on_network_change; bool quic_migrate_sessions_early; + bool quic_disable_bidirectional_streams; }; URLRequestContextBuilder(); @@ -276,6 +277,12 @@ class NET_EXPORT URLRequestContextBuilder { quic_migrate_sessions_early; } + void set_quic_disable_bidirectional_streams( + bool quic_disable_bidirectional_streams) { + http_network_session_params_.quic_disable_bidirectional_streams = + quic_disable_bidirectional_streams; + } + void set_throttling_enabled(bool throttling_enabled) { throttling_enabled_ = throttling_enabled; } |
