Home
last modified time | relevance | path

Searched refs:curl_multi_setopt (Results 1 – 25 of 61) sorted by relevance

123

/third_party/curl/docs/libcurl/
Dcurl_multi_setopt.md4 Title: curl_multi_setopt
16 curl_multi_setopt - set options for a curl multi handle
23 CURLMcode curl_multi_setopt(CURLM *multi_handle, CURLMoption option, parameter);
28 curl_multi_setopt(3) is used to tell a libcurl multi handle how to
29 behave. By using the appropriate options to curl_multi_setopt(3), you
113 curl_multi_setopt(multi, CURLMOPT_MAXCONNECTS, (long)MAX_PARALLEL);
Dcurl_pushheader_byname.md71 curl_multi_setopt(multi, CURLMOPT_PUSHFUNCTION, push_cb);
72 curl_multi_setopt(multi, CURLMOPT_PUSHDATA, &counter);
/third_party/curl/docs/libcurl/opts/
DCURLMOPT_TIMERDATA.md21 CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_TIMERDATA, void *pointer);
64 curl_multi_setopt(multi, CURLMOPT_TIMERFUNCTION, timerfunc);
65 curl_multi_setopt(multi, CURLMOPT_TIMERDATA, &mydata);
DCURLMOPT_SOCKETDATA.md22 CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_SOCKETDATA, void *pointer);
71 curl_multi_setopt(multi, CURLMOPT_SOCKETFUNCTION, sock_cb);
72 curl_multi_setopt(multi, CURLMOPT_SOCKETDATA, &setup);
DCURLMOPT_PUSHDATA.md23 CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_PUSHDATA, void *pointer);
76 curl_multi_setopt(multi, CURLMOPT_PUSHFUNCTION, push_callback);
77 curl_multi_setopt(multi, CURLMOPT_PUSHDATA, &counter);
DCURLMOPT_TIMERFUNCTION.md25 CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_TIMERFUNCTION, timer_callback);
92 curl_multi_setopt(multi, CURLMOPT_TIMERFUNCTION, timerfunc);
93 curl_multi_setopt(multi, CURLMOPT_TIMERDATA, &mydata);
DCURLMOPT_MAX_CONCURRENT_STREAMS.md21 CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_MAX_CONCURRENT_STREAMS,
49 curl_multi_setopt(m, CURLMOPT_MAX_CONCURRENT_STREAMS, 200L);
DCURLMOPT_CONTENT_LENGTH_PENALTY_SIZE.md21 CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE,
50 curl_multi_setopt(m, CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE, maxlength);
DCURLMOPT_CHUNK_LENGTH_PENALTY_SIZE.md22 CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE,
51 curl_multi_setopt(m, CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE, maxchunk);
DCURLMOPT_MAX_PIPELINE_LENGTH.md21 CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_MAX_PIPELINE_LENGTH,
54 curl_multi_setopt(m, CURLMOPT_MAX_PIPELINE_LENGTH, 3L);
DCURLMOPT_PIPELINING_SITE_BL.md21 CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_PIPELINING_SITE_BL,
56 curl_multi_setopt(m, CURLMOPT_PIPELINING_SITE_BL, site_block_list);
DCURLMOPT_PIPELINING.md25 CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_PIPELINING, long bitmask);
66 curl_multi_setopt(m, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX);
DCURLMOPT_PIPELINING_SERVER_BL.md21 CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_PIPELINING_SERVER_BL,
58 curl_multi_setopt(m, CURLMOPT_PIPELINING_SERVER_BL, server_block_list);
DCURLMOPT_SOCKETFUNCTION.md28 CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_SOCKETFUNCTION, socket_callback);
124 curl_multi_setopt(multi, CURLMOPT_SOCKETFUNCTION, sock_cb);
125 curl_multi_setopt(multi, CURLMOPT_SOCKETDATA, &setup);
DCURLMOPT_MAXCONNECTS.md21 CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_MAXCONNECTS, long max);
59 curl_multi_setopt(m, CURLMOPT_MAXCONNECTS, 10L);
DCURLMOPT_PUSHFUNCTION.md29 CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_PUSHFUNCTION,
137 curl_multi_setopt(multi, CURLMOPT_PUSHFUNCTION, push_callback);
138 curl_multi_setopt(multi, CURLMOPT_PUSHDATA, &counter);
/third_party/curl/tests/libtest/
Dlib1550.c43 curl_multi_setopt(handle, CURLMOPT_PIPELINING_SERVER_BL, bl_servers); in test()
44 curl_multi_setopt(handle, CURLMOPT_PIPELINING_SITE_BL, bl_sites); in test()
/third_party/curl/docs/examples/
Dhttp2-pushinmemory.c148 curl_multi_setopt(multi, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main()
149 curl_multi_setopt(multi, CURLMOPT_PUSHFUNCTION, server_push_callback); in main()
150 curl_multi_setopt(multi, CURLMOPT_PUSHDATA, &transfers); in main()
Dhttp2-serverpush.c238 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main()
239 curl_multi_setopt(multi_handle, CURLMOPT_PUSHFUNCTION, server_push_callback); in main()
240 curl_multi_setopt(multi_handle, CURLMOPT_PUSHDATA, &transfers); in main()
Dcrawler.c175 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()
Dhiperfifo.c447 curl_multi_setopt(g.multi, CURLMOPT_SOCKETFUNCTION, sock_cb); in main()
448 curl_multi_setopt(g.multi, CURLMOPT_SOCKETDATA, &g); in main()
449 curl_multi_setopt(g.multi, CURLMOPT_TIMERFUNCTION, multi_timer_cb); in main()
450 curl_multi_setopt(g.multi, CURLMOPT_TIMERDATA, &g); in main()
Dghiper.c427 curl_multi_setopt(g->multi, CURLMOPT_SOCKETFUNCTION, sock_cb); in main()
428 curl_multi_setopt(g->multi, CURLMOPT_SOCKETDATA, g); in main()
429 curl_multi_setopt(g->multi, CURLMOPT_TIMERFUNCTION, update_timeout_cb); in main()
430 curl_multi_setopt(g->multi, CURLMOPT_TIMERDATA, g); in main()
Devhiperfifo.c439 curl_multi_setopt(g.multi, CURLMOPT_SOCKETFUNCTION, sock_cb); in main()
440 curl_multi_setopt(g.multi, CURLMOPT_SOCKETDATA, &g); in main()
441 curl_multi_setopt(g.multi, CURLMOPT_TIMERFUNCTION, multi_timer_cb); in main()
442 curl_multi_setopt(g.multi, CURLMOPT_TIMERDATA, &g); in main()
Dephiperfifo.c503 curl_multi_setopt(g.multi, CURLMOPT_SOCKETFUNCTION, sock_cb); in main()
504 curl_multi_setopt(g.multi, CURLMOPT_SOCKETDATA, &g); in main()
505 curl_multi_setopt(g.multi, CURLMOPT_TIMERFUNCTION, multi_timer_cb); in main()
506 curl_multi_setopt(g.multi, CURLMOPT_TIMERDATA, &g); in main()
/third_party/curl/tests/http/clients/
Dh2-serverpush.c228 curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); in main()
229 curl_multi_setopt(multi_handle, CURLMOPT_PUSHFUNCTION, server_push_callback); in main()
230 curl_multi_setopt(multi_handle, CURLMOPT_PUSHDATA, &transfers); in main()

123