diff --git a/NEWS b/NEWS index 37b3b4cad..5e8d58c22 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ ver 0.19.8 (not yet released) * input + - curl: fix bug after rewinding from end-of-file - mms: reduce delay at the beginning of playback * decoder - dsdiff, dsf: allow ID3 tags larger than 4 kB diff --git a/src/input/AsyncInputStream.cxx b/src/input/AsyncInputStream.cxx index c8e3fcfd5..5795ecead 100644 --- a/src/input/AsyncInputStream.cxx +++ b/src/input/AsyncInputStream.cxx @@ -160,6 +160,11 @@ AsyncInputStream::SeekDone() assert(io_thread_inside()); assert(IsSeekPending()); + /* we may have reached end-of-file previously, and the + connection may have been closed already; however after + seeking successfully, the connection must be alive again */ + open = true; + seek_state = SeekState::NONE; cond.broadcast(); }