Merge pull request #4264 from the-wes/master

clarify protocol error message
This commit is contained in:
the-wes
2014-12-08 10:42:16 -08:00

View File

@@ -659,7 +659,7 @@ Client::handleHello(const Event&, void*)
{
SInt16 major, minor;
if (!ProtocolUtil::readf(m_stream, kMsgHello, &major, &minor)) {
sendConnectionFailedEvent("Protocol error from server");
sendConnectionFailedEvent("Protocol error from server, check encryption settings");
cleanupTimer();
cleanupConnection();
return;