Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support session per connection mode (like GoQuiet) when NumConn = 0. #122

Merged
merged 1 commit into from
Jul 12, 2020

Conversation

notsure2
Copy link
Contributor

@notsure2 notsure2 commented Jul 6, 2020

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.

@codecov
Copy link

codecov bot commented Jul 6, 2020

Codecov Report

Merging #122 into master will decrease coverage by 0.83%.
The diff coverage is 34.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #122      +/-   ##
==========================================
- Coverage   63.91%   63.07%   -0.84%     
==========================================
  Files          38       38              
  Lines        2544     2573      +29     
==========================================
- Hits         1626     1623       -3     
- Misses        771      795      +24     
- Partials      147      155       +8     
Impacted Files Coverage Δ
cmd/ck-client/ck-client.go 0.00% <0.00%> (ø)
internal/client/state.go 50.44% <0.00%> (ø)
internal/client/piper.go 41.83% <35.48%> (-8.17%) ⬇️
internal/client/connector.go 68.62% <57.14%> (-3.72%) ⬇️
internal/server/TLS.go 59.61% <0.00%> (-7.70%) ⬇️
internal/multiplex/bufferedPipe.go 89.87% <0.00%> (-3.80%) ⬇️
internal/multiplex/obfs.go 81.05% <0.00%> (-2.11%) ⬇️
internal/multiplex/session.go 82.24% <0.00%> (-1.19%) ⬇️
internal/server/websocket.go 40.00% <0.00%> (+6.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 98a7b73...dab137d. Read the comment docs.

@cbeuw cbeuw merged commit f63fea1 into cbeuw:master Jul 12, 2020
@cbeuw
Copy link
Owner

cbeuw commented Jul 12, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants