Home | History | Annotate | Download | only in http

Lines Matching refs:CancelRequest

277 // CancelRequest cancels an in-flight request by closing its connection.
278 // CancelRequest should only be called after RoundTrip has returned.
279 func (t *Transport) CancelRequest(req *Request) {
480 // Since CancelRequest will clear the canceler, we can use the return value to detect if
833 canceled bool // whether this conn was broken due a CancelRequest
848 // isCanceled reports whether this connection was closed due to CancelRequest.
855 func (pc *persistConn) cancelRequest() {
979 pc.t.CancelRequest(rc.req)
1108 if !pc.t.replaceReqCanceler(req.Request, pc.cancelRequest) {
1219 pc.t.CancelRequest(req.Request)