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:
parent
c41585e2f5
commit
f7eabf8eb0
@ -63,6 +63,8 @@ class QubesDaemonProtocol(asyncio.Protocol):
|
|||||||
asyncio.ensure_future(self.respond(
|
asyncio.ensure_future(self.respond(
|
||||||
src, method, dest, arg, untrusted_payload=untrusted_payload))
|
src, method, dest, arg, untrusted_payload=untrusted_payload))
|
||||||
|
|
||||||
|
return True
|
||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def respond(self, src, method, dest, arg, *, untrusted_payload):
|
def respond(self, src, method, dest, arg, *, untrusted_payload):
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user