Browse Source

weed/server: fix dropped webdav error

pull/4448/head
Lars Lehtonen 1 year ago
committed by Chris Lu
parent
commit
5db82e594a
  1. 3
      weed/server/webdav_server.go

3
weed/server/webdav_server.go

@ -568,6 +568,9 @@ func (f *WebDavFile) Readdir(count int) (ret []os.FileInfo, err error) {
ret = append(ret, &fi) ret = append(ret, &fi)
return nil return nil
}) })
if err != nil {
return nil, err
}
old := f.off old := f.off
if old >= int64(len(ret)) { if old >= int64(len(ret)) {

Loading…
Cancel
Save