http: reset EOF indication in http_seek

Otherwise next read will stop polling too early due to stale EOF
indicator, returning incomplete data to caller.
This commit is contained in:
Stefan Fritsch 2016-04-30 09:10:12 +03:00 committed by Andrei Borzenkov
parent 7a5b301e3a
commit 13f7ead3a1

View file

@ -449,6 +449,7 @@ http_seek (struct grub_file *file, grub_off_t off)
}
file->device->net->stall = 0;
file->device->net->eof = 0;
file->device->net->offset = off;
data = grub_zalloc (sizeof (*data));