Magpie should delete its socket automatically on startup #19
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: canary/canary-rs#19
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
No, it is not intended behavior for Magpie to ever leave a socket still active since it should always be able to exit safely, but on the occasion that it does, it should not make the user clean up its mess for it.
New setup steps for Magpie:
Looks like the best way to test if a socket is still active is just to connect: https://unix.stackexchange.com/questions/556748/how-to-check-whether-a-socket-is-listening-or-not
If the socket is active, connection will be successful. If not, the connection will be refused.
By the way, when I say "log a warning," just use eprintln!() for now. Actual logging will be covered by #13.