You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2014/08/05 21:50:48 UTC
svn commit: r1615991 - /qpid/trunk/qpid/cpp/src/qpid/amqp_0_10/Connection.cpp
Author: gsim
Date: Tue Aug 5 19:50:47 2014
New Revision: 1615991
URL: http://svn.apache.org/r1615991
Log:
QPID-5963: fix from Chris Richardson to prevent broker incorrecctly thinking it has decoded protocol header when it has not
Modified:
qpid/trunk/qpid/cpp/src/qpid/amqp_0_10/Connection.cpp
Modified: qpid/trunk/qpid/cpp/src/qpid/amqp_0_10/Connection.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/amqp_0_10/Connection.cpp?rev=1615991&r1=1615990&r2=1615991&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/amqp_0_10/Connection.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/amqp_0_10/Connection.cpp Tue Aug 5 19:50:47 2014
@@ -50,8 +50,8 @@ size_t Connection::decode(const char* b
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)) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org