Commit 947e9022 authored by Max Kellermann's avatar Max Kellermann

input/curl: trigger the condition variable in RequestDone()

Fixes deadlock on small responses.
parent 3436a646
ver 0.19.10 (not yet released) ver 0.19.10 (not yet released)
* input * input
- curl: fix deadlock on small responses
- smbclient: fix DFF playback - smbclient: fix DFF playback
* encoder * encoder
- opus: fix bogus granulepos - opus: fix bogus granulepos
......
...@@ -453,6 +453,8 @@ CurlInputStream::RequestDone(CURLcode result, long status) ...@@ -453,6 +453,8 @@ CurlInputStream::RequestDone(CURLcode result, long status)
SeekDone(); SeekDone();
else if (!IsReady()) else if (!IsReady())
SetReady(); SetReady();
else
cond.broadcast();
} }
static void static void
......
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