Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for compression (0.23 sec)

  1. docs/site-replication/run-ssec-object-replication-with-compression.sh

    touch /tmp/data/defpartsize
    shred -s 500M /tmp/data/defpartsize
    touch /tmp/data/mpartobj.txt
    shred -s 500M /tmp/data/mpartobj.txt
    echo "done"
    
    # Enable compression for site minio1
    ./mc admin config set minio1 compression enable=on extensions=".txt" --insecure
    ./mc admin config set minio1 compression allow_encryption=on --insecure
    
    # Create bucket in source cluster
    echo "Create bucket in source MinIO instance"
    ./mc mb minio1/test-bucket --insecure
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  2. cmd/object-multipart-handlers.go

    		return
    	}
    
    	_, isEncrypted := crypto.IsEncrypted(mi.UserDefined)
    
    	// Read compression metadata preserved in the init multipart for the decision.
    	_, isCompressed := mi.UserDefined[ReservedMetadataPrefix+"compression"]
    	// Compress only if the compression is enabled during initial multipart.
    	var idxCb func() []byte
    	if isCompressed {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  3. internal/crypto/error.go

    	// ErrIncompatibleEncryptionWithCompression indicates that both data compression and SSE-C not allowed at the same time
    	ErrIncompatibleEncryptionWithCompression = Errorf("Server side encryption specified with SSE-C with compression not allowed")
    
    	// ErrInvalidEncryptionKeyID returns error when KMS key id contains invalid characters
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. cmd/globals.go

    	// into an SSE-S3 request. If enabled a valid, non-empty KMS
    	// configuration must be present.
    	globalAutoEncryption bool
    
    	// Is compression enabled?
    	globalCompressConfigMu sync.Mutex
    	globalCompressConfig   compress.Config
    
    	// Some standard object extensions which we strictly dis-allow for compression.
    	standardExcludeCompressExtensions = []string{".gz", ".bz2", ".rar", ".zip", ".7z", ".xz", ".mp4", ".mkv", ".mov", ".jpg", ".png", ".gif"}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    			// Storing the compression metadata.
    			metadata[ReservedMetadataPrefix+"compression"] = compressionAlgorithmV2
    			metadata[ReservedMetadataPrefix+"actual-size"] = strconv.FormatInt(size, 10)
    
    			actualReader, err := hash.NewReader(ctx, reader, size, "", "", actualSize)
    			if err != nil {
    				return err
    			}
    
    			// Set compression metrics.
    			wantEncryption := crypto.Requested(r.Header)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  6. Makefile

    	@(env bash $(PWD)/docs/site-replication/run-sse-kms-object-replication.sh)
    	@echo "Running tests for automatic site replication of SSE-C objects with compression enabled for site"
    	@(env bash $(PWD)/docs/site-replication/run-ssec-object-replication-with-compression.sh)
    
    verify: ## verify minio various setups
    	@echo "Verifying build with race"
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  7. cmd/object-api-utils.go

    func (o *ObjectInfo) IsCompressed() bool {
    	_, ok := o.UserDefined[ReservedMetadataPrefix+"compression"]
    	return ok
    }
    
    // IsCompressedOK returns whether the object is compressed and can be decompressed.
    func (o *ObjectInfo) IsCompressedOK() (bool, error) {
    	scheme, ok := o.UserDefined[ReservedMetadataPrefix+"compression"]
    	if !ok {
    		return false, nil
    	}
    	switch scheme {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  8. internal/http/transports.go

    	// 		// if a response to Ping is not received.
    	// 		trhttp2.PingTimeout = dialTimeout
    	// 		// DisableCompression, if true, prevents the Transport from
    	// 		// requesting compression with an "Accept-Encoding: gzip"
    	// 		trhttp2.DisableCompression = true
    	// 	}
    	// }
    
    	return tr
    }
    
    // NewInternodeHTTPTransport returns transport for internode MinIO connections.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidCompressionFormat: {
    		Code:           "InvalidCompressionFormat",
    		Description:    "The file is not in a supported compression format. Only GZIP is supported at this time.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidFileHeaderInfo: {
    		Code:           "InvalidFileHeaderInfo",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  10. cmd/admin-router.go

    		logger.Fatal(err, "Unable to initialize server")
    	}
    	return gz
    }()
    
    // Set of handler options as bit flags
    type hFlag uint8
    
    const (
    	// this flag disables gzip compression of responses
    	noGZFlag = 1 << iota
    
    	// this flag enables tracing body and headers instead of just headers
    	traceAllFlag
    
    	// pass this flag to skip checking if object layer is available
    	noObjLayerFlag
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
Back to top