Chromium Code Reviews
DescriptionRemove ALTERNATIVE_CERT_NOT_VALID_FOR_ORIGIN error code.
Remove ERR_ALTERNATIVE_CERT_NOT_VALID_FOR_ORIGIN error code, because (1) right
now, remote TCP alternative services (where the origin and the alternative
service have different hostnames) are disabled, and (2) in the future, if an
existing connection to the destination of the alternative service with an origin
different from the origin of the request does not have a valid certificate for
the origin of the request, then a new connection to the destination of the
alternative service will be opened with the origin of the request, and if that
connection does not have a valid certificate for the origin of the request, then
that's simply ERR_CERT_COMMON_NAME_INVALID. So there is no need for
ERR_ALTERNATIVE_CERT_NOT_VALID_FOR_ORIGIN.
Also remove ValidSpdySessionPool class, because (1) right now there is no need
for the extra cert verification, and (2) in the future,
SpdySessionPool::FindAvailableSession() and
SpdySessionPool::CreateAvailableSessionFromSocket() will take both an origin and
a destination argument, and will make sure that the SpdySession they return has
a certificate that is valid for the origin.
BUG=615413
Committed: https://crrev.com/9989bd51828a155d65cd9131cee6700d2bb3164e
Cr-Commit-Position: refs/heads/master@{#405342}
Patch Set 1 #
Messages
Total messages: 13 (7 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||