Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for closeWithError (0.3 sec)

  1. src/net/http/h2_bundle.go

    func (p *http2pipe) BreakWithError(err error) { p.closeWithError(&p.breakErr, err, nil) }
    
    // closeWithErrorAndCode is like CloseWithError but also sets some code to run
    // in the caller's goroutine before returning the error.
    func (p *http2pipe) closeWithErrorAndCode(err error, fn func()) { p.closeWithError(&p.err, err, fn) }
    
    func (p *http2pipe) closeWithError(dst *error, err error, fn func()) {
    	if err == nil {
    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