input/async: check for errors in Seek()

Fixes a busy loop in BufferingInputStream::RunThreadLocked() because
the method never learns that seeking is ignored, even though the HTTP
stream is already broken and can never be read; nobody cared to check
for errors.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1727
This commit is contained in:
Max Kellermann
2023-01-28 07:41:47 +01:00
parent 9ee1be6fba
commit c30c293d6f
2 changed files with 11 additions and 2 deletions

1
NEWS
View File

@@ -12,6 +12,7 @@ ver 0.24 (not yet released)
- add option to disable archive plugins in mpd.conf
* input
- curl: add "connect_timeout" configuration
- curl: fix busy loop after connection failed
* decoder
- hybrid_dsd: remove
- opus: implement bitrate calculation