summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/rdma/RdmaIO.h
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2010-12-23 17:11:02 +0000
committerAndrew Stitcher <astitcher@apache.org>2010-12-23 17:11:02 +0000
commit6580b2f89fe3e2b5aae21bab83ffaefa38d04eff (patch)
tree33c4ae0a25eee470c091c328a5483484aa581321 /cpp/src/qpid/sys/rdma/RdmaIO.h
parentd94c35aabe03b0c639e502db2c49c3711784ebfb (diff)
downloadqpid-python-6580b2f89fe3e2b5aae21bab83ffaefa38d04eff.tar.gz
Reject attempts to connect with version of rdma protocol we don't understand
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1052324 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/rdma/RdmaIO.h')
-rw-r--r--cpp/src/qpid/sys/rdma/RdmaIO.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/rdma/RdmaIO.h b/cpp/src/qpid/sys/rdma/RdmaIO.h
index 7a72feba4c..3a543e8ad6 100644
--- a/cpp/src/qpid/sys/rdma/RdmaIO.h
+++ b/cpp/src/qpid/sys/rdma/RdmaIO.h
@@ -98,6 +98,8 @@ namespace Rdma {
void returnBuffer(Buffer*);
private:
+ const static int maxSupportedProtocolVersion = 0;
+
// Constants for the peer-peer command messages
// These are sent in the high bits if the imm data of an rdma message
// The low bits are used to send the credit