Skip to content

Fix/openssl connect close socket on error #1939

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

Conversation

YOSI-yoshidayuji
Copy link
Contributor

Issue #, if available:
#1938

Description of changes:

This pull request addresses the issue where the Openssl_Connect function fails to close the socket on error, leading to a file descriptor leak. The following changes have been made:

  • Added logic to ensure that the socket is properly closed when an error occurs during the connection process.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

aggarg
aggarg previously approved these changes Apr 8, 2025
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
@rohitmadan07 rohitmadan07 merged commit d39ba5d into aws:main Apr 8, 2025
10 checks passed
@YOSI-yoshidayuji YOSI-yoshidayuji deleted the Fix/Openssl_Connect-close-socket-on-error branch April 8, 2025 23:00
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

Successfully merging this pull request may close these issues.

None yet

3 participants