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

fix(backoff): close of closed out channel #3871

Merged
merged 2 commits into from
Dec 21, 2023

Conversation

wuqinqiang
Copy link
Contributor

WHY

currently, MergeAndCloseOnAnyStopChannel may repeatedly call close out chan multiple times. even if Try0 recovered the panic. we should make sure that only once

@wuqinqiang wuqinqiang changed the title fix: close of closed channel fix(backoff): close of closed out channel Dec 21, 2023
pkg/util/wait/backoff.go Outdated Show resolved Hide resolved
@fatedier fatedier merged commit 3540910 into fatedier:dev Dec 21, 2023
1 check passed
github-actions bot added a commit to aiastia-dockerhub/frp that referenced this pull request Jan 3, 2024
* https://github.com/fatedier/frp:
  cmd: use hyphen instead of underscore (fatedier#3898)
  upgrade go-jose and crypto version (fatedier#3895)
  fix(client): close workConn when authentication err (fatedier#3885)
  improve e2e port allocator (fatedier#3882)
  let e2e concurrency configurable (fatedier#3881)
  fix login retry interval (fatedier#3879)
  fix lint (fatedier#3877)
  fix: duplicate call loginFunc (fatedier#3860) (fatedier#3875)
  fix(backoff): close of closed out channel (fatedier#3871)
  remove copilot for pr (fatedier#3857)
  update doc (fatedier#3844)
  feat: ssh doc (fatedier#3841)
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