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

Reduce what HostInfo.ConnectionState keeps track of #953

Merged
merged 1 commit into from
Aug 21, 2023
Merged

Conversation

nbrownus
Copy link
Collaborator

@nbrownus nbrownus commented Aug 8, 2023

The ConnectionState struct doesn't need the entire CertState object, this reworks things slightly to make it so we only need to keep track of the local certificate.

wadey
wadey previously approved these changes Aug 14, 2023
Copy link
Member

@wadey wadey left a comment

Choose a reason for hiding this comment

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

I think we had to do this before because things would expect the cs to already be set and to be able to lock around it as soon as the hostinfo entered the pending host map: #535

I think with the refactor to remove pending Hostmap this shouldn't be a problem, but we should ensure we have removed the race conditions that caused us to need to fix #535 in the first place before we merge this.

Base automatically changed from cert-state to master August 15, 2023 02:32
@nbrownus nbrownus dismissed wadey’s stale review August 15, 2023 02:32

The base branch was changed.

@nbrownus nbrownus merged commit 7edcf62 into master Aug 21, 2023
6 checks passed
@nbrownus nbrownus deleted the no-cert-state branch August 21, 2023 19:11
@wadey wadey added this to the v1.8.0 milestone Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants