v2ray 9 gadi atpakaļ
vecāks
revīzija
2f47074c98
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      testing/servers/tcp/tcp.go

+ 1 - 0
testing/servers/tcp/tcp.go

@@ -50,6 +50,7 @@ func (server *Server) handleConnection(conn net.Conn) {
 			break
 		}
 		response := server.MsgProcessor(request.Value)
+		request.Release()
 		conn.Write(response)
 	}
 	conn.Close()