From fc533cd38d8468476622ed9c3c179ef94a9cda3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Tue, 18 Oct 2022 17:27:41 +0800 Subject: [PATCH] Fix DF for hysteria --- outbound/hysteria.go | 1 + 1 file changed, 1 insertion(+) diff --git a/outbound/hysteria.go b/outbound/hysteria.go index 200820b9..d3875f0c 100644 --- a/outbound/hysteria.go +++ b/outbound/hysteria.go @@ -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 }