• Nigel Tao's avatar
    bufio: make Writer.ReadFrom not flush prematurely. For example, · e55fdff2
    Nigel Tao authored
    many small writes to a network may be less efficient that a few
    large writes.
    
    This fixes net/http's TestClientWrites, broken by 6565056 that
    introduced Writer.ReadFrom. That test implicitly assumed that
    calling io.Copy on a *bufio.Writer wouldn't write to the
    underlying network until the buffer was full.
    
    R=dsymonds
    CC=bradfitz, golang-dev, mchaten, mikioh.mikioh
    https://golang.org/cl/6743044
    e55fdff2
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
all.rc Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
clean.rc Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
make.rc Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...
sudo.bash Loading commit data...