Chromium Code Reviews
DescriptionSplit enable_alternative_service_with_different_host flag.
Split enable_alternative_service_with_different_host flag into separate HTTP/2
and QUIC flags. Also remove
* unnecessary assigments from tests,
* test in DataReductionProxyIODataTest.TestConstruction: it is moot because both
HTTP/2 and QUIC are disabled anyway,
* assignment from UrlRequestContextBuilder, see justification below.
HTTP/2 AltSvc for alternative service host different from that of the origin is
currently broken, see linked bug. Therefore
enable_http2_alternative_service_with_different_host is disabled in production
and for all tests for the time being. It will be used in writing tests when
fixing the linked bug. Also, this flag will make it easier to remove flag
enable_alternative_services_for_insecure_origins from tests. Also, no clients
of the network stack should be able to flip this flag directly because of the
linked bug, that is why it is not added to UrlRequestContextBuilder.
On the other hand, QUIC AltSvc works correctly, thus
enable_quic_alternative_service_with_different_host is enabled by default both
in production and tests. It is only there temporarily as a kill switch in case
something goes wrong, and will eventually be removed. Therefore no clients of
the network stack should have the need to flip this flag directly. Furthermore,
this flag is moot if QUIC is disabled. That is why it is not added to
UrlRequestContextBuilder.
BUG=615413
Committed: https://crrev.com/a8681534b79e6352c68fe106e2433fa92d0f5671
Cr-Commit-Position: refs/heads/master@{#402154}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 12 (4 generated)
|