mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2821] [Feature Request] Notify server plugins when a proxy is closed. #2256
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#2256
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?
Originally created by @kmod-midori on GitHub (Mar 2, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2821
Describe the feature request
Currently, server plugins only receive
NewProxyevents, it would be great if we can sendCloseProxymessages to them as well (e.g. to use with https://github.com/arugal/frp-notify and notify users when a proxy goes offline for a certain length of time).If the maintainers think that this is worth implementing, I can prepare a PR for this.
Describe alternatives you've considered
Use external services to ping frp proxies and send notifications when they are down, but this sometimes does not work for non-HTTP(S) services.
Affected area
@fatedier commented on GitHub (Mar 2, 2022):
I think it's ok, but maybe a little different with
NewProxy.We can discuss more in your PR later.
@kmod-midori commented on GitHub (Mar 8, 2022):
Closing this since #2823 has been merged.