Commit c9abc6b5 authored by Matt Bell's avatar Matt Bell

commands/http: Documented MultiFileReader

parent c598673b
......@@ -41,7 +41,7 @@ func NewMultiFileReader(file cmds.File, form bool) *MultiFileReader {
}
func (mfr *MultiFileReader) Read(buf []byte) (written int, err error) {
// if we are closed, end reading
// if we are closed and the buffer is flushed, end reading
if mfr.closed && mfr.buf.Len() == 0 {
return 0, io.EOF
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment