Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for errDeadlineExceeded (0.12 sec)

  1. 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