/curl/tests/http/clients/ |
H A D | h2-pausing.c | 271 handles[i].idx = i; in main() 272 handles[i].paused = 0; in main() 273 handles[i].resumed = 0; in main() 274 handles[i].errored = 0; in main() 275 handles[i].fail_write = 1; in main() 277 if(!handles[i].h || in main() 279 curl_easy_setopt(handles[i].h, CURLOPT_WRITEDATA, &handles[i]) in main() 312 if(!handles[i].paused) { in main() 346 if(handles[i].paused != 1 || !handles[i].resumed) { in main() 361 if(!handles[i].paused) { in main() [all …]
|
/curl/docs/examples/ |
H A D | multi-app.c | 46 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 D | multi-legacy.c | 52 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 D | curl_multi_get_handles.md | 18 curl_multi_get_handles - return all added easy handles 30 Returns an array with pointers to all added easy handles. The end of the list 36 The returned array contains all the handles that are present at the time of 41 The order of the easy handles within the array is not guaranteed. 58 /* extract all added handles */ 63 /* remove all added handles */
|
H A D | curl_multi_cleanup.md | 31 individual easy handles in any way - they still need to be closed 35 1 - curl_multi_remove_handle(3) before any easy handles are cleaned up 40 3 - curl_multi_cleanup(3) should be called when all easy handles are 55 /* remove all easy handles, then: */
|
H A D | curl_multi_perform.md | 33 This function performs transfers on all the added handles that need attention 34 in a non-blocking fashion. The easy handles have previously been added to the 43 the number of handles that still transfer data in the second argument's 47 is less than the amount of easy handles you have added to the multi handle), 53 handles in that case. 61 removing all the handles and adding new ones.
|
H A D | libcurl-share.md | 32 The share interface was added to enable sharing of data between curl handles. 36 You can have multiple easy handles share data between them. Have them update 56 share handle. You can make any number of easy handles share the same share
|
H A D | curl_multi_add_handle.md | 39 it is made to use a DNS cache that is shared between all easy handles within 44 handles does not affect the pool of connections or the ability to do 74 /* create two easy handles */
|
H A D | curl_multi_socket_all.md | 19 curl_multi_socket_all - reads/writes available data for all easy handles 36 still running easy handles within the multi handle. When this number reaches
|
H A D | curl_multi_wait.md | 17 curl_multi_wait - poll on all easy handles in a multi handle 34 handles contained in the given multi handle set. It blocks until activity is 35 detected on at least one of the handles or *timeout_ms* has passed.
|
H A D | curl_easy_duphandle.md | 31 previously set in the input curl *handle*. Both handles can subsequently be 37 both handles have been cleaned up.
|
H A D | libcurl-multi.md | 54 handle. You create all the easy handles you need, and setup the appropriate 65 curl_multi_add_handle(3). You can add more easy handles to a multi 72 necessary. You can remove handles at any point during transfers. 79 setup in the individual easy handles. It transfers data on all current 97 the transfers in the multi handles are done. 'done' does not mean 132 When using this API, you add easy handles to the multi handle just as with the 160 When you have added your initial set of handles, you call
|
H A D | curl_multi_poll.md | 18 curl_multi_poll - 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 D | curl_multi_socket_action.md | 45 At return, **running_handles** points to the number of running easy handles 71 first removing all the handles and adding new ones. 82 4. Add easy handles with curl_multi_add_handle()
|
H A D | libcurl-thread.md | 26 handles around among threads, but you must never use a single handle from more 31 You can share certain data between multiple handles by using the share 70 option to 1L for all handles. Everything works fine except that timeouts
|
/curl/docs/libcurl/opts/ |
H A D | CURLSHOPT_SHARE.md | 39 Cookie data is shared across the easy handles using this shared object. Note 45 Cached DNS hosts are shared across the easy handles using this shared 46 object. Note that when you use the multi interface, all easy handles added to 51 SSL session IDs are shared across the easy handles using this shared 59 Put the connection cache in the share object and make all easy handles using 72 Note that when you use the multi interface, all easy handles added to the same 83 Note that when you use the multi interface, all easy handles added to the same
|
H A D | CURLSHOPT_UNSHARE.md | 40 Cookie data is no longer shared across the easy handles using this shared 45 Cached DNS hosts are no longer shared across the easy handles using this 50 SSL session IDs are no longer shared across the easy handles using this shared
|
H A D | CURLOPT_SHARE.md | 31 the data to itself. This enables several curl handles to share data. If the 32 curl handles are used simultaneously in multiple threads, you **MUST** use
|
/curl/tests/server/ |
H A D | sockfilt.c | 449 HANDLE signal, handle, handles[2]; in select_ws_wait_thread() local 458 handles[0] = data->abort; in select_ws_wait_thread() 459 handles[1] = handle; in select_ws_wait_thread() 631 HANDLE abort, signal, handle, *handles; in select_ws() local 676 if(!handles) { in select_ws() 690 handles[nfd] = 0; in select_ws() 720 handles[nfd] = signal; in select_ws() 774 handles[nfd] = signal; in select_ws() 796 handles[nfd] = exit_event; in select_ws() 814 handle = handles[i]; in select_ws() [all …]
|
/curl/tests/data/ |
H A D | test1564 | 25 wakeup before poll with no easy handles
|
H A D | test517 | 39 # handles this (returning 3939840000), and some 64bit-time_t systems don't
|
H A D | test526 | 33 FTP RETR same file using different handles but same connection
|
H A D | test527 | 33 FTP RETR same file using different handles but same connection
|
H A D | test532 | 33 FTP RETR same file using reset handles between each transfer
|
H A D | test528 | 37 HTTP GET same file using different handles but same connection
|