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

Refactor EndpointInfo and ConnectionInfo in C++ #3191

Merged
merged 7 commits into from
Nov 26, 2024

Conversation

bernardnormier
Copy link
Member

This is the C++ equivalent of #3185 and #3187.

Copy link
Member

@pepone pepone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, there was a failure with the MATLAB build.

}

return info;
return make_shared<Ice::SSL::ConnectionInfo>(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A minor issue with this update, and other certificates. If the constructor throws, or _delegate->getInfo() throws. we leak the peerCertificate.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not clear to me why the constructor or _delegate->getInfo would throw.

@bernardnormier
Copy link
Member Author

Looks good, there was a failure with the MATLAB build.

Small issue in the MATLAB code, now fixed. A more interesting issue was the failure on macos release, apparently due to weak vtables. Also fixed.

@bernardnormier bernardnormier merged commit 132f832 into zeroc-ice:main Nov 26, 2024
19 checks passed
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.

2 participants