curl-library
Aborting a transfer using curl_multi_remove_handle()
From: Philip Prindeville <philipp_subx_at_redfish-solutions.com>
Date: Sun, 1 Apr 2018 19:01:37 -0600
Date: Sun, 1 Apr 2018 19:01:37 -0600
I was reading:
https://curl.haxx.se/docs/faq.html#How_do_I_stop_an_ongoing_transfe
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?
Thanks,
-Philip
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-04-02