summaryrefslogtreecommitdiff
path: root/src/request_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/request_context.c')
-rw-r--r--src/request_context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/request_context.c b/src/request_context.c
index d049778..bc6af99 100644
--- a/src/request_context.c
+++ b/src/request_context.c
@@ -160,6 +160,9 @@ S3Status S3_runonce_request_context(S3RequestContext *requestContext,
// Finish the request, ensuring that all callbacks have been made,
// and also releases the request
request_finish(request);
+ // Now, since a callback was made, there may be new requests
+ // queued up to be performed immediately, so do so
+ status = CURLM_CALL_MULTI_PERFORM;
}
} while (status == CURLM_CALL_MULTI_PERFORM);