commit | a0cb4a2c444e544df98dfadfcaf188b64bd547a0 | [log] [tgz] |
---|---|---|
author | Renjie <[email protected]> | Wed Sep 26 23:37:30 2018 |
committer | Commit Bot <[email protected]> | Wed Sep 26 23:37:30 2018 |
tree | 80e23ca1204d1a83877b244e48431312f45a4711 | |
parent | ecd3faa98ab68e30602e5cebc0c547f58ec00356 [diff] |
Add experiment of racing stale dns on connection. In QuicStreamFactory::Job, chances are host resolution won't return synchronously. While waiting for the host resolution callback, the stale host resolver will be queried, and a connection from the stale host result will be established but not confirmed. After host resolution returns, the two IP addresses will be compared. If they match, the connection will be confirmed. Otherwise the connection from stale host will be closed and connection from the fresh resolution will be established. Bug: 787942 Change-Id: I7a5f78ec42e97778d7c7d200f4d8ac894611fd19 Reviewed-on: https://chromium-review.googlesource.com/1186112 Commit-Queue: Renjie Tang <[email protected]> Reviewed-by: Ryan Hamilton <[email protected]> Cr-Commit-Position: refs/heads/master@{#594522}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .