input/curl: call SetReady() only if not yet ready
Fixes assertion failure.
This commit is contained in:
parent
be00737ced
commit
6c4438d8a9
@ -484,7 +484,8 @@ CurlInputStream::RequestDone(CURLcode result, long status)
|
|||||||
status);
|
status);
|
||||||
}
|
}
|
||||||
|
|
||||||
SetReady();
|
if (!IsReady())
|
||||||
|
SetReady();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user