mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-06-02 22:36:52 +00:00
Fix DF for hysteria
This commit is contained in:
parent
68e286499d
commit
fc533cd38d
1 changed files with 1 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ type Hysteria struct {
|
|||
}
|
||||
|
||||
func NewHysteria(ctx context.Context, router adapter.Router, logger log.ContextLogger, tag string, options option.HysteriaOutboundOptions) (*Hysteria, error) {
|
||||
options.UDPFragmentDefault = true
|
||||
if options.TLS == nil || !options.TLS.Enabled {
|
||||
return nil, C.ErrTLSRequired
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue