mirror of
https://github.com/cbeuw/Cloak.git
synced 2026-04-26 04:55:58 +03:00
[PR #148] [MERGED] Implement UDP stream timeout. #281
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Cloak#281
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/cbeuw/Cloak/pull/148
Author: @notsure2
Created: 12/22/2020
Status: ✅ Merged
Merged: 12/23/2020
Merged by: @cbeuw
Base:
master← Head:udp-session-timeout📝 Commits (3)
874d30cImplement UDP stream timeout.a26a2e8Use a mutex instead of sync.Map in RouteUDP.e3ba82cCode style changes and unlock mutex when failed to open stream📊 Changes
1 file changed (+21 additions, -5 deletions)
View changed files
📝
internal/client/piper.go(+21 -5)📄 Description
Fixes #147 and also the same case for multiplex, and also a memory leak in case a session sends a packet once and then times out (the old stream would be stuck in the map forever).
@cbeuw Please review and merge thanks 👍
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.