[PR #183] [MERGED] Fix concurrency on the client #12259

Closed
opened 2026-08-05 01:32:45 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/183
Author: @braginini
Created: 1/7/2022
Status: Merged
Merged: 1/10/2022
Merged by: @braginini

Base: mainHead: fix-concurrency-on-the-client


📝 Commits (10+)

  • 0a562c5 chore: minor concurrency changes
  • 01e6b75 chore: peer v2 effort
  • a07686b chore: adapt engine to the new peer connection class
  • addb55d chore: adopt to the new conn fixing minor issues
  • 13b786b chore: further dev
  • 3c44d10 chore: recreate agent on conn disconnect
  • 3774582 chore: recreate agent on conn disconnect
  • c1443f4 refactor: [client]: reorganizing client package structure
  • 764f819 refactor: [client]: introduce proxy package
  • 46a0387 fix: wireguard proxy

📊 Changes

25 files changed (+1216 additions, -898 deletions)

View changed files

.github/workflows/golang-test-build.yml (+44 -0)
📝 .github/workflows/golang-test.yml (+14 -40)
📝 client/cmd/up.go (+1 -0)
📝 client/cmd/up_test.go (+1 -1)
client/internal/cond.go (+0 -32)
client/internal/connection.go (+0 -425)
📝 client/internal/engine.go (+154 -166)
client/internal/engine_test.go (+208 -0)
client/internal/peer/conn.go (+421 -0)
client/internal/peer/error.go (+56 -0)
client/internal/peer/status.go (+25 -0)
client/internal/proxy/dummy.go (+68 -0)
client/internal/proxy/proxy.go (+24 -0)
client/internal/proxy/wireguard.go (+121 -0)
client/internal/wgproxy.go (+0 -131)
📝 client/testdata/management.json (+34 -34)
📝 client/testdata/store.json (+12 -1)
📝 iface/iface.go (+3 -6)
📝 iface/iface_darwin.go (+1 -1)
📝 iface/iface_linux.go (+3 -25)

...and 5 more files

📄 Description

No description provided


🔄 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/183 **Author:** [@braginini](https://github.com/braginini) **Created:** 1/7/2022 **Status:** ✅ Merged **Merged:** 1/10/2022 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `fix-concurrency-on-the-client` --- ### 📝 Commits (10+) - [`0a562c5`](https://github.com/netbirdio/netbird/commit/0a562c5c3c3eedc5d314b8b1ae342f6cf4260be2) chore: minor concurrency changes - [`01e6b75`](https://github.com/netbirdio/netbird/commit/01e6b752cba4ca2c9bd707f6d16cddc556ba7210) chore: peer v2 effort - [`a07686b`](https://github.com/netbirdio/netbird/commit/a07686b21747f9a6ae5f05ca66e1b14c8f0e2205) chore: adapt engine to the new peer connection class - [`addb55d`](https://github.com/netbirdio/netbird/commit/addb55df8f72595c1bf4512d08b6d4e5c67f21ee) chore: adopt to the new conn fixing minor issues - [`13b786b`](https://github.com/netbirdio/netbird/commit/13b786bc7fb95455ab180e10dd19936e3b5458b4) chore: further dev - [`3c44d10`](https://github.com/netbirdio/netbird/commit/3c44d10b54079cd6d5043c40254efc5c66639912) chore: recreate agent on conn disconnect - [`3774582`](https://github.com/netbirdio/netbird/commit/3774582185281615b5e05efd25391aa1aae54252) chore: recreate agent on conn disconnect - [`c1443f4`](https://github.com/netbirdio/netbird/commit/c1443f498ecf6bb49d6df94a1dc23695186e7c52) refactor: [client]: reorganizing client package structure - [`764f819`](https://github.com/netbirdio/netbird/commit/764f819ea68ff7e7884e08d671e4a430c3af324c) refactor: [client]: introduce proxy package - [`46a0387`](https://github.com/netbirdio/netbird/commit/46a03870c3212265f2ba2df0e2d76f31bc5075f0) fix: wireguard proxy ### 📊 Changes **25 files changed** (+1216 additions, -898 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/golang-test-build.yml` (+44 -0) 📝 `.github/workflows/golang-test.yml` (+14 -40) 📝 `client/cmd/up.go` (+1 -0) 📝 `client/cmd/up_test.go` (+1 -1) ➖ `client/internal/cond.go` (+0 -32) ➖ `client/internal/connection.go` (+0 -425) 📝 `client/internal/engine.go` (+154 -166) ➕ `client/internal/engine_test.go` (+208 -0) ➕ `client/internal/peer/conn.go` (+421 -0) ➕ `client/internal/peer/error.go` (+56 -0) ➕ `client/internal/peer/status.go` (+25 -0) ➕ `client/internal/proxy/dummy.go` (+68 -0) ➕ `client/internal/proxy/proxy.go` (+24 -0) ➕ `client/internal/proxy/wireguard.go` (+121 -0) ➖ `client/internal/wgproxy.go` (+0 -131) 📝 `client/testdata/management.json` (+34 -34) 📝 `client/testdata/store.json` (+12 -1) 📝 `iface/iface.go` (+3 -6) 📝 `iface/iface_darwin.go` (+1 -1) 📝 `iface/iface_linux.go` (+3 -25) _...and 5 more files_ </details> ### 📄 Description _No description provided_ --- <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 01:32:45 -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#12259