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

Feat: custom TCP Fast Open queue length #1293

Merged
merged 2 commits into from Sep 26, 2021
Merged

Conversation

AkinoKaede
Copy link
Contributor

@AkinoKaede AkinoKaede commented Sep 25, 2021

As the design of Linux kernel, when server received TCP Fast Open SYN more than the queue length of TCP Fast Open, the SYN will not be processed as the TCP Fast Open SYN but will be processed as a normal TCP SYN.

@codecov-commenter
Copy link

codecov-commenter commented Sep 25, 2021

Codecov Report

Merging #1293 (fbdfd7d) into master (c278db5) will decrease coverage by 0.01%.
The diff coverage is 20.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1293      +/-   ##
==========================================
- Coverage   44.64%   44.63%   -0.02%     
==========================================
  Files         485      485              
  Lines       29524    29534      +10     
==========================================
  Hits        13182    13182              
- Misses      14939    14948       +9     
- Partials     1403     1404       +1     
Impacted Files Coverage Δ
transport/internet/config.pb.go 16.10% <0.00%> (-0.25%) ⬇️
transport/internet/sockopt_linux.go 17.39% <0.00%> (ø)
infra/conf/transport_internet.go 36.10% <50.00%> (+0.17%) ⬆️
common/drain/drainer.go 65.51% <0.00%> (-6.90%) ⬇️
transport/pipe/impl.go 87.87% <0.00%> (-2.03%) ⬇️
proxy/shadowsocks/client.go 1.00% <0.00%> (-0.03%) ⬇️
transport/internet/kcp/connection.go 72.37% <0.00%> (+0.55%) ⬆️

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 c278db5...fbdfd7d. Read the comment docs.

@AkinoKaede AkinoKaede force-pushed the feat-tfo-qlen branch 3 times, most recently from 5f74734 to c29a4c0 Compare September 25, 2021 14:40
@kslr kslr merged commit b25a9e5 into v2fly:master Sep 26, 2021
xiaokangwang pushed a commit that referenced this pull request Sep 27, 2021
* Feat: custom TCP Fast Open queue length

* Feat: change default TFO queue length to 4096
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.

None yet

4 participants