cloudflare / cloudflare/cloudflared
Set TCP_NOTSENT_LOWAT socket option
Open
Needs clarification
Type: Feature Request
- Dominant language
- Go
- Stars
- 15.6k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the feature you'd like**
Set the TCP_NOTSENT_LOWAT option to a lower value on the connection to CF edge for h2/h2mux tunnel. This has been shown to improve http/2 prioritization and reduce bufferbloat: https://blog.cloudflare.com/http-2-prioritization-with-nginx/ and https://www.bufferbloat.net/projects/bloat/wiki/Janitorial_Tasks/
**Describe alternatives you've considered**
https://github.com/wloot/cloudflared/commit/5e8e2126dca3abda3aeb6d8f8e4ee09023f120b2
Contributor guide
Assessment
This issue has not been assessed yet.