diff --git a/NEWS b/NEWS index 773264f7a..afd3e8ce7 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ ver 0.20.1 (not yet released) * input - curl: fix crash bug + - curl: fix freeze bug * decoder - wavpack: fix crash bug * storage diff --git a/src/input/plugins/CurlInputPlugin.cxx b/src/input/plugins/CurlInputPlugin.cxx index 0789cac3a..b972876a0 100644 --- a/src/input/plugins/CurlInputPlugin.cxx +++ b/src/input/plugins/CurlInputPlugin.cxx @@ -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();