DescriptionRemove |certificate_error_code| and SpdySession::TryAccessStream().
SpdySessionPool::CreateAvailableSessionFromSocket() is always called with a
hardcoded OK value for its |certificate_error_code| argument, so this can be
removed. SpdySession::InitializeWithSocket() is only called from
SpdySessionPool::CreateAvailableSessionFromSocket() with |certificate_error_code
== OK|, so that argument can be removed as well. Then
SpdySession::certificate_error_code_ member is always OK, so that can be removed
as well. This makes SpdySession::TryAccessStream() always return OK, so that
can also be removed.
Metrics show that
SpdyProtocolErrorDetails::PROTOCOL_ERROR_REQUEST_FOR_SECURE_CONTENT_OVER_INSECURE_SESSION
is almost never (1e-11 of all counts) logged in Net.SpdySessionErrorDetails2.
BUG=624073
Committed: https://crrev.com/2c06a30cf92373b0cb4b721a4a8dac6d72635b93
Cr-Commit-Position: refs/heads/master@{#421250}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 12 (7 generated)
|