Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 374 for reject (0.17 sec)

  1. cmd/auth-handler.go

    			// Verify if date headers are set, if not reject the request
    			amzDate, errCode := parseAmzDateHeader(r)
    			if errCode != ErrNone {
    				if ok {
    					tc.FuncName = "handler.Auth"
    					tc.ResponseRecorder.LogErrBody = true
    				}
    
    				// All our internal APIs are sensitive towards Date
    				// header, for all requests where Date header is not
    				// present we will reject such clients.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  2. cmd/iam.go

    		// Sub policy if set, should be a string reject
    		// malformed/malicious requests.
    		return
    	}
    
    	// Check if policy is parseable.
    	subPolicy, err := policy.ParseConfig(bytes.NewReader([]byte(spolicyStr)))
    	if err != nil {
    		// Log any error in input session policy config.
    		iamLogIf(GlobalContext, err)
    		return
    	}
    
    	// Policy without Version string value reject it.
    	if subPolicy.Version == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  3. cmd/bucket-targets.go

    		defer rTimer.Stop()
    		for {
    			select {
    			case <-rTimer.C:
    				sys.reloadHealthCheckers(ctx)
    				rTimer.Reset(defaultHealthCheckReloadDuration)
    			case <-ctx.Done():
    				return
    			}
    		}
    	}()
    	go sys.heartBeat(ctx)
    	return sys
    }
    
    // UpdateAllTargets updates target to reflect metadata updates
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. cmd/object-multipart-handlers.go

    	if !globalTierConfigMgr.Empty() {
    		// Get appropriate object info to identify the remote object to delete
    		goiOpts := os.GetOpts()
    		if goi, gerr := objectAPI.GetObjectInfo(ctx, bucket, object, goiOpts); gerr == nil {
    			os.SetTransitionState(goi.TransitionedObject)
    		}
    	}
    
    	opts, err := completeMultipartOpts(ctx, r, bucket, object)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    }
    
    // DeleteObjectTags - delete object tags from an existing object
    func (er erasureObjects) DeleteObjectTags(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error) {
    	return er.PutObjectTags(ctx, bucket, object, "", opts)
    }
    
    // GetObjectTags - get object tags from an existing object
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  6. cmd/object-handlers.go

    		// do an additional verification whether object exists when object is deletemarker and request
    		// is from replication
    		if opts.CheckDMReplicationReady {
    			topts := opts
    			topts.VersionID = ""
    			goi, gerr := getObjectInfo(ctx, bucket, object, topts)
    			if gerr == nil || goi.VersionID != "" { // object layer returned more info because object is deleted
    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)
  7. cmd/object-api-errors.go

    	return "Object not found: " + e.Bucket + "/" + e.Object
    }
    
    // MethodNotAllowed on the object
    type MethodNotAllowed GenericError
    
    func (e MethodNotAllowed) Error() string {
    	return "Method not allowed: " + e.Bucket + "/" + e.Object
    }
    
    // ObjectLocked object is currently WORM protected.
    type ObjectLocked GenericError
    
    func (e ObjectLocked) Error() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. cmd/testdata/undeleteable-object.tgz

    undeleteable-object.tar multisitea/data/disterasure/xl3/bucket/2/xl.meta XL2 Æ R Ä$•Ä Ó É ýG7xÄ â”{± Å &ƒ¤Type ¥V2ObjÞ ¢IDÄ ¤DDirÄ wÿhY ªFn€ Äw( ’¦EcAlgo £EcM £EcN §EcBSizeÒ §EcIndex ¦EcDistœ ¨CSumAlgo ¨PartNums‘ ©PartETagsÀ©PartSizes‘Ò P ªPartASizes‘Ò P ¤SizeÒ P ¥MTimeÓ É ýG7x§MetaSys€§MetaUsr‚¬content-typeªtext/plain¤etagÙ 4b412ab80fe1268b9de7¡v ΑÈcÑ multisitea/data/disterasure/xl3/bucket/2/77ff6859-03aa-466e-8018-c477288f1092/part.1 multisitea/data/disterasure/xl3/.minio.sys/._format.json...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Viewed (0)
  9. cmd/object-api-utils.go

    	return !strings.ContainsRune(object, 0)
    }
    
    // checkObjectNameForLengthAndSlash -check for the validity of object name length and prefis as slash
    func checkObjectNameForLengthAndSlash(bucket, object string) error {
    	// Check for the length of object name
    	if len(object) > 1024 {
    		return ObjectNameTooLong{
    			Bucket: bucket,
    			Object: object,
    		}
    	}
    	// Check for slash as prefix in object name
    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)
  10. cmd/object_api_suite_test.go

    			t.Errorf("%s: Expected the object name to be `%s`, but instead found `%s`", instanceType, "newPrefix", result.Objects[0].Name)
    		}
    		if result.Objects[1].Name != "newPrefix2" {
    			t.Errorf("%s: Expected the object name to be `%s`, but instead found `%s`", instanceType, "newPrefix", result.Objects[1].Name)
    		}
    		if result.Objects[2].Name != "obj0" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
Back to top