commit | 53c597641f548317315a355a229db3e51441f90e | [log] [tgz] |
---|---|---|
author | Matt Menke <[email protected]> | Thu Sep 14 16:38:12 2017 |
committer | Commit Bot <[email protected]> | Thu Sep 14 16:38:12 2017 |
tree | abae725e7498817d8a77b113f4d2f4739b782d03 | |
parent | d87c6ae8a330ba864c7873e04a0c09aa0af7941a [diff] |
Rework TCP FastOpen configuration, and connect it to the network service TCP FastOpen used to be enabled by triggering a global probe and providing a global setting, which were then used to determine if requests should try to use TCP FastOpen, and if they actually could use it (One bool for each). This CL refactors the enabled boolean to be a property of HttpNetworkSession. The probe is still done globally, but it's now triggered lazily at the socket layer, rather than having to be explicitly run by the embedder. Since it's a non-blocking probe, that means that until the probe is complete, requests won't use FastOpen, even if enabled. Enabling the bool on HttpNetworkSession is now hooked up through the NetworkSessionConfigurator, which means that TCP FastOpen is will now work when the network service is enabled as well. Bug: 750417 Change-Id: Iec20e24b75ef166906d97660edd9f7b2d7d28a17 Reviewed-on: https://chromium-review.googlesource.com/663439 Commit-Queue: Matt Menke <[email protected]> Reviewed-by: John Abd-El-Malek <[email protected]> Reviewed-by: Jana Iyengar <[email protected]> Reviewed-by: Ryan Hamilton <[email protected]> Cr-Commit-Position: refs/heads/master@{#501965}
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 .