Skip to content

Commit f4329bc

Browse files
M03EDImMohammad20000
authored andcommitted
fix: sync with latest changes
1 parent fb35503 commit f4329bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

proxy/hysteria/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func (s *Server) Process(ctx context.Context, network net.Network, conn stat.Con
116116

117117
ctx, connCancel := context.WithCancel(ctx)
118118
defer connCancel()
119-
if email := strings.ToLower(useremail); email != "" {
119+
if email := strings.ToLower(inbound.User.Email); email != "" {
120120
connID, connEntry := s.connTracker.RegisterWithMeta(email, connCancel, inbound.Tag, "hysteria")
121121
defer s.connTracker.Unregister(email, connID)
122122
conn = connectiontracker.WrapConn(conn, connEntry)

0 commit comments

Comments
 (0)