Xray-core/proxy
yuhan6665 017f53b5fc
Add session context outbounds as slice (#3356)
* Add session context outbounds as slice

slice is needed for dialer proxy where two outbounds work on top of each other
There are two sets of target addr for example
It also enable Xtls to correctly do splice copy by checking both outbounds are ready to do direct copy

* Fill outbound tag info

* Splice now checks capalibility from all outbounds

* Fix unit tests
2024-05-13 21:52:24 -04:00
..
blackhole Add session context outbounds as slice (#3356) 2024-05-13 21:52:24 -04:00
dns Add session context outbounds as slice (#3356) 2024-05-13 21:52:24 -04:00
dokodemo Add session context outbounds as slice (#3356) 2024-05-13 21:52:24 -04:00
freedom Add session context outbounds as slice (#3356) 2024-05-13 21:52:24 -04:00
http Add session context outbounds as slice (#3356) 2024-05-13 21:52:24 -04:00
loopback Add session context outbounds as slice (#3356) 2024-05-13 21:52:24 -04:00
shadowsocks Add session context outbounds as slice (#3356) 2024-05-13 21:52:24 -04:00
shadowsocks_2022 Add session context outbounds as slice (#3356) 2024-05-13 21:52:24 -04:00
socks Add session context outbounds as slice (#3356) 2024-05-13 21:52:24 -04:00
trojan Add session context outbounds as slice (#3356) 2024-05-13 21:52:24 -04:00
vless Add session context outbounds as slice (#3356) 2024-05-13 21:52:24 -04:00
vmess Add session context outbounds as slice (#3356) 2024-05-13 21:52:24 -04:00
wireguard Add session context outbounds as slice (#3356) 2024-05-13 21:52:24 -04:00
errors.generated.go Enable splice for freedom outbound (downlink only) 2023-09-07 14:17:39 -04:00
proxy.go Add session context outbounds as slice (#3356) 2024-05-13 21:52:24 -04:00