curl / Mailing Lists / curl-library / Single Mail


Aborting a transfer using curl_multi_remove_handle()

From: Philip Prindeville <>
Date: Sun, 1 Apr 2018 19:01:37 -0600

I was reading:

and thinking about aborting a transfer using curl_multi_remove_handle () in a scenario like the hiperfifo.c example.

I also added a call to check_multi_info() after the removal, as that seems to be necessary (is it?).

Problem is I don’t end up seeing CURLMSG_DONE when it gets removed (or any other sort of message, for that matter) in check_multi_info().

How do I properly handle the task as no longer being active?



Received on 2018-04-02