You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2008/03/07 18:56:43 UTC

svn commit: r634763 - in /incubator/qpid/trunk/qpid/python: cpp_failing_0-10.txt qpid/assembler.py

Author: rhs
Date: Fri Mar  7 09:56:41 2008
New Revision: 634763

URL: http://svn.apache.org/viewvc?rev=634763&view=rev
Log:
send an empty frame for an empty segment

Modified:
    incubator/qpid/trunk/qpid/python/cpp_failing_0-10.txt
    incubator/qpid/trunk/qpid/python/qpid/assembler.py

Modified: incubator/qpid/trunk/qpid/python/cpp_failing_0-10.txt
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/python/cpp_failing_0-10.txt?rev=634763&r1=634762&r2=634763&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/python/cpp_failing_0-10.txt (original)
+++ incubator/qpid/trunk/qpid/python/cpp_failing_0-10.txt Fri Mar  7 09:56:41 2008
@@ -63,5 +63,3 @@
 tests_0-10.queue.QueueTests.test_purge
 tests_0-10.queue.QueueTests.test_bind
 tests_0-10.queue.QueueTests.test_unbind_headers
-tests_0-10.exchange.RecommendedTypesRuleTests.testTopic
-tests_0-10.exchange.RequiredInstancesRuleTests.testAmqTopic

Modified: incubator/qpid/trunk/qpid/python/qpid/assembler.py
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/python/qpid/assembler.py?rev=634763&r1=634762&r2=634763&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/python/qpid/assembler.py (original)
+++ incubator/qpid/trunk/qpid/python/qpid/assembler.py Fri Mar  7 09:56:41 2008
@@ -96,7 +96,7 @@
     remaining = segment.payload
 
     first = True
-    while remaining:
+    while first or remaining:
       payload = remaining[:self.max_payload]
       remaining = remaining[self.max_payload:]