Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for errDeadlineExceeded (0.25 sec)

  1. src/net/net.go

    	//
    	// If the deadline is exceeded a call to Read or Write or to other
    	// I/O methods will return an error that wraps os.ErrDeadlineExceeded.
    	// This can be tested using errors.Is(err, os.ErrDeadlineExceeded).
    	// The error's Timeout method will return true, but note that there
    	// are other possible errors for which the Timeout method will
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. cmd/server-main.go

    		errors.Is(err, io.ErrUnexpectedEOF) ||
    		errors.As(err, &rquorum) ||
    		errors.As(err, &wquorum) ||
    		isErrObjectNotFound(err) ||
    		isErrBucketNotFound(err) ||
    		errors.Is(err, os.ErrDeadlineExceeded) ||
    		notInitialized
    }
    
    func bootstrapTraceMsg(msg string) {
    	info := madmin.TraceInfo{
    		TraceType: madmin.TraceBootstrap,
    		Time:      UTCNow(),
    		NodeName:  globalLocalNodeName,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 34.5K bytes
    - Viewed (2)
  3. src/net/http/serve_test.go

    		cst := newClientServerTest(t, mode, HandlerFunc(func(res ResponseWriter, req *Request) {
    			_, err := io.Copy(io.Discard, req.Body)
    			if !errors.Is(err, os.ErrDeadlineExceeded) {
    				t.Errorf("server timed out reading request body: got err %v; want os.ErrDeadlineExceeded", err)
    			}
    			res.Write([]byte(respBody))
    		}), func(ts *httptest.Server) {
    			ts.Config.ReadHeaderTimeout = -1 // don't time out while reading headers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    	if err == nil {
    		return ErrNone
    	}
    
    	// Errors that are generated by net.Conn and any context errors must be handled here.
    	if errors.Is(err, os.ErrDeadlineExceeded) || errors.Is(err, context.DeadlineExceeded) {
    		return ErrRequestTimedout
    	}
    
    	// Only return ErrClientDisconnected if the provided context is actually canceled.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (1)
  5. src/net/http/h2_bundle.go

    // when the stream's ReadTimeout has fired.
    func (st *http2stream) onReadTimeout() {
    	if st.body != nil {
    		// Wrap the ErrDeadlineExceeded to avoid callers depending on us
    		// returning the bare error.
    		st.body.CloseWithError(fmt.Errorf("%w", os.ErrDeadlineExceeded))
    	}
    }
    
    // onWriteTimeout is run on its own goroutine (from time.AfterFunc)
    // when the stream's WriteTimeout has fired.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top