• Graham Miller's avatar
    bufio: do not cache Read errors · f795bdb9
    Graham Miller authored
    Reader previously had cached an error from the underlying reader
    and would return it on every subsequent call to Read.  The Reader
    will now return the error only once, and subsequent calls will result
    in a new Read call to the underlying Reader.
    
    Fixes #1934.
    
    R=bradfitz, rogpeppe, rsc
    CC=golang-dev
    https://golang.org/cl/4528133
    f795bdb9
Name
Last commit
Last update
..
iotest Loading commit data...
quick Loading commit data...
script Loading commit data...
Makefile Loading commit data...
benchmark.go Loading commit data...
testing.go Loading commit data...