storj/private/server
Andrew Harding fd679c329c private/server: FreeBSD TCP fastopen support detection
Detects whether or not TCP fastopen is supported by running sysctl to
grab the current value of net.inet.tcp.fastopen.server_enable.

If not enabled, directs the operator to use sysctl to set it temporarily
and /etc/sysctl.conf to set it on-boot.

Setting the socket option always works whether it is enabled or not.

Verified that fastopen works on FreeBSD 13. Did not attempt on earlier
versions but support has been there since FreeBSD 10.

Change-Id: I2e0c457558a6fa7b7a1b18bc3c6684aff50b81a2
2023-09-18 21:17:42 +00:00
..
debounce private/server: debounce noise and tls connections 2023-03-21 16:51:31 +00:00
common.go all: fix error naming 2021-04-29 15:38:21 +03:00
fastopen_freebsd.go private/server: FreeBSD TCP fastopen support detection 2023-09-18 21:17:42 +00:00
fastopen_linux.go storagenode: report fastopen support 2023-06-05 15:20:13 +00:00
fastopen_other.go private/server: FreeBSD TCP fastopen support detection 2023-09-18 21:17:42 +00:00
fastopen_windows.go private/server: Windows TCP fast-open support detection 2023-09-18 14:15:30 +00:00
listener.go private/server: monitor incoming connection kinds 2022-03-15 21:20:32 +00:00
prefix.go storagenode: accept HTTP calls on public port, listening for monitoring requests 2022-08-26 09:38:09 +00:00
server_test.go go.mod: bump lang to 1.19 and common 2023-08-10 18:41:15 +03:00
server.go storagenode: report fastopen support 2023-06-05 15:20:13 +00:00
tlsdebounce.go private/server: debounce noise and tls connections 2023-03-21 16:51:31 +00:00