Lines Matching refs:multi_handle
120 size_t follow_links(CURLM *multi_handle, memory *mem, char *url) in follow_links() argument
154 curl_multi_add_handle(multi_handle, make_handle(link)); in follow_links()
174 CURLM *multi_handle = curl_multi_init(); in main() local
175 curl_multi_setopt(multi_handle, CURLMOPT_MAX_TOTAL_CONNECTIONS, max_con); in main()
176 curl_multi_setopt(multi_handle, CURLMOPT_MAX_HOST_CONNECTIONS, 6L); in main()
180 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main()
184 curl_multi_add_handle(multi_handle, make_handle(start_page)); in main()
192 curl_multi_wait(multi_handle, NULL, 0, 1000, &numfds); in main()
193 curl_multi_perform(multi_handle, &still_running); in main()
197 while((m = curl_multi_info_read(multi_handle, &msgs_left))) { in main()
213 pending += follow_links(multi_handle, mem, url); in main()
225 curl_multi_remove_handle(multi_handle, handle); in main()
234 curl_multi_cleanup(multi_handle); in main()