mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-12-02 12:46:47 +00:00
fix: apply TUIC v5 UDP relay size clamp when building server options (#2943)
This commit is contained in:
1 parent
d41d75795e
commit
e3972e78fa
1 file changed
+1
-1
@@ -237,7 +237,7 @@ func NewServer(option *ServerOption, pc net.PacketConn) (*Server, error) {
|
||||
HandleTcpFn: option.HandleTcpFn,
|
||||
HandleUdpFn: option.HandleUdpFn,
|
||||
Users: option.Users,
|
||||
MaxUdpRelayPacketSize: option.MaxUdpRelayPacketSize,
|
||||
MaxUdpRelayPacketSize: maxUdpRelayPacketSize,
|
||||
}
|
||||
}
|
||||
return server, nil
|
||||
|
||||
Reference in new issue
Block a user