trojan-gfw / trojan

An unidentifiable mechanism that helps you bypass GFW.
https://trojan-gfw.github.io/trojan/
GNU General Public License v3.0
18.96k stars 3.04k forks source link

[Feature Request] Plan to support Zero Copy for network packets? #699

Open NagisaEfi opened 7 months ago

NagisaEfi commented 7 months ago

Is your feature request related to a problem? Please describe. None

Is this problem relevant to what trojan should care about? None

Describe the solution you'd like Plan to support Zero Copy for network packets? Such as Splice (Linux), TransmitFile (Windows). And provides a config option to activate / deactivate Zero Copy. This is similar to xtls-rprx-vision in VLESS and XRAY, but Trojan is also forward UDP packets through SOCKS.

Describe alternatives you've considered None

Additional context None