[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Proleptic xend bug fix for multi-sxp messages; stricly more robust than before.



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.