Skip to content

[v12] Prevent ConnectionMonitor leaks#36670

Merged
rosstimothy merged 1 commit intobranch/v12from
tross/backport-36621/v12
Jan 16, 2024
Merged

[v12] Prevent ConnectionMonitor leaks#36670
rosstimothy merged 1 commit intobranch/v12from
tross/backport-36621/v12

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

@rosstimothy rosstimothy commented Jan 13, 2024

Backport #36621 to branch/v12

changelog: Prevent a goroutine leak caused by app sessions not cleaning up resources properly

The context used to create the connection monitor for app sessions
was never canceled which left the connection monitor running until
the certificate expired, the user was locked, or the idle timeout
was enforced. By using the correct context and canceling appropriately
the monitor is terminated as soon as the app session has concluded.
Copy link
Copy Markdown
Contributor

@tigrato tigrato left a comment

Choose a reason for hiding this comment

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

Change the title to include [v12]

@rosstimothy rosstimothy changed the title Prevent ConnectionMonitor leaks (#36621) [v12] Prevent ConnectionMonitor leaks Jan 13, 2024
@gravitational gravitational deleted a comment from github-actions Bot Jan 16, 2024
@gravitational gravitational deleted a comment from github-actions Bot Jan 16, 2024
@rosstimothy rosstimothy added this pull request to the merge queue Jan 16, 2024
Merged via the queue into branch/v12 with commit 333f673 Jan 16, 2024
@rosstimothy rosstimothy deleted the tross/backport-36621/v12 branch January 16, 2024 14:23
@camscale camscale mentioned this pull request Feb 6, 2024
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.

3 participants