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

Split test for SSL authentication with Multiplexed transports #3677

Merged
merged 7 commits into from
Oct 7, 2023

Conversation

pepone
Copy link
Member

@pepone pepone commented Oct 6, 2023

Fix #3673

var listener = provider.GetRequiredService<IListener<IMultiplexedConnection>>();

// Start the TLS handshake.
var clientConnectTask = sut.Client.ConnectAsync(default);
Copy link
Member

Choose a reason for hiding this comment

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

Sounds like this should be simply:

await sut.Client.ConnectAsync(default);

Copy link
Member Author

Choose a reason for hiding this comment

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

How would this complete before we call accept?

Copy link
Member

Choose a reason for hiding this comment

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

From the previous version of this code, I thought the connectTask succeeded.

Copy link
Member

@bernardnormier bernardnormier 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.

var listener = provider.GetRequiredService<IListener<IMultiplexedConnection>>();

// Start the TLS handshake.
var clientConnectTask = sut.Client.ConnectAsync(default);
Copy link
Member

Choose a reason for hiding this comment

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

From the previous version of this code, I thought the connectTask succeeded.

@pepone pepone merged commit 6b578b9 into icerpc:main Oct 7, 2023
3 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.

Ssl_server_connection_connect_fails_when_client_provides_untrusted_certificate failure
3 participants