Skip to content

chore: fix the transport leak in getResolver#1918

Merged
Skarlso merged 2 commits intoopen-component-model:mainfrom
Skarlso:fix-leaking-tcp-connection-2
Apr 15, 2026
Merged

chore: fix the transport leak in getResolver#1918
Skarlso merged 2 commits intoopen-component-model:mainfrom
Skarlso:fix-leaking-tcp-connection-2

Conversation

@Skarlso
Copy link
Copy Markdown
Contributor

@Skarlso Skarlso commented Apr 15, 2026

What this PR does / why we need it

Partial fix for open-component-model/ocm-project#778. It fixes the TCP connection leak problem.

This PR has been tested by Dan in this comment: open-component-model/ocm-project#778 (comment)

Note: This is now slightly cleaner than what Dan tested but has the same principle. I just shifted the creation of the transport into NewRepository function.

Which issue(s) this PR is related to

@Skarlso Skarlso requested a review from a team as a code owner April 15, 2026 13:40
@github-actions github-actions Bot added kind/chore chore, maintenance, etc. size/s Small labels Apr 15, 2026
@Skarlso Skarlso force-pushed the fix-leaking-tcp-connection-2 branch from 62eefc2 to c683ab0 Compare April 15, 2026 13:42
On-behalf-of: Gergely Brautigam <gergely.brautigam@sap.com>

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
@Skarlso Skarlso force-pushed the fix-leaking-tcp-connection-2 branch 2 times, most recently from 495aaa6 to bde4884 Compare April 15, 2026 14:39
On-behalf-of: Gergely Brautigam <gergely.brautigam@sap.com>

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
@Skarlso Skarlso force-pushed the fix-leaking-tcp-connection-2 branch from bde4884 to 651324f Compare April 15, 2026 14:41
@Skarlso Skarlso merged commit 1966cd1 into open-component-model:main Apr 15, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/chore chore, maintenance, etc. size/s Small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants