[PR #122] [MERGED] Support session per connection mode (like GoQuiet) when NumConn = 0. #272

Closed
opened 2026-02-26 12:34:27 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/cbeuw/Cloak/pull/122
Author: @notsure2
Created: 7/6/2020
Status: Merged
Merged: 7/12/2020
Merged by: @cbeuw

Base: masterHead: goquiet-mode


📝 Commits (1)

  • dab137d Support session per connection mode (like GoQuiet) when NumConn = 0.

📊 Changes

6 files changed (+78 additions, -17 deletions)

View changed files

📝 README.md (+1 -1)
📝 cmd/ck-client/ck-client.go (+4 -2)
📝 internal/client/connector.go (+9 -3)
📝 internal/client/piper.go (+59 -7)
📝 internal/client/state.go (+2 -2)
📝 internal/test/integration_test.go (+3 -2)

📄 Description

This adds a "goquiet" mode to Cloak where every TCP connection is handled in a separate session. This maybe useful for people on unstable connections where the DPI/GFW cuts long time idle HTTPS connections (by dropping packets without tcp reset) and Cloak takes a very long time or doesn't recover until it's restarted. To use this mode, just set NumConn=0 in the config.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cbeuw/Cloak/pull/122 **Author:** [@notsure2](https://github.com/notsure2) **Created:** 7/6/2020 **Status:** ✅ Merged **Merged:** 7/12/2020 **Merged by:** [@cbeuw](https://github.com/cbeuw) **Base:** `master` ← **Head:** `goquiet-mode` --- ### 📝 Commits (1) - [`dab137d`](https://github.com/cbeuw/Cloak/commit/dab137dbd76ecf3eaef0b2d359a1ab2a31ce7614) Support session per connection mode (like GoQuiet) when NumConn = 0. ### 📊 Changes **6 files changed** (+78 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) 📝 `cmd/ck-client/ck-client.go` (+4 -2) 📝 `internal/client/connector.go` (+9 -3) 📝 `internal/client/piper.go` (+59 -7) 📝 `internal/client/state.go` (+2 -2) 📝 `internal/test/integration_test.go` (+3 -2) </details> ### 📄 Description This adds a "goquiet" mode to Cloak where every TCP connection is handled in a separate session. This maybe useful for people on unstable connections where the DPI/GFW cuts long time idle HTTPS connections (by dropping packets without tcp reset) and Cloak takes a very long time or doesn't recover until it's restarted. To use this mode, just set NumConn=0 in the config. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 12:34:27 +03:00
Sign in to join this conversation.
No labels
pull-request
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
starred/Cloak#272
No description provided.