1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-14 00:07:09 -05:00
Commit Graph

21 Commits

Author SHA1 Message Date
秋のかえで
5593fdee09
Feat: add bind to device to Windows and Darwin (#1972) 2022-10-08 09:03:51 +08:00
Huang-Huang Bao
02c8b04230 Fix: correct TCP keepalive sockopt names for darwin
Fixes: a0eb84dbff
2022-06-25 19:45:18 +01:00
Shelikhoo
4357719480 apply sockopt rename 2022-01-23 20:33:01 +00:00
Shelikhoo
547b4fb49b rewrite sockopt rxtx buf size message for darwin, freebsd 2022-01-23 20:33:01 +00:00
Shelikhoo
16a44f65be add socksopt rxtxbuf for freebsd 2022-01-23 20:33:01 +00:00
世界
093a4d6a82
fix error formatting in sockopt 2022-01-16 20:39:29 +00:00
Shelikhoo
84c428c226 adapt style recommendations for keep alive control
From: https://github.com/v2fly/v2ray-core/pull/1484#discussion_r777456773 https://github.com/v2fly/v2ray-core/pull/1484#discussion_r777270291
2022-01-16 13:31:44 +00:00
ValdikSS
a0eb84dbff Separate TcpKeepAliveIdle and TcpKeepAliveInterval check logic 2022-01-16 13:31:44 +00:00
Shelikhoo
718922b047 use sys/unix instead of syscall
Suggestion from:
https://github.com/v2fly/v2ray-core/pull/1395#issuecomment-974761647
2021-11-28 22:49:02 +00:00
Shelikhoo
a47fcffe50 use sys/unix instead of syscall
Suggestion from:
https://github.com/v2fly/v2ray-core/pull/1395#issuecomment-974761647
2021-11-28 22:49:02 +00:00
Shelikhoo
44272fa82f embed macOS const to avoid platform inconsistency(again) 2021-11-28 22:49:02 +00:00
Shelikhoo
fb4ad3f5fa embed macOS const to avoid platform inconsistency 2021-11-28 22:49:02 +00:00
ValdikSS
dc709f56dd Add TCP keep alive support in MacOS, FreeBSD 2021-11-28 22:49:02 +00:00
Loyalsoldier
dce8764fd7
Lint: fix lint (#1427)
* Lint: replace golint with revive
* Lint: fix lint
2021-11-27 17:16:41 +08:00
Loyalsoldier
b68f943c78
Fix lint according to golangci-lint (#439) 2020-11-22 05:05:01 +08:00
Vigilans
39cbe4ab13 Implement setReuseAddr and setReusePort in sockopt_{os}.go 2020-07-31 01:20:12 +08:00
Darien Raymond
5279296f03
remove use of context.WithValue in transport 2018-11-21 14:54:40 +01:00
Darien Raymond
e35e3e6e53
comment 2018-10-14 20:18:09 +02:00
Darien Raymond
383b84e7dd
unified tproxy option 2018-09-17 15:12:58 +02:00
Darien Raymond
1e4547e262
simplify tcp network detection 2018-09-11 10:03:26 +02:00
Darien Raymond
5d9dacc261
fix tfo for darwin 2018-09-10 21:47:24 +02:00