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:
parent
7a5b301e3a
commit
13f7ead3a1
1 changed files with 1 additions and 0 deletions
|
@ -449,6 +449,7 @@ http_seek (struct grub_file *file, grub_off_t off)
|
||||||
}
|
}
|
||||||
|
|
||||||
file->device->net->stall = 0;
|
file->device->net->stall = 0;
|
||||||
|
file->device->net->eof = 0;
|
||||||
file->device->net->offset = off;
|
file->device->net->offset = off;
|
||||||
|
|
||||||
data = grub_zalloc (sizeof (*data));
|
data = grub_zalloc (sizeof (*data));
|
||||||
|
|
Loading…
Reference in a new issue