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

circuitv2: fix resource accounting when connection upgrading fails #2031

Closed
wants to merge 1 commit into from

Conversation

marten-seemann
Copy link
Contributor

Very similar to #2015.

@marten-seemann marten-seemann mentioned this pull request Jan 31, 2023
35 tasks
@MarcoPolo
Copy link
Collaborator

you mean #2025 ?

Copy link
Collaborator

@MarcoPolo MarcoPolo left a comment

Choose a reason for hiding this comment

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

Where is the missing connScope.Done call?

@marten-seemann
Copy link
Contributor Author

Where is the missing connScope.Done call?

Here:

cc, err := c.upgrader.Upgrade(ctx, c, conn, network.DirOutbound, p, connScope)
if err != nil {
return nil, err
}

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