fix https://github.com/chrislusf/seaweedfs/issues/1344
@ -156,7 +156,7 @@ func (c *ChunkReadAt) doReadAt(p []byte, offset int64) (n int, err error) {
n += delta
}
if err == nil && offset+int64(len(p)) > c.fileSize {
if err == nil && offset+int64(len(p)) >= c.fileSize {
err = io.EOF
// fmt.Printf("~~~ filled %d, err: %v\n\n", n, err)