We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in unix/lwt/lwt-tls, the code snippets:
let sock = Unix.(socket sd st 0) in ... try Unix.connect sock sa ; s := Connected sock; Ok () with | Unix.Unix_error (e, f, _) -> ... Error err
are suspicious -- when connect fails, the sock has been allocated (by socket) but is never closed (only called at_exit and when send fails).
connect
sock
socket
close
at_exit
send
The text was updated successfully, but these errors were encountered:
No branches or pull requests
in unix/lwt/lwt-tls, the code snippets:
are suspicious -- when
connect
fails, thesock
has been allocated (bysocket
) but is neverclose
d (only calledat_exit
and whensend
fails).The text was updated successfully, but these errors were encountered: