Xray-core/transport/internet
cty123 f1c81557dc #2605: Add safety check for type casting for QUIC dialer
Issue #2605 brought up real problem that QUIC dialer doesn't support sockopt at the moment. Inside `internet.DialSystem(...)` function, one of the branch that involves `redirect(...)` returns `cnc.connection` instance that is currently unhandled by the code logic, and thus caused program panic during runtime.

It seems the sockopt support for QUIC protocol requires a couple changes including making `cnc.connection` public, such that we can handle in dialer, along with some thorough tests, this commit simply adds safety check to explicity state the fact that QUIC isn't working with sockopt. And the implementation of the feature can be scheduled later on.
2023-11-14 10:14:26 -05:00
..
domainsocket Freedom xdomain strategy (#2719) 2023-11-12 16:27:39 -05:00
grpc Freedom xdomain strategy (#2719) 2023-11-12 16:27:39 -05:00
headers Freedom xdomain strategy (#2719) 2023-11-12 16:27:39 -05:00
http Freedom xdomain strategy (#2719) 2023-11-12 16:27:39 -05:00
kcp Freedom xdomain strategy (#2719) 2023-11-12 16:27:39 -05:00
quic #2605: Add safety check for type casting for QUIC dialer 2023-11-14 10:14:26 -05:00
reality Freedom xdomain strategy (#2719) 2023-11-12 16:27:39 -05:00
stat Fix: CounterConnection with ReadV/WriteV (#720) 2021-09-20 20:11:21 +08:00
tagged Fix some tests and format code (#830) 2021-12-14 19:28:47 -05:00
tcp Freedom xdomain strategy (#2719) 2023-11-12 16:27:39 -05:00
tls Freedom xdomain strategy (#2719) 2023-11-12 16:27:39 -05:00
udp Freedom xdomain strategy (#2719) 2023-11-12 16:27:39 -05:00
websocket Freedom xdomain strategy (#2719) 2023-11-12 16:27:39 -05:00
config.go 统一 domainStrategy 行为. (#2720) 2023-11-12 16:37:02 -05:00
config.pb.go 统一 domainStrategy 行为. (#2720) 2023-11-12 16:37:02 -05:00
config.proto 统一 domainStrategy 行为. (#2720) 2023-11-12 16:37:02 -05:00
dialer.go 统一 domainStrategy 行为. (#2720) 2023-11-12 16:37:02 -05:00
dialer_test.go Reformat code 2022-05-18 15:29:01 +08:00
errors.generated.go v1.1.0 2020-12-04 09:36:16 +08:00
filelocker.go v1.0.0 2020-11-25 19:01:53 +08:00
filelocker_other.go Style: format code 2021-09-20 21:00:55 +08:00
filelocker_windows.go v1.0.0 2020-11-25 19:01:53 +08:00
header.go v1.1.0 2020-12-04 09:36:16 +08:00
header_test.go v1.1.0 2020-12-04 09:36:16 +08:00
internet.go v1.1.0 2020-12-04 09:36:16 +08:00
memory_settings.go v1.0.0 2020-11-25 19:01:53 +08:00
sockopt.go Fix: TFO AsIs bug (#452) 2021-03-30 16:42:02 +00:00
sockopt_darwin.go add bindAddr for darwin 2023-10-16 10:24:28 -04:00
sockopt_freebsd.go Add TCPKeepAliveIdle in Sockopt option (#1166) 2022-07-31 09:55:40 -04:00
sockopt_linux.go Added tcp fragmentation for freedom outbound (#2021) 2023-05-22 02:59:58 +00:00
sockopt_linux_test.go v1.1.0 2020-12-04 09:36:16 +08:00
sockopt_other.go Remove dragonfly build 2023-11-12 14:30:50 -05:00
sockopt_test.go Reformat code 2022-05-18 15:29:01 +08:00
sockopt_windows.go Added tcp fragmentation for freedom outbound (#2021) 2023-05-22 02:59:58 +00:00
system_dialer.go Add tcpMptcp to sockopt (#2520) 2023-09-07 17:32:27 +00:00
system_listener.go Add tcpMptcp to sockopt (#2520) 2023-09-07 17:32:27 +00:00
system_listener_test.go Update dependencies 2023-04-23 19:32:07 +08:00
tcp_hub.go Fix some tests and format code (#830) 2021-12-14 19:28:47 -05:00