[PR #968] [MERGED] support health check and code refactor #4286

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/968
Author: @fatedier
Created: 11/8/2018
Status: Merged
Merged: 11/9/2018
Merged by: @fatedier

Base: devHead: health


📝 Commits (10+)

  • c33b515 split visitors from proxies and add health check config
  • 42ee536 add module comments for vgo
  • 0d02f29 refactor ci test
  • d74b45b more ci
  • 57417c8 add ci case of reload and reconnect
  • cc6486a add more cmd test
  • 082447f frpc: support health check
  • 698219b frpc: support health check
  • 1a8ac14 fix xtcp visitor panic
  • b33ea92 client/control: refactor code

📊 Changes

33 files changed (+1914 additions, -996 deletions)

View changed files

📝 Makefile (+7 -13)
📝 client/admin_api.go (+2 -2)
📝 client/control.go (+45 -188)
client/health.go (+147 -0)
📝 client/proxy.go (+1 -1)
📝 client/proxy_manager.go (+130 -184)
📝 client/service.go (+172 -9)
📝 client/visitor.go (+16 -7)
client/visitor_manager.go (+111 -0)
📝 cmd/frpc/main.go (+1 -1)
📝 cmd/frpc/sub/root.go (+2 -2)
📝 cmd/frpc/sub/stcp.go (+37 -28)
📝 cmd/frpc/sub/xtcp.go (+37 -28)
📝 cmd/frps/main.go (+1 -1)
📝 conf/frpc_full.ini (+10 -1)
📝 models/config/proxy.go (+153 -136)
models/config/visitor.go (+213 -0)
📝 tests/ci/auto_test_frpc.ini (+1 -1)
📝 tests/ci/auto_test_frpc_visitor.ini (+1 -1)
📝 tests/ci/auto_test_frps.ini (+1 -1)

...and 13 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/fatedier/frp/pull/968 **Author:** [@fatedier](https://github.com/fatedier) **Created:** 11/8/2018 **Status:** ✅ Merged **Merged:** 11/9/2018 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `health` --- ### 📝 Commits (10+) - [`c33b515`](https://github.com/fatedier/frp/commit/c33b5152e722a50d65cd6925ba498f3016c7c19c) split visitors from proxies and add health check config - [`42ee536`](https://github.com/fatedier/frp/commit/42ee536dae2ace3d423de6c5262819b71e82312c) add module comments for vgo - [`0d02f29`](https://github.com/fatedier/frp/commit/0d02f291e323625bbb6ef6efc5f30374cb92e129) refactor ci test - [`d74b45b`](https://github.com/fatedier/frp/commit/d74b45be5d037b58d18fec3be05064c3ec68e404) more ci - [`57417c8`](https://github.com/fatedier/frp/commit/57417c83ae8695e43e8b0cb2f7ba88660a3eb8e5) add ci case of reload and reconnect - [`cc6486a`](https://github.com/fatedier/frp/commit/cc6486addbafaed64274d898e2d1f3c9e06e124b) add more cmd test - [`082447f`](https://github.com/fatedier/frp/commit/082447f5170445e0bc69865fa37d756646c17511) frpc: support health check - [`698219b`](https://github.com/fatedier/frp/commit/698219b6218897241aef7e148e2e611f9b8c6ccf) frpc: support health check - [`1a8ac14`](https://github.com/fatedier/frp/commit/1a8ac148ca8ff25b72b388e563b37fbbdfa4bffc) fix xtcp visitor panic - [`b33ea92`](https://github.com/fatedier/frp/commit/b33ea9274cdd263dd0a2ff9cf8f068606171d42a) client/control: refactor code ### 📊 Changes **33 files changed** (+1914 additions, -996 deletions) <details> <summary>View changed files</summary> 📝 `Makefile` (+7 -13) 📝 `client/admin_api.go` (+2 -2) 📝 `client/control.go` (+45 -188) ➕ `client/health.go` (+147 -0) 📝 `client/proxy.go` (+1 -1) 📝 `client/proxy_manager.go` (+130 -184) 📝 `client/service.go` (+172 -9) 📝 `client/visitor.go` (+16 -7) ➕ `client/visitor_manager.go` (+111 -0) 📝 `cmd/frpc/main.go` (+1 -1) 📝 `cmd/frpc/sub/root.go` (+2 -2) 📝 `cmd/frpc/sub/stcp.go` (+37 -28) 📝 `cmd/frpc/sub/xtcp.go` (+37 -28) 📝 `cmd/frps/main.go` (+1 -1) 📝 `conf/frpc_full.ini` (+10 -1) 📝 `models/config/proxy.go` (+153 -136) ➕ `models/config/visitor.go` (+213 -0) 📝 `tests/ci/auto_test_frpc.ini` (+1 -1) 📝 `tests/ci/auto_test_frpc_visitor.ini` (+1 -1) 📝 `tests/ci/auto_test_frps.ini` (+1 -1) _...and 13 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>
gitea-mirror 2026-05-05 14:39:08 -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#4286
No description provided.