Commit 6c4438d8 authored by Max Kellermann's avatar Max Kellermann

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

Fixes assertion failure.
parent be00737c
...@@ -484,6 +484,7 @@ CurlInputStream::RequestDone(CURLcode result, long status) ...@@ -484,6 +484,7 @@ CurlInputStream::RequestDone(CURLcode result, long status)
status); status);
} }
if (!IsReady())
SetReady(); SetReady();
} }
......
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