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 new connection bug with SSL #1612

Merged

Conversation

rosskuehl
Copy link
Contributor

@rosskuehl rosskuehl commented Jun 24, 2023

Fixes #

AmqpConnector is currently unusable with SSL. The NewConnection method uses the AmqpTcpEndpoint constructor overload that accepts only a host name and port and creates a default SslOption instance (not enabled). This is problematic when the host is only configured for SSL.

Screenshot 2023-06-23 at 8 36 09 PM

Screenshot 2023-06-23 at 8 37 55 PM

Changes

Pass in the existing SslOption setting from the config. Now it works as expected.

Checklist

For significant changes, please ensure that the following have been completed (delete if not relevant):

Latest dev Benchmarks

Include data from the relevant benchmark prior to this change here.

This PR's Benchmarks

Include data from after this change here.

Copy link
Contributor

@Arkatufus Arkatufus left a comment

Choose a reason for hiding this comment

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

LGTM

@Arkatufus Arkatufus enabled auto-merge (squash) June 27, 2023 16:49
@Arkatufus Arkatufus merged commit 112bfb9 into akkadotnet:dev Jun 27, 2023
6 checks passed
@Aaronontheweb
Copy link
Member

Looks like this PR introduced a regression for connections when SSL is not used. I'll work on a fix for that now.

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

4 participants