Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cleanFrontCanceled (0.14 sec)

  1. src/net/http/transport.go

    	for {
    		w := q.peekFront()
    		if w == nil || w.waiting() {
    			return cleaned
    		}
    		q.popFront()
    		cleaned = true
    	}
    }
    
    // cleanFrontCanceled pops any wantConns with canceled dials from the head of the queue.
    func (q *wantConnQueue) cleanFrontCanceled() {
    	for {
    		w := q.peekFront()
    		if w == nil || w.cancelCtx != nil {
    			return
    		}
    		q.popFront()
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top