Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File descriptor leak when Lwt_unix.shutdown fails #376

Open
2 tasks
francoisthire opened this issue Jan 3, 2025 · 0 comments
Open
2 tasks

File descriptor leak when Lwt_unix.shutdown fails #376

francoisthire opened this issue Jan 3, 2025 · 0 comments

Comments

@francoisthire
Copy link

francoisthire commented Jan 3, 2025

It may be possible that when the Dream server receives a connection and tries to shut it down, a file descriptor leak may occur. This happens if the function Lwt_unix.shutdown raises an exception (apparently this happens if the remote peer was already disconnected).

The culprit does not sound to be in dream directly but in dependencies used by dream. I create this issue for tracking this issue:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant