mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-25 18:11:27 +00:00
f1c81557dc
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. |
||
---|---|---|
.. | ||
domainsocket | ||
grpc | ||
headers | ||
http | ||
kcp | ||
quic | ||
reality | ||
stat | ||
tagged | ||
tcp | ||
tls | ||
udp | ||
websocket | ||
config.go | ||
config.pb.go | ||
config.proto | ||
dialer.go | ||
dialer_test.go | ||
errors.generated.go | ||
filelocker.go | ||
filelocker_other.go | ||
filelocker_windows.go | ||
header.go | ||
header_test.go | ||
internet.go | ||
memory_settings.go | ||
sockopt.go | ||
sockopt_darwin.go | ||
sockopt_freebsd.go | ||
sockopt_linux.go | ||
sockopt_linux_test.go | ||
sockopt_other.go | ||
sockopt_test.go | ||
sockopt_windows.go | ||
system_dialer.go | ||
system_listener.go | ||
system_listener_test.go | ||
tcp_hub.go |