You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/wgengine/magicsock
James Tucker 539c073cf0 wgengine/magicsock: set UDP socket buffer sizes to 7MB
- At high data rates more buffer space is required in order to avoid
  packet loss during any cause of delay.
- On slower machines more buffer space is required in order to avoid
  packet loss while decryption & tun writing is underway.
- On higher latency network paths more buffer space is required in order
  to overcome BDP.
- On Linux set with SO_*BUFFORCE to bypass net.core.{r,w}mem_max.
- 7MB is the current default maximum on macOS 12.6
- Windows test is omitted, as Windows does not support getsockopt for
  these options.

Signed-off-by: James Tucker <james@tailscale.com>
2 years ago
..
debughttp.go wgengine/magicsock: fix panic in http debug server 2 years ago
debugknobs.go wgengine/magicsock: add client flag and envknob to disable heartbeat (#5638) 2 years ago
debugknobs_stubs.go wgengine/magicsock: add client flag and envknob to disable heartbeat (#5638) 2 years ago
discopingpurpose_string.go wgengine/magicsock: make discoPingPurpose a stringer 4 years ago
magicsock.go wgengine/magicsock: set UDP socket buffer sizes to 7MB 2 years ago
magicsock_default.go wgengine/magicsock: set UDP socket buffer sizes to 7MB 2 years ago
magicsock_linux.go wgengine/magicsock: set UDP socket buffer sizes to 7MB 2 years ago
magicsock_test.go refactor: move from io/ioutil to io and os packages 2 years ago
magicsock_unix_test.go wgengine/magicsock: set UDP socket buffer sizes to 7MB 2 years ago