mirror of
https://github.com/ratspeak/rsLXMF
synced 2026-11-22 23:10:35 +00:00
lxmd: answer control requests with a packed value reply
This commit is contained in:
1 parent
718419b9d0
commit
c8a793b0d5
1 file changed
+2
-1
@@ -2305,7 +2305,8 @@ impl LxmdRunner {
|
||||
}
|
||||
};
|
||||
let (bytes, served) = reply;
|
||||
let outcome = bytes.map_or(RequestOutcome::Drop, RequestOutcome::Reply);
|
||||
let outcome =
|
||||
bytes.map_or(RequestOutcome::Drop, RequestOutcome::ReplyValue);
|
||||
// Retain the actual worker and request capability until
|
||||
// exact-owner dispatch accepts or refuses the response.
|
||||
if let Ok(dispatch) = responder.respond(outcome)
|
||||
|
||||
Reference in new issue
Block a user