Improve HttpServerPropertiesImpl::GetAlternativeServiceInfos implementation |
|
Issue descriptionThe current HttpServerPropertiesImpl::GetAlternativeServiceInfos implementation is confusing. It doesn't exclude broken alternative services if the alternative service list is directly retrieved based on the original host. However, it does exclude the broken alternative services when the alternative service list is retrieved based on the canonical host. It worth a clean up so that this API semantics is more clear and caller can get more accurate alternative service list.
,
Aug 21
Ah, the .h file says:
// Return all alternative services for |origin|, including broken ones.
// Returned alternative services never have empty hostnames.
virtual AlternativeServiceInfoVector GetAlternativeServiceInfos(
const url::SchemeHostPort& origin) = 0;
I wonder whether we should include those broken alternative services for canonical host as well.
|
|
►
Sign in to add a comment |
|
Comment 1 by zhongyi@chromium.org
, Aug 21