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

View File

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