提交 5479f8df 编写于 作者: X xuelei

7009794: misleading text in SSLHandshakeException exception message

Summary: update the warning message
Reviewed-by: weijun
上级 662d42d4
......@@ -377,8 +377,8 @@ final class ClientHandshaker extends Handshaker {
ProtocolVersion mesgVersion = mesg.protocolVersion;
if (!isNegotiable(mesgVersion)) {
throw new SSLHandshakeException(
"Server chose unsupported or disabled protocol: " +
mesgVersion);
"Server chose " + mesgVersion +
", but client does not support or disables " + mesgVersion);
}
handshakeHash.protocolDetermined(mesgVersion);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册