[GH-ISSUE #642] Delete proxy on disconnect #501

Closed
opened 2026-05-05 12:19:33 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @travisghansen on GitHub (Feb 25, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/642

I'm looking to use this in a CI environment where tunnels are created and deleted at scale. In my initial tests I'm seeing that the 'proxy' definition on the server remains after the client is killed. Is there some way to make those disappear after a timeout or when the client disconnects?

Originally created by @travisghansen on GitHub (Feb 25, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/642 I'm looking to use this in a CI environment where tunnels are created and deleted at scale. In my initial tests I'm seeing that the 'proxy' definition on the server remains after the client is killed. Is there some way to make those disappear after a timeout or when the client disconnects?
Author
Owner

@fatedier commented on GitHub (Feb 26, 2018):

All proxies of one client will be deleted when the client disconnect. However, the stats info of those proxies reserve for 7 days, so you can see it in frps dashboard.

<!-- gh-comment-id:368525726 --> @fatedier commented on GitHub (Feb 26, 2018): All proxies of one client will be deleted when the client disconnect. However, the stats info of those proxies reserve for 7 days, so you can see it in frps dashboard.
Author
Owner

@travisghansen commented on GitHub (Feb 27, 2018):

Ah, good to know. Any chance that time could be made configurable?

<!-- gh-comment-id:368739382 --> @travisghansen commented on GitHub (Feb 27, 2018): Ah, good to know. Any chance that time could be made configurable?
Author
Owner

@fatedier commented on GitHub (Feb 28, 2018):

Sorry, no plan for that now. It's not a core feature.

<!-- gh-comment-id:369266740 --> @fatedier commented on GitHub (Feb 28, 2018): Sorry, no plan for that now. It's not a core feature.
Author
Owner

@travisghansen commented on GitHub (Feb 28, 2018):

Any chance it would be accepted if I were to put something together? If so can you point me where that code is?

<!-- gh-comment-id:369319709 --> @travisghansen commented on GitHub (Feb 28, 2018): Any chance it would be accepted if I were to put something together? If so can you point me where that code is?
Author
Owner

@fatedier commented on GitHub (Mar 14, 2018):

https://github.com/fatedier/frp/blob/master/server/metric.go#L27

<!-- gh-comment-id:372886027 --> @fatedier commented on GitHub (Mar 14, 2018): https://github.com/fatedier/frp/blob/master/server/metric.go#L27
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#501
No description provided.