Hysteria transport: Fix client-side clientManager (#5928)

Fixes https://github.com/XTLS/Xray-core/issues/5911
This commit is contained in:
风扇滑翔翼
2026-04-14 00:14:15 +08:00
committed by GitHub
parent 806b8dc27d
commit e9f7d61c2e
2 changed files with 31 additions and 21 deletions

View File

@@ -94,6 +94,12 @@ func (s *Server) Process(ctx context.Context, network net.Network, conn stat.Con
useremail = inbound.User.Email
userlevel = inbound.User.Level
}
} else {
// get a dummy user
inbound.User = &protocol.MemoryUser{
Email: "",
Level: 0,
}
}
if _, ok := iConn.(*hysteria.InterUdpConn); ok {