Commit 9463f86
committed
fix: clamp gecko packet sizes; clarify obfs password visibility
- buildHysteria2SidecarConfig: clamp gecko min/max to hysteria's accepted
bounds (1 <= min <= max <= 2048) to avoid emitting an invalid config.
- Document why the obfs password field is shown for both Salamander and Gecko
(Gecko requires a password too).1 parent 4b985ad commit 9463f86
2 files changed
Lines changed: 7 additions & 2 deletions
File tree
- app/src/main/java/io/nekohasekai/sagernet
- fmt/hysteria
- ui/profile
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
433 | 436 | | |
434 | 437 | | |
435 | 438 | | |
436 | 439 | | |
437 | | - | |
438 | | - | |
| 440 | + | |
| 441 | + | |
439 | 442 | | |
440 | 443 | | |
441 | 444 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
| |||
0 commit comments