Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isMaxObjectSize (0.07 sec)

  1. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
Back to top