cloudflared icon indicating copy to clipboard operation
cloudflared copied to clipboard

Set TCP_NOTSENT_LOWAT socket option

Open wloot opened this issue 3 years ago • 1 comments

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

wloot avatar May 03 '22 04:05 wloot

Hey, thx. We're seeing a lot of good in applying this option intelligently. 16K works for some kinds of flows, google is at no more than a mbyte.

dtaht avatar May 06 '22 02:05 dtaht