hysteria/extras/transport/udphop
Haruue 3e34da1aa8
refactor: protect => quic.sockopts
Android's VpnService.protect() itself is confusing, so we rename the
"protect" feature with the name `fdControlUnixSocket` and make it a
sub-option under `quic.sockopts`.

A unit test is added to make sure the protect feature works.

I also added two other common options to `quic.sockopts` that I copied
from my other projects but did not fully test here.
2024-04-05 02:20:45 +08:00
..
addr.go chore: small tweaks 2023-08-30 20:12:21 -07:00
addr_test.go feat: udp port hopping 2023-08-30 20:02:18 -07:00
conn.go refactor: protect => quic.sockopts 2024-04-05 02:20:45 +08:00