mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-23 14:09:49 +00:00
340234166b
* Add TCP keep alive idle setting * Add TCP keep alive idle setting: auto generated * Add TCP keep alive support in Linux * Add TCP keep alive support in MacOS, FreeBSD * Add TCP keep alive support in Windows * fix bug introduced in adding tcp keep alive adjustment * embed macOS const to avoid platform inconsistency * embed macOS const to avoid platform inconsistency(again) * add TCP Keep Alive support in config * use sys/unix instead of syscall Suggestion from: https://github.com/v2fly/v2ray-core/pull/1395#issuecomment-974761647 * use sys/unix instead of syscall Suggestion from: https://github.com/v2fly/v2ray-core/pull/1395#issuecomment-974761647 * Separate TcpKeepAliveIdle and TcpKeepAliveInterval check logic * Disable tcp keepAlive when TcpKeepAliveIdle < 0 and TcpKeepAliveInterval <= 0 Co-authored-by: xqzr <34030394+xqzr@users.noreply.github.com> Co-authored-by: ValdikSS <iam@valdikss.org.ru> Co-authored-by: Shelikhoo <xiaokangwang@outlook.com> Co-authored-by: xqzr <34030394+xqzr@users.noreply.github.com> |
||
---|---|---|
.. | ||
cfgcommon/duration | ||
json | ||
serial | ||
api.go | ||
blackhole_test.go | ||
blackhole.go | ||
buildable.go | ||
common_test.go | ||
common.go | ||
conf.go | ||
dns_proxy_test.go | ||
dns_proxy.go | ||
dns_test.go | ||
dns.go | ||
dokodemo_test.go | ||
dokodemo.go | ||
errors.generated.go | ||
fakedns.go | ||
freedom_test.go | ||
freedom.go | ||
general_test.go | ||
grpc.go | ||
http_test.go | ||
http.go | ||
init.go | ||
lint.go | ||
loader.go | ||
log.go | ||
loopback.go | ||
metrics.go | ||
mtproto_test.go | ||
mtproto.go | ||
observatory.go | ||
policy_test.go | ||
policy.go | ||
reverse_test.go | ||
reverse.go | ||
router_strategy.go | ||
router_test.go | ||
router.go | ||
shadowsocks_legacy.go | ||
shadowsocks_test.go | ||
shadowsocks.go | ||
socks_test.go | ||
socks.go | ||
transport_authenticators.go | ||
transport_internet.go | ||
transport_test.go | ||
transport.go | ||
trojan.go | ||
vless_test.go | ||
vless.go | ||
vmess_test.go | ||
vmess.go | ||
xray_test.go | ||
xray.go |