diff options
author | bnc <bnc@chromium.org> | 2015-08-26 12:34:56 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-26 19:35:46 +0000 |
commit | 54ec34b7c174848672fc3ea08aba7289630df4a3 (patch) | |
tree | 3ad888f8d407f512616a1ff529c49c6fb4ab2e15 /net/http/http_server_properties.cc | |
parent | 2e31d26ba3287cba63824b0c43b0494b3afc6b61 (diff) | |
download | chromium_src-54ec34b7c174848672fc3ea08aba7289630df4a3.zip chromium_src-54ec34b7c174848672fc3ea08aba7289630df4a3.tar.gz chromium_src-54ec34b7c174848672fc3ea08aba7289630df4a3.tar.bz2 |
Change |use_alternative_service| not to disable Alternate Protocols.
Currently, HttpNetworkSession::Params::use_alternative_service controls both
Alternate Protocols and Alternative Services. However, Alternate Protocols is
fully rolled out, therefore there is not need to disable it.
This CL changes |use_alternative_service| to
* disable parsing Alt-Svc headers (but not Alternate-Protocol ones);
* disable following saved alternative service entries that point to different
hosts (but not ones that point to the same host).
The latter is necessary because a browser session might have this flag enabled
and might save alternative services to disk, which we do not really want to
follow in the next browser session if the flag is disabled. (Ones discovered
through Alt-Svc pointing to the same host will still be respected.)
BUG=524141
Review URL: https://codereview.chromium.org/1310583002
Cr-Commit-Position: refs/heads/master@{#345640}
Diffstat (limited to 'net/http/http_server_properties.cc')
0 files changed, 0 insertions, 0 deletions