aboutsummaryrefslogtreecommitdiffstats
path: root/src/input
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-11 11:43:52 +0100
committerMax Kellermann <max@duempel.org>2014-11-11 11:43:52 +0100
commitc3f6502be277ea7a9eb42babc4dc44ab2abf59e2 (patch)
tree1282ad28125722133058fb21846877454f139bc2 /src/input
parent0120f396acadc56ef907e64a2ec40060e4ee5678 (diff)
parente5217e6ce97d4a0f972223f5eb6308e9b5e8df8f (diff)
downloadmpd-c3f6502be277ea7a9eb42babc4dc44ab2abf59e2.tar.gz
mpd-c3f6502be277ea7a9eb42babc4dc44ab2abf59e2.tar.xz
mpd-c3f6502be277ea7a9eb42babc4dc44ab2abf59e2.zip
Merge tag 'v0.19.3'
Diffstat (limited to 'src/input')
-rw-r--r--src/input/plugins/CurlInputPlugin.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input/plugins/CurlInputPlugin.cxx b/src/input/plugins/CurlInputPlugin.cxx
index 1e1a46108..abb7e312c 100644
--- a/src/input/plugins/CurlInputPlugin.cxx
+++ b/src/input/plugins/CurlInputPlugin.cxx
@@ -610,6 +610,10 @@ CurlInputStream::ResponseBoundary()
/* undo all effects of HeaderReceived() because the previous
response was not applicable for this stream */
+ if (IsSeekPending())
+ /* don't update metadata while seeking */
+ return;
+
seekable = false;
size = UNKNOWN_SIZE;
ClearMimeType();