diff options
| author | Alan Conway <aconway@apache.org> | 2009-07-30 18:46:17 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-07-30 18:46:17 +0000 |
| commit | 2a2ad630c4a7afeca560977fa71759389eca42ba (patch) | |
| tree | 7f1400b40545286cb4ff586bf7aadbe72b44f0f0 /cpp/src/qpid/client/Connector.cpp | |
| parent | adc8062ac65028c1c3daf07a33b24145200d3e20 (diff) | |
| download | qpid-python-2a2ad630c4a7afeca560977fa71759389eca42ba.tar.gz | |
Set protocol versions correctly in cluster code.
Cluster code was broken by a recent checkin to validate protocol
versions. The cluster was not correctly setting the version on both
sides of a connection.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@799401 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/Connector.cpp')
| -rw-r--r-- | cpp/src/qpid/client/Connector.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/Connector.cpp b/cpp/src/qpid/client/Connector.cpp index dca35faacf..f69032b26d 100644 --- a/cpp/src/qpid/client/Connector.cpp +++ b/cpp/src/qpid/client/Connector.cpp @@ -362,7 +362,8 @@ size_t TCPConnector::decode(const char* buffer, size_t size) if (protocolInit.decode(in)) { QPID_LOG(debug, "RECV " << identifier << " INIT(" << protocolInit << ")"); if(!(protocolInit==version)){ - throw Exception(QPID_MSG("Unsupported version: " << protocolInit)); + throw Exception(QPID_MSG("Unsupported version: " << protocolInit + << " supported version " << version)); } } initiated = true; |
