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

Signed-off-by: Steven Hand <steven@xensource.com>
This commit is contained in:
smh22@firebug.cl.cam.ac.uk committed 2005-08-19 02:41:16 +00:00
1 parent e9eaa6bafb
commit d41f35ae27
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ class EventProtocol(protocol.Protocol):
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)
+1 -1
View File
@@ -42,7 +42,7 @@ class RelocationProtocol(protocol.Protocol):
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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.