curl_multi_add_handle(3) libcurl Manual curl_multi_add_handle(3)NAME
curl_multi_add_handle - add an easy handle to a multi session
SYNOPSIS
#include <curl/curl.h>
CURLMcode curl_multi_add_handle(CURLM *multi_handle, CURL *easy_handle);
DESCRIPTION
Adds a standard easy handle to the multi stack. This function call will make this multi_handle control the specified easy_handle. Further-
more, libcurl now initiates the connection associated with the specified easy_handle.
When an easy handle has been added to a multi stack, you can not and you must not use curl_easy_perform(3) on that handle!
If the easy handle is not set to use a shared (CURLOPT_SHARE) or global DNS cache (CURLOPT_DNS_USE_GLOBAL_CACHE), it will be made to use
the DNS cache that is shared between all easy handles within the multi handle when curl_multi_add_handle(3) is called.
The easy handle will remain added until you remove it again with curl_multi_remove_handle(3). You should remove the easy handle from the
multi stack before you terminate first the easy handle and then the multi handle:
1 - curl_multi_remove_handle(3)
2 - curl_easy_cleanup(3)
3 - curl_multi_cleanup(3)RETURN VALUE
CURLMcode type, general libcurl multi interface error code.
SEE ALSO curl_multi_cleanup(3),curl_multi_init(3)libcurl 7.9.5 4 March 2002 curl_multi_add_handle(3)
Check Out this Related Man Page
curl_multi_add_handle(3) libcurl Manual curl_multi_add_handle(3)NAME
curl_multi_add_handle - add an easy handle to a multi session
SYNOPSIS
#include <curl/curl.h>
CURLMcode curl_multi_add_handle(CURLM *multi_handle, CURL *easy_handle);
DESCRIPTION
Adds a standard easy handle to the multi stack. This function call will make this multi_handle control the specified easy_handle. Further-
more, libcurl now initiates the connection associated with the specified easy_handle.
When an easy handle has been added to a multi stack, you can not and you must not use curl_easy_perform(3) on that handle!
If the easy handle is not set to use a shared (CURLOPT_SHARE) or global DNS cache (CURLOPT_DNS_USE_GLOBAL_CACHE), it will be made to use
the DNS cache that is shared between all easy handles within the multi handle when curl_multi_add_handle(3) is called.
The easy handle will remain added until you remove it again with curl_multi_remove_handle(3). You should remove the easy handle from the
multi stack before you terminate first the easy handle and then the multi handle:
1 - curl_multi_remove_handle(3)
2 - curl_easy_cleanup(3)
3 - curl_multi_cleanup(3)RETURN VALUE
CURLMcode type, general libcurl multi interface error code.
SEE ALSO curl_multi_cleanup(3),curl_multi_init(3)libcurl 7.9.5 4 March 2002 curl_multi_add_handle(3)
Hello,
I am in need of a easy to read and easy to understand, Unix scripting book.
Can anyone make any recommendations ?
thanks in advance
simon2000 (2 Replies)
Hello, I am very new to shell scripting. This problem seems quite easy so it should be quite easy (I hope ^^)
I want to get a random file from a directory. this file will be in one subdirectory, and it will contain spaces.
code I have got so far:
N=find ./*/*.jpg | wc -l
((N=RANDOM%N))
... (6 Replies)
Hello, I'm trying to use libcurl multi interface to fetch several data in parallel. I would expect this to be faster than performing repeated fetches using the easy interface, but for some reason I can't obtain any speed up at all: using the multi interface actually turns out to be MUCH slower than... (2 Replies)
hi people. i need assist in this quite easy problem. i have a text as:
cell112-1/2/3/4/5/6 4
cell156-1/2/3/4 7
cell197-1/2/3 6
cell215-1/2/3/4/5/6 9
cell235-1/2/3 5
cell354-1/2/3/4/5 8
cell355-1 4
...
cell446-1/2/3/4/5/6 5
the script should check second coloumn in each line and
... (21 Replies)
Hello,
I want extract multi values from multi url source to a csv text. Thank you very much for help.
my curl code : curl "http://www.web.com/cities//city.html
Source code:
div class="clear"></div>
<table class="listing-details">
<tr>
... (1 Reply)
Is there a quick and easy way to comment out multi lined print statements? something like this?
printf("3408 strings_line_tokens %s \n",
strings_line_tokens); (6 Replies)
It seems that multi queue virtio functionality is enabled in the Redhat System being used, but I need to confirm if this functionality is working appropriately:
cat /usr/include/linux/virtio_net.hstruct virtio_net_config
{ /* The config defining mac address (if VIRTIO_NET_F_MAC) */ __u8 mac;... (2 Replies)
Not just background process running ... but im looking if unix has any multi-threading concept like in Java, C# ... if not present, can you pls share the nearest feature in unix that is close to multi-threaded concept (3 Replies)