Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for http2isClosedConnError (0.16 sec)

  1. src/net/http/h2_bundle.go

    		return uintptr(rv.Uint())
    	}
    	return 0
    }
    
    // isClosedConnError reports whether err is an error from use of a closed
    // network connection.
    func http2isClosedConnError(err error) bool {
    	if err == nil {
    		return false
    	}
    
    	if errors.Is(err, net.ErrClosed) {
    		return true
    	}
    
    	// TODO(bradfitz): x/tools/cmd/bundle doesn't really support
    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