[PR #3012] [MERGED] Fixed a bug where service loops reconnection after disconnection. service is shut down and can not exit goroutine #4672

Closed
opened 2026-05-05 14:46:31 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/3012
Author: @ChristLZS
Created: 7/12/2022
Status: Merged
Merged: 7/12/2022
Merged by: @fatedier

Base: devHead: dev


📝 Commits (1)

  • 11c0e56 [client] Fixed a bug where service loops reconnection after disconnection.service is shut down and can not exit goroutine

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 client/service.go (+4 -0)

📄 Description

About:
Fixed a bug where service loops reconnection after disconnection. If service is shut down ,it can not exit goroutine.

Description:
After the connection is disconnected, the service begins to reconnect. At this point, the service is externally shut down, and the reconnected coroutine cannot exit.


🔄 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/fatedier/frp/pull/3012 **Author:** [@ChristLZS](https://github.com/ChristLZS) **Created:** 7/12/2022 **Status:** ✅ Merged **Merged:** 7/12/2022 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`11c0e56`](https://github.com/fatedier/frp/commit/11c0e56e2aa308d00f2356e4cc0263be8d9ccfe5) [client] Fixed a bug where service loops reconnection after disconnection.service is shut down and can not exit goroutine ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `client/service.go` (+4 -0) </details> ### 📄 Description About: Fixed a bug where service loops reconnection after disconnection. If service is shut down ,it can not exit goroutine. Description: After the connection is disconnected, the service begins to reconnect. At this point, the service is externally shut down, and the reconnected coroutine cannot exit. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:46:31 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#4672
No description provided.