Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for rch (0.01 sec)

  1. src/net/http/transport_test.go

    // and then proxies to w.
    // It proxies Read calls to a reader it receives from rch.
    type logWritesConn struct {
    	net.Conn // nil. crash on use.
    
    	w io.Writer
    
    	rch <-chan io.Reader
    	r   io.Reader // nil until received by rch
    
    	mu     sync.Mutex
    	writes []string
    }
    
    func (c *logWritesConn) Write(p []byte) (n int, err error) {
    	c.mu.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top