Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isDoNotReuseAndIdle (0.26 sec)

  1. src/net/http/h2_bundle.go

    	if http2VerboseLogs {
    		cc.vlogf("http2: Transport closing idle conn %p (forSingleUse=%v, maxStream=%v)", cc, cc.singleUse, nextID-2)
    	}
    	cc.closeConn()
    }
    
    func (cc *http2ClientConn) isDoNotReuseAndIdle() bool {
    	cc.mu.Lock()
    	defer cc.mu.Unlock()
    	return cc.doNotReuse && len(cc.streams) == 0
    }
    
    var http2shutdownEnterWaitStateHook = func() {}
    
    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