Home
last modified time | relevance | path

Searched refs:handles (Results 1 – 25 of 42) sorted by relevance

12

/curl/tests/http/clients/
H A Dh2-pausing.c277 handles[i].idx = i; in main()
278 handles[i].paused = 0; in main()
279 handles[i].resumed = 0; in main()
280 handles[i].errored = 0; in main()
281 handles[i].fail_write = 1; in main()
283 if(!handles[i].h || in main()
285 curl_easy_setopt(handles[i].h, CURLOPT_WRITEDATA, &handles[i]) in main()
318 if(!handles[i].paused) { in main()
353 if(handles[i].paused != 1 || !handles[i].resumed) { in main()
368 if(!handles[i].paused) { in main()
[all …]
/curl/docs/examples/
H A Dmulti-app.c46 CURL *handles[HANDLECOUNT]; in main() local
57 handles[i] = curl_easy_init(); in main()
60 curl_easy_setopt(handles[HTTP_HANDLE], CURLOPT_URL, "https://example.com"); in main()
62 curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_URL, "ftp://example.com"); in main()
63 curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_UPLOAD, 1L); in main()
70 curl_multi_add_handle(multi_handle, handles[i]); in main()
90 int found = (msg->easy_handle == handles[idx]); in main()
108 curl_multi_remove_handle(multi_handle, handles[i]); in main()
109 curl_easy_cleanup(handles[i]); in main()
H A Dmulti-legacy.c52 CURL *handles[HANDLECOUNT]; in main() local
63 handles[i] = curl_easy_init(); in main()
66 curl_easy_setopt(handles[HTTP_HANDLE], CURLOPT_URL, "https://example.com"); in main()
68 curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_URL, "ftp://example.com"); in main()
69 curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_UPLOAD, 1L); in main()
76 curl_multi_add_handle(multi_handle, handles[i]); in main()
159 int found = (msg->easy_handle == handles[idx]); in main()
179 curl_easy_cleanup(handles[i]); in main()
/curl/docs/libcurl/
H A Dcurl_multi_get_handles.md19 curl_multi_get_handles - return all added easy handles
31 Returns an array with pointers to all added easy handles. The end of the list
37 The returned array contains all the handles that are present at the time of
42 The order of the easy handles within the array is not guaranteed.
61 /* extract all added handles */
66 /* remove all added handles */
H A Dcurl_multi_cleanup.md32 whole multi stack. It does not free or touch any individual easy handles in
36 1 - curl_multi_remove_handle(3) before any easy handles are cleaned up
41 3 - curl_multi_cleanup(3) should be called when all easy handles are
60 /* remove all easy handles, then: */
H A Dcurl_multi_perform.md34 This function performs transfers on all the added handles that need attention
35 in a non-blocking fashion. The easy handles have previously been added to the
44 the number of handles that still transfer data in the second argument's
48 is less than the amount of easy handles you have added to the multi handle),
54 handles in that case.
62 removing all the handles and adding new ones.
H A Dlibcurl-share.md33 The share interface was added to enable sharing of data between curl handles.
37 You can have multiple easy handles share data between them. Have them update
57 share handle. You can make any number of easy handles share the same share
H A Dcurl_multi_socket_all.md20 curl_multi_socket_all - reads/writes available data for all easy handles
37 still running easy handles within the multi handle. When this number reaches
H A Dcurl_multi_add_handle.md40 it is made to use a DNS cache that is shared between all easy handles within
45 handles does not affect the pool of connections or the ability to do
77 /* create two easy handles */
H A Dcurl_multi_wait.md18 curl_multi_wait - poll on all easy handles in a multi handle
35 handles contained in the given multi handle set. It blocks until activity is
36 detected on at least one of the handles or *timeout_ms* has passed.
H A Dcurl_easy_duphandle.md32 previously set in the input curl *handle*. Both handles can subsequently be
38 both handles have been cleaned up.
H A Dlibcurl-multi.md55 handle. You create all the easy handles you need, and setup the appropriate
66 curl_multi_add_handle(3). You can add more easy handles to a multi
73 necessary. You can remove handles at any point during transfers.
80 setup in the individual easy handles. It transfers data on all current
98 the transfers in the multi handles are done. 'done' does not mean
133 When using this API, you add easy handles to the multi handle just as with the
161 When you have added your initial set of handles, you call
H A Dcurl_multi_poll.md19 curl_multi_poll - poll on all easy handles in a multi handle
36 handles contained in the given multi handle set. It blocks until activity is
37 detected on at least one of the handles or *timeout_ms* has passed.
H A Dcurl_multi_socket_action.md46 At return, **running_handles** points to the number of running easy handles
72 first removing all the handles and adding new ones.
83 4. Add easy handles with curl_multi_add_handle()
H A Dlibcurl-thread.md27 handles around among threads, but you must never use a single handle from more
32 You can share certain data between multiple handles by using the share
71 option to 1L for all handles. Everything works fine except that timeouts
/curl/docs/libcurl/opts/
H A DCURLSHOPT_SHARE.md40 Cookie data is shared across the easy handles using this shared object. Note
48 Cached DNS hosts are shared across the easy handles using this shared
49 object. Note that when you use the multi interface, all easy handles added to
54 SSL session IDs are shared across the easy handles using this shared
64 Put the connection cache in the share object and make all easy handles using
77 Note that when you use the multi interface, all easy handles added to the same
88 Note that when you use the multi interface, all easy handles added to the same
H A DCURLSHOPT_UNSHARE.md41 Cookie data is no longer shared across the easy handles using this shared
46 Cached DNS hosts are no longer shared across the easy handles using this
51 SSL session IDs are no longer shared across the easy handles using this shared
H A DCURLOPT_SHARE.md32 the data to itself. This enables several curl handles to share data. If the
33 curl handles are used simultaneously in multiple threads, you **MUST** use
/curl/tests/server/
H A Dsockfilt.c455 HANDLE signal, handle, handles[2]; in select_ws_wait_thread() local
464 handles[0] = data->abort; in select_ws_wait_thread()
465 handles[1] = handle; in select_ws_wait_thread()
637 HANDLE abort, signal, handle, *handles; in select_ws() local
682 if(!handles) { in select_ws()
696 handles[nfd] = 0; in select_ws()
726 handles[nfd] = signal; in select_ws()
780 handles[nfd] = signal; in select_ws()
802 handles[nfd] = exit_event; in select_ws()
820 handle = handles[i]; in select_ws()
[all …]
/curl/tests/data/
H A Dtest156425 wakeup before poll with no easy handles
H A Dtest51739 # handles this (returning 3939840000), and some 64bit-time_t systems don't
H A Dtest52633 FTP RETR same file using different handles but same connection
H A Dtest52733 FTP RETR same file using different handles but same connection
H A Dtest53233 FTP RETR same file using reset handles between each transfer
H A Dtest52837 HTTP GET same file using different handles but same connection

Completed in 21 milliseconds

12