input/curl: trigger the condition variable in RequestDone()
Fixes deadlock on small responses.
This commit is contained in:
parent
3436a646b5
commit
947e902288
1
NEWS
1
NEWS
|
@ -1,5 +1,6 @@
|
||||||
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)
|
||||||
SeekDone();
|
SeekDone();
|
||||||
else if (!IsReady())
|
else if (!IsReady())
|
||||||
SetReady();
|
SetReady();
|
||||||
|
else
|
||||||
|
cond.broadcast();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue