Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for panic (0.38 sec)

  1. cmd/storage-rest-server.go

    	if !s.IsValid(w, r) {
    		return
    	}
    	rw := streamHTTPResponse(w)
    	defer func() {
    		if r := recover(); r != nil {
    			debug.PrintStack()
    			rw.CloseWithError(fmt.Errorf("panic: %v", r))
    		}
    	}()
    
    	var req ReadMultipleReq
    	mr := msgpNewReader(r.Body)
    	defer readMsgpReaderPoolPut(mr)
    	err := req.DecodeMsg(mr)
    	if err != nil {
    		rw.CloseWithError(err)
    		return
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    		err = store.loadMappedPolicy(ctx, accessKey, userType, false, cache.iamUserPolicyMap)
    	default:
    		// This is just to ensure that we have covered all cases for new
    		// code in future.
    		panic("unknown user type")
    	}
    	// Ignore policy not mapped error
    	if err != nil && !errors.Is(err, errNoSuchPolicy) {
    		return err
    	}
    
    	return nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. docs/zh-hant/docs/benchmarks.md

        * 如果你沒有使用 FastAPI 而是直接使用 Starlette(或其他工具,如 Sanic、Flask、Responder 等),你將必須自行實現所有資料驗證和序列化。因此,你的最終應用程式仍然具有與使用 FastAPI 建置相同的開銷。在許多情況下,這種資料驗證...
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Apr 27 14:30:56 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    * Update description of Sanic, as it is now ASGI too. PR [#932](https://github.com/tiangolo/fastapi/pull/932) by [@raphaelauv](https://github.com/raphaelauv).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
Back to top