- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ForceMD5 (0.04 sec)
-
internal/hash/reader.go
if !disableMD5 { if _, ok := src.(etag.Tagger); !ok { src = etag.NewReader(ctx, r, MD5, forceMD5) } else { src = etag.Wrap(r, src) } } else { src = r } } else if _, ok := src.(etag.Tagger); !ok { if !disableMD5 { src = etag.NewReader(ctx, src, MD5, forceMD5) } } var h hash.Hash if len(SHA256) != 0 { h = sha256.New() } return &Reader{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 19 12:59:07 UTC 2024 - 10.9K bytes - Viewed (0) -
cmd/object-multipart-handlers.go
sha256hex = "" } var forceMD5 []byte // Optimization: If SSE-KMS and SSE-C did not request Content-Md5. Use uuid as etag. Optionally enable this also // for server that is started with `--no-compat`. if !etag.ContentMD5Requested(r.Header) && (crypto.S3KMS.IsEncrypted(mi.UserDefined) || crypto.SSEC.IsRequested(r.Header) || !globalServerCtxt.StrictS3Compat) { forceMD5 = mustGetUUIDBytes() }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Aug 31 18:25:48 UTC 2024 - 39.2K bytes - Viewed (0)