On Fri, Jul 28, 2023 at 06:17:47PM +0100, Richard W.M. Jones wrote:
In a forthcoming commit we will need to create a multi handle and a background thread, requiring use of the .get_ready (for multi) and .after_fork (for the thread) plugin methods. This commit removes the empty load_pool function and adds pool_get_ready and pool_after_fork, and the associated machinery in curl.c.
This commit on its own does nothing, future commits will fill in these functions with useful work. --- plugins/curl/curldefs.h | 3 ++- plugins/curl/curl.c | 14 +++++++++++++- plugins/curl/pool.c | 12 +++++++++--- 3 files changed, 24 insertions(+), 5 deletions(-)
Reviewed-by: Eric Blake <eblake@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. Virtualization: qemu.org | libguestfs.org