mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #3511] [MERGED] frpc: support stop command #4765
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#4765
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fatedier/frp/pull/3511
Author: @fatedier
Created: 6/30/2023
Status: ✅ Merged
Merged: 6/30/2023
Merged by: @fatedier
Base:
dev← Head:release📝 Commits (1)
4d0b6e7frpc: support stop command📊 Changes
8 files changed (+155 additions, -16 deletions)
View changed files
📝
Release.md(+5 -0)📝
client/admin.go(+1 -0)📝
client/admin_api.go(+21 -4)📝
cmd/frpc/sub/root.go(+3 -8)➕
cmd/frpc/sub/stop.go(+84 -0)📝
server/dashboard_api.go(+4 -4)📝
test/e2e/basic/client.go(+28 -0)📝
test/e2e/pkg/sdk/client/client.go(+9 -0)📄 Description
Summary
🤖 Generated by Copilot at 835bbf4
This pull request adds a new feature and an improvement to frpc. The new feature is a
stopsubcommand and an/api/stopendpoint that allow the user to gracefully shut down the frpc service. The improvement is a simplification of the signal handling and service running logic in thefrpccommand. The pull request also fixes some comments and documentation issues in the code.WHY
Fix #2670
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.