[PR #482] [MERGED] Fix Management and Signal gRPC client stream leak #12666

Closed
opened 2026-08-05 02:06:24 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/482
Author: @braginini
Created: 9/26/2022
Status: Merged
Merged: 9/26/2022
Merged by: @braginini

Base: mainHead: fix/grpc-stream-leak


📝 Commits (3)

  • d003fba Fix management gRPC client memory/stream leak
  • 22cf050 Fix management gRPC client memory/stream leak
  • 5d94e63 Fix Management and Signal gRPC client memory/stream leak

📊 Changes

2 files changed (+17 additions, -12 deletions)

View changed files

📝 management/client/grpc.go (+9 -4)
📝 signal/client/grpc.go (+8 -8)

📄 Description

Whenever Management and Signal gRPC streams are created there is no clean-up in case there are errors in the stream handling or disconnects.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/482 **Author:** [@braginini](https://github.com/braginini) **Created:** 9/26/2022 **Status:** ✅ Merged **Merged:** 9/26/2022 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `fix/grpc-stream-leak` --- ### 📝 Commits (3) - [`d003fba`](https://github.com/netbirdio/netbird/commit/d003fbae177c1f90e94aead771c3944ad946b044) Fix management gRPC client memory/stream leak - [`22cf050`](https://github.com/netbirdio/netbird/commit/22cf05051a2c50fa7de8bbc70c9c3bf5df58aace) Fix management gRPC client memory/stream leak - [`5d94e63`](https://github.com/netbirdio/netbird/commit/5d94e63a91581410cd8c3afa86764387ff0db57b) Fix Management and Signal gRPC client memory/stream leak ### 📊 Changes **2 files changed** (+17 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `management/client/grpc.go` (+9 -4) 📝 `signal/client/grpc.go` (+8 -8) </details> ### 📄 Description Whenever Management and Signal gRPC streams are created there is no clean-up in case there are errors in the stream handling or disconnects. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:06:24 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#12666