Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/net/http/transport_test.go

    		tr := cst.tr
    		tr.IdleConnTimeout = timeout
    		defer tr.CloseIdleConnections()
    		c := &Client{Transport: tr}
    
    		idleConns := func() []string {
    			if mode == http2Mode {
    				return tr.IdleConnStrsForTesting_h2()
    			} else {
    				return tr.IdleConnStrsForTesting()
    			}
    		}
    
    		var conn string
    		doReq := func(n int) (timeoutOk bool) {
    			req, _ := NewRequest("GET", cst.ts.URL, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top