On Tue, 17 Dec 2019, peng xu via curl-library wrote:

curl_multi_setopt(easy_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX);

curl_multi_setopt() needs a *multi* handle in its first argument, not an easy handle. This is therefore a very bad line of code.

You can only do multiplexing with the multi interface in curl, since the easy interface makes a single transfer synchronously all the way until completed it can't multiplex.

--

 / daniel.haxx.se | Get the best commercial curl support there is - from me
                  | Private help, bug fixes, support, ports, new features
                  | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to