v2fly / v2ray-core

A platform for building proxies to bypass network restrictions.
https://v2fly.org
MIT License
29.76k stars 4.68k forks source link

Darwin's TFO impl was not support now. #1908

Closed fly3366 closed 1 year ago

fly3366 commented 2 years ago

TCP Fastopen impl for darwin is not support syscall with TCP_FASTOPEN_CLIENT.

Need to instead with CONNECTX.

fly3366 commented 2 years ago

if anyone need it, i may submit PR for this.

dyhkwong commented 2 years ago

Seems that v2ray's tfo impl is completely broken not only on darwin, but also on windows and freebsd. It does not work at all on non-linux.

database64128 commented 2 years ago

Instead of trying to fix this mess, maybe consider switching to a modern alternative instead:

Both of these use my https://github.com/database64128/tfo-go for TFO support on Linux, Windows, macOS and FreeBSD.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days