me.fier.tcpserver/config/sockets/basic/http.toml

10 lines
354 B
TOML

_addr = "127.0.0.1"
_port = 8080
_timeout = 30
_ssl = false
_options = [
["SOL_SOCKET","SO_REUSEADDR","1"], # Immediately free address when server is shut down
["IPPROTO_TCP","TCP_NODELAY","1"], # Disable nagle's algorithm (decreases delay)
["IPPROTO_TCP","IP_TOS", "16"] # 16 = IPTOS_LOWDELAY. Prioritizes this socket's traffic over other ones.
]