Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for connsPerHost (0.09 sec)

  1. src/net/http/export_test.go

    		// Transport is tracking conns-per-host.
    		// Increment connection count to account
    		// for new persistConn created below.
    		t.connsPerHostMu.Lock()
    		if t.connsPerHost == nil {
    			t.connsPerHost = make(map[connectMethodKey]int)
    		}
    		t.connsPerHost[key]++
    		t.connsPerHostMu.Unlock()
    	}
    
    	return t.tryPutIdleConn(&persistConn{
    		t:        t,
    		conn:     c,                   // dummy
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top