Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for bodyEOF (0.07 sec)

  1. src/net/http/transport.go

    		// reading the response body. (or for cancellation or death)
    		select {
    		case bodyEOF := <-waitForBodyRead:
    			alive = alive &&
    				bodyEOF &&
    				!pc.sawEOF &&
    				pc.wroteRequest() &&
    				tryPutIdleConn(rc.treq)
    			if bodyEOF {
    				eofc <- struct{}{}
    			}
    		case <-rc.treq.ctx.Done():
    			alive = false
    			pc.cancelRequest(context.Cause(rc.treq.ctx))
    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