Merge pull request #4264 from the-wes/master
clarify protocol error message
This commit is contained in:
commit
f148ff0bb3
|
@ -659,7 +659,7 @@ Client::handleHello(const Event&, void*)
|
||||||
{
|
{
|
||||||
SInt16 major, minor;
|
SInt16 major, minor;
|
||||||
if (!ProtocolUtil::readf(m_stream, kMsgHello, &major, &minor)) {
|
if (!ProtocolUtil::readf(m_stream, kMsgHello, &major, &minor)) {
|
||||||
sendConnectionFailedEvent("Protocol error from server");
|
sendConnectionFailedEvent("Protocol error from server, check encryption settings");
|
||||||
cleanupTimer();
|
cleanupTimer();
|
||||||
cleanupConnection();
|
cleanupConnection();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue