diff options
| author | Gordon Sim <gsim@apache.org> | 2014-08-05 19:50:47 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2014-08-05 19:50:47 +0000 |
| commit | 17dc8fe1a9ef5ef2ec3f5905f7be397c346c3cde (patch) | |
| tree | b8bc67c97c4e92ec48e09637ea2e893c09faa435 /qpid/cpp | |
| parent | e4551106b672069e603e55c5ae2f433607e96e39 (diff) | |
| download | qpid-python-17dc8fe1a9ef5ef2ec3f5905f7be397c346c3cde.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@1615991 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
| -rw-r--r-- | qpid/cpp/src/qpid/amqp_0_10/Connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/amqp_0_10/Connection.cpp b/qpid/cpp/src/qpid/amqp_0_10/Connection.cpp index 5ff73b2d4d..87085b6d77 100644 --- a/qpid/cpp/src/qpid/amqp_0_10/Connection.cpp +++ b/qpid/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)) { |
