Skip to content

Commit fe15d49

Browse files
committed
fix: hysteria2 inbound not set UDPTimeout
1 parent 2f4dbc5 commit fe15d49

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ require (
2727
github.com/metacubex/randv2 v0.2.0
2828
github.com/metacubex/sing v0.5.3-0.20250504023748-be4f88ca5f7b
2929
github.com/metacubex/sing-mux v0.3.2
30-
github.com/metacubex/sing-quic v0.0.0-20250503063219-9663baa38af1
30+
github.com/metacubex/sing-quic v0.0.0-20250504030450-1e678cb3d50b
3131
github.com/metacubex/sing-shadowsocks v0.2.9
3232
github.com/metacubex/sing-shadowsocks2 v0.2.3
3333
github.com/metacubex/sing-shadowtls v0.0.0-20250503063515-5d9f966d17a2

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ github.com/metacubex/sing v0.5.3-0.20250504023748-be4f88ca5f7b h1:YALFKmnjpehrHd
120120
github.com/metacubex/sing v0.5.3-0.20250504023748-be4f88ca5f7b/go.mod h1:ypf0mjwlZm0sKdQSY+yQvmsbWa0hNPtkeqyRMGgoN+w=
121121
github.com/metacubex/sing-mux v0.3.2 h1:nJv52pyRivHcaZJKk2JgxpaVvj1GAXG81scSa9N7ncw=
122122
github.com/metacubex/sing-mux v0.3.2/go.mod h1:3rt1soewn0O6j89GCLmwAQFsq257u0jf2zQSPhTL3Bw=
123-
github.com/metacubex/sing-quic v0.0.0-20250503063219-9663baa38af1 h1:n3FqMNoRzVQr03Qf0ZlvimlJlKI8sG6gOUnJy6xy2QQ=
124-
github.com/metacubex/sing-quic v0.0.0-20250503063219-9663baa38af1/go.mod h1:mqtr9bgM9eLvLKQqiLOi5I6AJHkvqAw2a61ABZcLuoE=
123+
github.com/metacubex/sing-quic v0.0.0-20250504030450-1e678cb3d50b h1:JKx0yY/eXU7U5tHiAxANytFtkfEjzOte19qLlc+pFeY=
124+
github.com/metacubex/sing-quic v0.0.0-20250504030450-1e678cb3d50b/go.mod h1:mqtr9bgM9eLvLKQqiLOi5I6AJHkvqAw2a61ABZcLuoE=
125125
github.com/metacubex/sing-shadowsocks v0.2.9 h1:2e++13WNN7EGjGtvrGLUzW1xrCdQbW2gIFpgw5GEw00=
126126
github.com/metacubex/sing-shadowsocks v0.2.9/go.mod h1:CJSEGO4FWQAWe+ZiLZxCweGdjRR60A61SIoVjdjQeBA=
127127
github.com/metacubex/sing-shadowsocks2 v0.2.3 h1:v3rNS/5Ywh0NIZ6VU/NmdERQIN5RePzyxCFeQsU4Cx0=

listener/sing_hysteria2/server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ func New(config LC.Hysteria2Server, tunnel C.Tunnel, additions ...inbound.Additi
128128
TLSConfig: tlsC.UConfig(tlsConfig),
129129
QUICConfig: quicConfig,
130130
IgnoreClientBandwidth: config.IgnoreClientBandwidth,
131+
UDPTimeout: sing.UDPTimeout,
131132
Handler: h,
132133
MasqueradeHandler: masqueradeHandler,
133134
CWND: config.CWND,

0 commit comments

Comments
 (0)