Descriptionio: fix CopyN EOF behavior, and adds a new CopyN test.
I'm not sure whether this is gross or not. Arguably, sendfile
in pkg net already had knowledge of io.CopyN and its
LimitedReader before. This keeps that knowledge, but changes
it slightly.
This CL doesn't update any OS other than Linux yet.
Patch Set 1 #Patch Set 2 : diff -r 6094e6f45477 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 6094e6f45477 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 6094e6f45477 https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 6094e6f45477 https://go.googlecode.com/hg/ #
MessagesTotal messages: 4
|
|||||||||||||||||||||||||||||||||||||