Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ReserveNewRequest (0.12 sec)

  1. src/net/http/h2_bundle.go

    //
    // If the caller is going to immediately make a new request on this
    // connection, use ReserveNewRequest instead.
    func (cc *http2ClientConn) CanTakeNewRequest() bool {
    	cc.mu.Lock()
    	defer cc.mu.Unlock()
    	return cc.canTakeNewRequestLocked()
    }
    
    // ReserveNewRequest is like CanTakeNewRequest but also reserves a
    // concurrent stream in cc. The reservation is decremented on the
    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