Skip to content

Conversation

@yawaramin
Copy link
Collaborator

If Dream is started as a Unix socket server, then try to delete the socket file before binding to it. If it doesn't exist, just carry on.

Second attempt at #399

Fix #398

If Dream is started as a Unix socket server, then try to delete the
socket file before binding to it. If it doesn't exist, just carry on.

Fix #398
@aantron
Copy link
Collaborator

aantron commented Oct 2, 2025

Thanks! Commented on this in #398 (comment), because there are more participants there and people linking to expertise outside OCaml.

@aantron
Copy link
Collaborator

aantron commented Oct 2, 2025

Leaving myself a reminder to have this PR close #399 when merging.

Otherwise ignore the file–don't delete it. In this case we want to force
the user to take care of the conflict.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Unix socket isn’t cleaned up on server shutdown

3 participants