Commit c3fc84de authored by Max Kellermann's avatar Max Kellermann

input/curl: wake up client thread after seek to end of file

Call SeekDone() to avoid the freeze bug.
parent 904f83cd
ver 0.20.1 (not yet released)
* input
- curl: fix crash bug
- curl: fix freeze bug
* decoder
- wavpack: fix crash bug
* storage
......
......@@ -385,11 +385,13 @@ CurlInputStream::SeekInternal(offset_type new_offset)
FreeEasy();
offset = new_offset;
if (offset == size)
if (offset == size) {
/* seek to EOF: simulate empty result; avoid
triggering a "416 Requested Range Not Satisfiable"
response */
SeekDone();
return;
}
InitEasy();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment