Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isMaxObjectSize (0.11 sec)

  1. cmd/utils.go

    	globalMinPartSize = 5 * humanize.MiByte
    
    	// Maximum Part ID for multipart upload is 10000
    	// (Acceptable values range from 1 to 10000 inclusive)
    	globalMaxPartID = 10000
    )
    
    // isMaxObjectSize - verify if max object size
    func isMaxObjectSize(size int64) bool {
    	return size > globalMaxObjectSize
    }
    
    // Check if part size is more than or equal to minimum allowed size.
    func isMinAllowedPartSize(size int64) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  2. cmd/object-multipart-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// maximum copy size for multipart objects in a single operation
    	if isMaxObjectSize(length) {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrEntityTooLarge), r.URL)
    		return
    	}
    
    	if isRemoteCopyRequired(ctx, srcBucket, dstBucket, objectAPI) {
    		var dstRecords []dns.SrvRecord
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	defer gr.Close()
    	srcInfo := gr.ObjInfo
    
    	// maximum Upload size for object in a single CopyObject operation.
    	if isMaxObjectSize(srcInfo.Size) {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrEntityTooLarge), r.URL)
    		return
    	}
    
    	// We have to copy metadata only if source and destination are same.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top