Repository navigation
Commit 948cccf
authored
fix: hysteria2 should default to TLS when security param is missing (7Sageer#345)
Hysteria2 protocol requires TLS by design. When parsing hysteria2:// URIs
without explicit security parameter, the parser should default to 'tls'
before calling createTlsConfig().
This fixes 'TLS required' errors for hysteria2 nodes that only specify
insecure=1 without security=tls.
Fixes 7Sageer#3401 parent 3c92e81 commit 948cccf
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
0 commit comments