cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to list easy handles from a multi handle

From: m brandenberg <mcbinc_at_panix.com>
Date: Sun, 5 Jun 2016 18:04:55 -0400 (EDT)

On Sun, 5 Jun 2016, Jeroen Ooms wrote:

  2) Is it allowed to call curl_multi_setopt on the multi handle after
calling curl_multi_perform?

As described earlier the application has a long running multi handle
with easy handels dynamically added and removed. Suppose at some point
we want to increase CURLMOPT_MAX_HOST_CONNECTIONS or enable
CURLPIPE_MULTIPLEX. Is it possible to set these options on a multi
handle in between curl_multi_perform calls? Will it only affect future
handles?

Some options aren't fully safe for dynamic changes. See
bug 1411, for example, concerning CURLMOPT_PIPELINING.

--
Monty Brandenberg
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-06-06