Nick Craig-Wood 2022-11-15 09:15:31 +00:00
parent a61d219bcd
commit b7cba2835d
1 changed files with 4 additions and 1 deletions

View File

@ -288,7 +288,10 @@ func (dls *Downloaders) _ensureDownloader(r ranges.Range) (err error) {
// defer log.Trace(dls.src, "r=%v", r)("err=%v", &err)
// The window includes potentially unread data in the buffer
window := int64(fs.GetConfig(context.TODO()).BufferSize)
//window := int64(fs.GetConfig(context.TODO()).BufferSize)
// FIXME test disable --buffer-size window
window := int64(0)
// Increase the read range by the read ahead if set
if dls.opt.ReadAhead > 0 {