mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
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:
1 parent
7a5b301e3a
commit
13f7ead3a1
1 file changed
+1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user