Nothing Special   »   [go: up one dir, main page]

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

Fix file-descriptor leak into the miou impl. spotted by httpcats #508

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

dinosaure
Copy link
Contributor

I spotted a file-descriptor leak on my httpcats's test. The fix does not change the behavior of tls-miou-unix about read and write after a shutdown (the fuzzer should verify that) but ensure that we actually close the file-descriptor when we can.

@hannesm hannesm merged commit 6763e22 into mirleft:main Aug 23, 2024
1 check passed
@hannesm
Copy link
Member
hannesm commented Aug 23, 2024

thanks :) if you'd like a release, please let me know. maybe a release of only tls-miou-unix would be good?

@dinosaure
Copy link
Contributor Author

Yes, a release will be super useful :) . Not sure if it's easy to break the release cycle of all packages due to the {= version} constraint.

@dinosaure dinosaure deleted the fix-fd-leak branch August 23, 2024 13:37
@hannesm
Copy link
Member
hannesm commented Aug 23, 2024

I can manually do a release where the tls-miou-unix.1.0.1 has a bound to tls =1.0.0...

hannesm added a commit to hannesm/opam-repository that referenced this pull request Aug 25, 2024
CHANGES:

* tls-miou-unix: fix file descriptor leak (mirleft/ocaml-tls#508 @dinosaure)
* tls-miou-unix: fix fuzz test (mirleft/ocaml-tls#507 @dinosaure)
hannesm added a commit to hannesm/opam-repository that referenced this pull request Aug 25, 2024
CHANGES:

* tls-miou-unix: fix file descriptor leak (mirleft/ocaml-tls#508 @dinosaure)
* tls-miou-unix: fix fuzz test (mirleft/ocaml-tls#507 @dinosaure)
avsm pushed a commit to avsm/opam-repository that referenced this pull request Sep 5, 2024
CHANGES:

* tls-miou-unix: fix file descriptor leak (mirleft/ocaml-tls#508 @dinosaure)
* tls-miou-unix: fix fuzz test (mirleft/ocaml-tls#507 @dinosaure)
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.

2 participants