Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nothingWrittenError (0.13 sec)

  1. src/net/http/transport.go

    		if b.br.Buffered() == 0 {
    			b.br = nil
    		}
    		return n, err
    	}
    	return b.ReadWriteCloser.Read(p)
    }
    
    // nothingWrittenError wraps a write errors which ended up writing zero bytes.
    type nothingWrittenError struct {
    	error
    }
    
    func (nwe nothingWrittenError) Unwrap() error {
    	return nwe.error
    }
    
    func (pc *persistConn) writeLoop() {
    	defer close(pc.writeLoopDone)
    	for {
    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