Commit 64a299b8 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Verify key when remote server is reusing existing connection.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1518 b35dd754-fafc-0310-a699-88a17e54d16e
parent ebef8c42
......@@ -151,6 +151,12 @@ public class ServerSocketReader extends SocketReader {
}
return true;
}
else if ("db".equals(doc.getNamespacePrefix()) && "verify".equals(doc.getName())) {
// The Receiving Server is reusing an existing connection for sending the
// Authoritative Server a request for verification of a key
((IncomingServerSession) session).verifyReceivedKey(doc);
return true;
}
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment