summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver
diff options
context:
space:
mode:
authorJames Tucker <james@tailscale.com>2025-02-06 10:35:16 -0800
committerJames Tucker <jftucker@gmail.com>2025-02-06 16:17:25 -0800
commit4903d6c80bba6de3e6b70f24ee80169ed4ac4e68 (patch)
treee39d71b7c8d0c6eff467d82da7ad6b82d9d7cd94 /control/controlhttp/controlhttpserver
parentcaafe68eb2db88f16facecde777d8925dbe7cc99 (diff)
downloadtailscale-4903d6c80bba6de3e6b70f24ee80169ed4ac4e68.tar.xz
tailscale-4903d6c80bba6de3e6b70f24ee80169ed4ac4e68.zip
wgengine/netstack: block link writes when full rather than drop
Originally identified by Coder and documented in their blog post, this implementation differs slightly as our link endpoint was introduced for a different purpose, but the behavior is the same: apply backpressure rather than dropping packets. This reduces the negative impact of large packet count bursts substantially. An alternative would be to swell the size of the channel buffer substantially, however that's largely just moving where buffering occurs and may lead to reduced signalling back to lower layer or upstream congestion controls. Updates #9707 Updates #10408 Updates #12393 Updates tailscale/corp#24483 Updates tailscale/corp#25169 Signed-off-by: James Tucker <james@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions