yuhan6665
340234166b
Add TCPKeepAliveIdle in Sockopt option (#1166)
* 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>
2022-07-31 09:55:40 -04:00
..
2021-10-26 13:00:31 +08:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2021-10-26 13:00:31 +08:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2020-11-25 19:01:53 +08:00
2022-05-18 15:29:01 +08:00
2022-04-26 10:27:42 -04:00
2020-12-04 09:36:16 +08:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2021-10-22 13:06:57 +08:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2020-12-04 09:36:16 +08:00
2021-12-14 19:28:47 -05:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2021-03-07 04:39:50 +00:00
2021-03-07 04:39:50 +00:00
2020-11-25 19:01:53 +08:00
2021-03-06 16:29:17 +00:00
2022-05-18 15:29:01 +08:00
2022-03-29 00:01:14 -04:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2020-12-04 09:36:16 +08:00
2020-12-04 09:36:16 +08:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2021-10-26 13:00:31 +08:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2022-06-01 11:49:02 +08:00
2021-09-17 04:13:07 +08:00
2022-07-02 11:27:26 -04:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2022-07-31 09:55:40 -04:00
2022-05-18 15:29:01 +08:00
2021-03-14 15:02:07 +00:00
2022-05-18 15:29:01 +08:00
2020-12-04 09:36:16 +08:00
2022-05-18 15:29:01 +08:00
2021-12-14 19:28:47 -05:00
2022-05-18 15:29:01 +08:00
2022-05-18 15:29:01 +08:00
2022-05-23 22:18:33 +08:00