New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 780964 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android , iOS
Pri: 3
Type: Bug



Sign in to add a comment

[Cronet] Expose QUIC handshake timeout as experimental options.

Project Member Reported by mef@chromium.org, Nov 2 2017

Issue description

We should consider increasing the handshake timeout from the current defaults of 5 seconds for idle timeout and 10 for total timeout.  

These were conservative numbers picked a while ago, and there's evidence they're too short.  If a large portion of connections are using TCP, that's good evidence the timeouts are too short.

Currently Cronet doesn't expose any knobs to configure those, but QuicConfig has

set_max_time_before_crypto_handshake()
set_max_idle_time_before_crypto_handshake()

We should add Cronet experimental options to adjust those.
​
 

Comment 1 by rch@chromium.org, Nov 10 2017

Owner: wangyix@chromium.org
wangyix: can you take a look at this?

Comment 2 by pkl@chromium.org, Nov 13 2017

Status: Assigned (was: Untriaged)
Can this actually be changed on iOS?
Project Member

Comment 3 by bugdroid1@chromium.org, Nov 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/98387515ac91eae9fea10ce175eadfb30ddb385a

commit 98387515ac91eae9fea10ce175eadfb30ddb385a
Author: Yixin Wang <wangyix@chromium.org>
Date: Tue Nov 21 20:30:13 2017

Allow HttpNetworkSession::Params::quic_max(_idle)_time_before_crypto_handshake to be set by Cronet experiments

Bug:  780964 
Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: Ib405bcdd6ae986f0eb2f6e1be9f360a61dbf1e3c
Reviewed-on: https://chromium-review.googlesource.com/778043
Commit-Queue: Yixin Wang <wangyix@chromium.org>
Reviewed-by: Ryan Hamilton <rch@chromium.org>
Reviewed-by: Misha Efimov <mef@chromium.org>
Cr-Commit-Position: refs/heads/master@{#518366}
[modify] https://crrev.com/98387515ac91eae9fea10ce175eadfb30ddb385a/components/cronet/url_request_context_config.cc
[modify] https://crrev.com/98387515ac91eae9fea10ce175eadfb30ddb385a/components/cronet/url_request_context_config_unittest.cc

Status: Fixed (was: Assigned)

Comment 5 by rch@google.com, Nov 21 2017

Has go/cronet-experimental-options been updated to reflect the new options?
rch@: yes, it has been updated.

Sign in to add a comment