Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for http2shutdownEnterWaitStateHook (0.33 sec)

  1. src/net/http/h2_bundle.go

    	}
    	cc.closeConn()
    }
    
    func (cc *http2ClientConn) isDoNotReuseAndIdle() bool {
    	cc.mu.Lock()
    	defer cc.mu.Unlock()
    	return cc.doNotReuse && len(cc.streams) == 0
    }
    
    var http2shutdownEnterWaitStateHook = func() {}
    
    // Shutdown gracefully closes the client connection, waiting for running streams to complete.
    func (cc *http2ClientConn) Shutdown(ctx context.Context) error {
    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