input/curl: call SetReady() only if not yet ready

Fixes assertion failure.
This commit is contained in:
Max Kellermann 2014-05-24 14:36:25 +02:00
parent be00737ced
commit 6c4438d8a9

View File

@ -484,6 +484,7 @@ CurlInputStream::RequestDone(CURLcode result, long status)
status);
}
if (!IsReady())
SetReady();
}