diff options
Diffstat (limited to 'block/curl.c')
-rw-r--r-- | block/curl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block/curl.c b/block/curl.c index 792fef8269..65e6da1f2c 100644 --- a/block/curl.c +++ b/block/curl.c @@ -424,9 +424,11 @@ static void curl_multi_timeout_do(void *arg) return; } + aio_context_acquire(s->aio_context); curl_multi_socket_action(s->multi, CURL_SOCKET_TIMEOUT, 0, &running); curl_multi_check_completion(s); + aio_context_release(s->aio_context); #else abort(); #endif |