mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #661] [MERGED] fix(cli,tcp): replies are sent on the requesting channel #1038
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/661
Author: @raggi
Created: 2/11/2024
Status: ✅ Merged
Merged: 2/17/2024
Merged by: @LGUG2Z
Base:
master← Head:raggi/no-client-socket📝 Commits (1)
1a2abf5fix(cli,tcp): replies are sent on the requesting channel📊 Changes
2 files changed (+59 additions, -120 deletions)
View changed files
📝
komorebi/src/process_command.rs(+33 -79)📝
komorebic/src/main.rs(+26 -41)📄 Description
Replace the client socket with replies sent on the other side of the querying stream, for both UDS and TCP clients. This has two results: unix socket clients such as komorebic no longer race on the socket bind, fixing the out of order bind error, and the response mixup conditions that could occur. Queries over TCP now receive replies over TCP, rather than replies being sent to a future or in-flight command line client.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.