New issue
Advanced search Search tips

Issue 761487 link

Starred by 3 users

Issue metadata

Status: Untriaged
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Improve TCP Backup ConnectJob timeout logic

Project Member Reported by xunji...@chromium.org, Sep 1 2017

Issue description

We start a TCP backup ConnectJob if the first one doesn't finish in 250ms (kMaxConnectRetryIntervalMs). If DNS resolution takes a long time, we will start TCP backup Jobs will also get stuck in DNS resolution. 
When DNS completes, these backup jobs (6 of them) will be attempting TLS handshakes at the same time.

On mobile, doing extra TLS handshakes can be costly. It will help if we can make the backup timeout logic aware of DNS resolution.
I haven't looked into this closely.  This is filed by a Cronet consumer. I think it's worth investigating especially given CPU time and other resource is critical on mobile.
 
I started a discussion thread on net-dev@: https://groups.google.com/a/chromium.org/d/msg/net-dev/PwMhnUDK8CE/qBh-FfA0BgAJ

Sign in to add a comment