clarify protocol error message
This commit is contained in:
parent
4caaa08ade
commit
a99bea9d3b
|
@ -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