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

Fixes deadlock on small responses.
This commit is contained in:
Max Kellermann 2015-06-19 16:45:38 +02:00
parent 3436a646b5
commit 947e902288
2 changed files with 3 additions and 0 deletions

1
NEWS
View File

@ -1,5 +1,6 @@
ver 0.19.10 (not yet released)
* input
- curl: fix deadlock on small responses
- smbclient: fix DFF playback
* encoder
- opus: fix bogus granulepos

View File

@ -453,6 +453,8 @@ CurlInputStream::RequestDone(CURLcode result, long status)
SeekDone();
else if (!IsReady())
SetReady();
else
cond.broadcast();
}
static void