From f7eabf8eb05cfcd4a4d7c5cd2c02e129482963cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 10 Mar 2017 23:56:00 +0100 Subject: [PATCH] tools/qubesd: do not close connection before sending response eof_received callback should return True, if connection should not be automatically closed just after returning from it. --- qubes/tools/qubesd.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubes/tools/qubesd.py b/qubes/tools/qubesd.py index 2b1bcb44..b72cd9ba 100644 --- a/qubes/tools/qubesd.py +++ b/qubes/tools/qubesd.py @@ -63,6 +63,8 @@ class QubesDaemonProtocol(asyncio.Protocol): asyncio.ensure_future(self.respond( src, method, dest, arg, untrusted_payload=untrusted_payload)) + return True + @asyncio.coroutine def respond(self, src, method, dest, arg, *, untrusted_payload): try: