mirror of
https://github.com/tuanngocptn/nport.git
synced 2026-04-26 05:35:48 +03:00
[PR #16] [MERGED] Fix tunnel deletion with active connections by adding cleanup logic #14
Labels
No labels
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nport#14
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/tuanngocptn/nport/pull/16
Author: @tuanngocptn
Created: 2/5/2026
Status: ✅ Merged
Merged: 2/5/2026
Merged by: @tuanngocptn
Base:
main← Head:fix/set_timeout_on_server📝 Commits (1)
6638160Fix tunnel deletion with active connections by adding cleanup logic📊 Changes
2 files changed (+35 additions, -0 deletions)
View changed files
📝
server/CHANGELOG.md(+8 -0)📝
server/src/index.ts(+27 -0)📄 Description
cleanupTunnelConnections()function to remove stale connections before deleting a tunnel, preventing Cloudflare API error #1022.deleteTunnel()to automatically clean up connections prior to deletion.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.