mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-28 22:33:32 +02: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> |
||
---|---|---|
.. | ||
domainsocket | ||
grpc | ||
headers | ||
http | ||
kcp | ||
quic | ||
stat | ||
tagged | ||
tcp | ||
tls | ||
udp | ||
websocket | ||
xtls | ||
config.go | ||
config.pb.go | ||
config.proto | ||
dialer.go | ||
dialer_test.go | ||
errors.generated.go | ||
filelocker.go | ||
filelocker_other.go | ||
filelocker_windows.go | ||
header.go | ||
header_test.go | ||
internet.go | ||
memory_settings.go | ||
sockopt.go | ||
sockopt_darwin.go | ||
sockopt_freebsd.go | ||
sockopt_linux.go | ||
sockopt_linux_test.go | ||
sockopt_other.go | ||
sockopt_test.go | ||
sockopt_windows.go | ||
system_dialer.go | ||
system_listener.go | ||
system_listener_test.go | ||
tcp_hub.go |