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.
This commit is contained in:
Marek Marczykowski-Górecki 2017-03-10 23:56:00 +01:00
parent c41585e2f5
commit f7eabf8eb0
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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: