summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2014-08-05 19:50:47 +0000
committerGordon Sim <gsim@apache.org>2014-08-05 19:50:47 +0000
commitafd158d1c93d184f1cfea07b8b24c55920faf129 (patch)
tree8827156cc70247235116194bf25c95d8062a81ef /cpp/src/qpid
parentf20f752fc8631cfc1a3ff49cd990022826e6bbd7 (diff)
downloadqpid-python-afd158d1c93d184f1cfea07b8b24c55920faf129.tar.gz
QPID-5963: fix from Chris Richardson to prevent broker incorrecctly thinking it has decoded protocol header when it has not
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1615991 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid')
-rw-r--r--cpp/src/qpid/amqp_0_10/Connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/amqp_0_10/Connection.cpp b/cpp/src/qpid/amqp_0_10/Connection.cpp
index 5ff73b2d4d..87085b6d77 100644
--- a/cpp/src/qpid/amqp_0_10/Connection.cpp
+++ b/cpp/src/qpid/amqp_0_10/Connection.cpp
@@ -50,8 +50,8 @@ size_t Connection::decode(const char* buffer, size_t size) {
throw Exception(QPID_MSG("Unsupported version: " << pi
<< " supported version " << version));
QPID_LOG(trace, "RECV [" << identifier << "]: INIT(" << pi << ")");
+ initialized = true;
}
- initialized = true;
}
framing::AMQFrame frame;
while(frame.decode(in)) {