WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Proleptic xend bug fix for multi-sxp messages; stricly m

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Proleptic xend bug fix for multi-sxp messages; stricly more robust than before.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Aug 2005 22:40:10 -0400
Delivery-date: Fri, 19 Aug 2005 02:40:40 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User smh22@xxxxxxxxxxxxxxxxxxxx
# Node ID e355ae38c83b1d83cc618a105854fb29b5145275
# Parent  dfbeb7da829f48128738b35efece3f9b0253facc
Proleptic xend bug fix for multi-sxp messages; stricly more robust than before. 
 
Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>

diff -r dfbeb7da829f -r e355ae38c83b tools/python/xen/xend/server/event.py
--- a/tools/python/xen/xend/server/event.py     Thu Aug 18 19:51:46 2005
+++ b/tools/python/xen/xend/server/event.py     Fri Aug 19 02:41:16 2005
@@ -50,7 +50,7 @@
     def dataReceived(self, data):
         try:
             self.parser.input(data)
-            if self.parser.ready():
+            while(self.parser.ready()):
                 val = self.parser.get_val()
                 res = self.dispatch(val)
                 self.send_result(res)
diff -r dfbeb7da829f -r e355ae38c83b tools/python/xen/xend/server/relocate.py
--- a/tools/python/xen/xend/server/relocate.py  Thu Aug 18 19:51:46 2005
+++ b/tools/python/xen/xend/server/relocate.py  Fri Aug 19 02:41:16 2005
@@ -42,7 +42,7 @@
     def dataReceived(self, data):
         try:
             self.parser.input(data)
-            if self.parser.ready():
+            while(self.parser.ready()):
                 val = self.parser.get_val()
                 res = self.dispatch(val)
                 self.send_result(res)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Proleptic xend bug fix for multi-sxp messages; stricly more robust than before., Xen patchbot -unstable <=