Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IdleConnTimeout (0.35 sec)

  1. src/net/http/h2_bundle.go

    }
    
    func (t *http2Transport) idleConnTimeout() time.Duration {
    	// to keep things backwards compatible, we use non-zero values of
    	// IdleConnTimeout, followed by using the IdleConnTimeout on the underlying
    	// http1 transport, followed by 0
    	if t.IdleConnTimeout != 0 {
    		return t.IdleConnTimeout
    	}
    
    	if t.t1 != nil {
    		return t.t1.IdleConnTimeout
    	}
    
    	return 0
    }
    
    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