v2ray пре 9 година
родитељ
комит
2f47074c98
1 измењених фајлова са 1 додато и 0 уклоњено
  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()