/curl/tests/libtest/ |
H A D | lib2405.c | 120 CURLMcode mc = CURLM_OK; in test_run() local 158 while(!mc) { in test_run() 162 mc = curl_multi_perform(multi, &still_running); in test_run() 163 if(!still_running || mc != CURLM_OK) in test_run() 168 if(mc != CURLM_OK) { in test_run() 180 if(mc != CURLM_OUT_OF_MEMORY) { in test_run() 182 "CURLM_OUT_OF_MEMORY.\n", mc); in test_run() 193 if(mc != CURLM_OK) { in test_run() 230 CURLMcode mc = CURLM_OK; in empty_multi_test() local 244 if(mc != CURLM_OK) { in empty_multi_test() [all …]
|
H A D | lib1531.c | 72 CURLMcode mc; /* curl_multi_fdset() return code */ in test() local 99 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in test() 101 if(mc != CURLM_OK) { in test() 102 fprintf(stderr, "curl_multi_fdset() failed, code %d.\n", mc); in test()
|
/curl/docs/examples/ |
H A D | multi-single.c | 58 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local 60 if(!mc) in main() 62 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 64 if(mc) { in main() 65 fprintf(stderr, "curl_multi_poll() failed, code %d.\n", (int)mc); in main()
|
H A D | imap-multi.c | 66 CURLMcode mc = curl_multi_perform(mcurl, &still_running); in main() local 70 mc = curl_multi_poll(mcurl, NULL, 0, 1000, NULL); in main() 72 if(mc) in main()
|
H A D | pop3-multi.c | 66 CURLMcode mc = curl_multi_perform(mcurl, &still_running); in main() local 70 mc = curl_multi_poll(mcurl, NULL, 0, 1000, NULL); in main() 72 if(mc) in main()
|
H A D | multi-double.c | 64 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local 68 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 70 if(mc) in main()
|
H A D | multi-formadd.c | 95 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local 99 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 101 if(mc) in main()
|
H A D | multi-post.c | 82 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local 86 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 88 if(mc) in main()
|
H A D | multi-legacy.c | 84 CURLMcode mc; /* curl_multi_fdset() return code */ in main() local 111 mc = curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); in main() 113 if(mc != CURLM_OK) { in main() 114 fprintf(stderr, "curl_multi_fdset() failed, code %d.\n", mc); in main()
|
H A D | multi-app.c | 73 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local 77 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 79 if(mc) in main()
|
H A D | smtp-multi.c | 132 CURLMcode mc = curl_multi_perform(mcurl, &still_running); in main() local 136 mc = curl_multi_poll(mcurl, NULL, 0, 1000, NULL); in main() 138 if(mc) in main()
|
H A D | multi-debugcallback.c | 145 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local 149 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 151 if(mc) in main()
|
H A D | http2-download.c | 212 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local 216 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 218 if(mc) in main()
|
H A D | http2-serverpush.c | 241 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local 245 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 247 if(mc) in main()
|
/curl/tests/http/clients/ |
H A D | h2-upgrade-extreme.c | 145 CURLMcode mc; in main() local 188 mc = curl_multi_add_handle(multi, easy); in main() 189 if(mc != CURLM_OK) { in main() 191 curl_multi_strerror(mc)); in main() 197 mc = curl_multi_perform(multi, &running_handles); in main() 198 if(mc != CURLM_OK) { in main() 200 curl_multi_strerror(mc)); in main() 205 mc = curl_multi_poll(multi, NULL, 0, 1000000, &numfds); in main() 206 if(mc != CURLM_OK) { in main() 208 curl_multi_strerror(mc)); in main()
|
H A D | tls-session-reuse.c | 146 CURLMcode mc; in add_transfer() local 169 mc = curl_multi_add_handle(multi, easy); in add_transfer() 170 if(mc != CURLM_OK) { in add_transfer() 172 curl_multi_strerror(mc)); in add_transfer() 181 CURLMcode mc; in main() local 246 mc = curl_multi_perform(multi, &running_handles); in main() 247 if(mc != CURLM_OK) { in main() 249 curl_multi_strerror(mc)); in main() 254 mc = curl_multi_poll(multi, NULL, 0, 1000000, &numfds); in main() 255 if(mc != CURLM_OK) { in main() [all …]
|
H A D | h2-serverpush.c | 235 CURLMcode mc = curl_multi_perform(multi_handle, &still_running); in main() local 239 mc = curl_multi_poll(multi_handle, NULL, 0, 1000, NULL); in main() 241 if(mc) in main()
|
/curl/docs/libcurl/ |
H A D | curl_multi_waitfds.md | 64 CURLMcode mc; 75 mc = curl_multi_waitfds(multi, NULL, 0, &fd_count); 77 if(mc != CURLM_OK) { 78 fprintf(stderr, "curl_multi_waitfds() failed, code %d.\n", mc); 92 mc = curl_multi_waitfds(multi, ufds, fd_count, NULL); 94 if(mc != CURLM_OK) { 95 fprintf(stderr, "curl_multi_waitfds() failed, code %d.\n", mc); 103 } while(!mc);
|
H A D | curl_multi_strerror.md | 44 CURLMcode mc = curl_multi_perform(multi, &still_running); 45 if(mc) 46 printf("error: %s\n", curl_multi_strerror(mc));
|
H A D | curl_multi_wakeup.md | 62 CURLMcode mc; 65 mc = curl_multi_perform(multi, &still_running); 67 if(mc == CURLM_OK) { 69 mc = curl_multi_poll(multi, NULL, 0, 10000, &numfds);
|
H A D | curl_multi_wait.md | 98 CURLMcode mc; 101 mc = curl_multi_perform(multi, &still_running); 103 if(mc == CURLM_OK) { 105 mc = curl_multi_wait(multi, NULL, 0, 1000, &numfds); 108 if(mc != CURLM_OK) { 109 fprintf(stderr, "curl_multi failed, code %d.\n", mc);
|
H A D | curl_multi_poll.md | 108 CURLMcode mc; 111 mc = curl_multi_perform(multi_handle, &still_running); 113 if(mc == CURLM_OK) { 121 mc = curl_multi_poll(multi_handle, &myown, 1, 1000, &numfds); 129 if(mc != CURLM_OK) { 130 fprintf(stderr, "curl_multi failed, code %d.\n", mc);
|
H A D | curl_multi_perform.md | 77 CURLMcode mc = curl_multi_perform(multi, &still_running); 79 if(!mc && still_running) 81 mc = curl_multi_poll(multi, NULL, 0, 1000, NULL); 83 if(mc) { 84 fprintf(stderr, "curl_multi_poll() failed, code %d.\n", (int)mc);
|
H A D | curl_multi_fdset.md | 94 CURLMcode mc; 104 mc = curl_multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); 106 if(mc != CURLM_OK) { 107 fprintf(stderr, "curl_multi_fdset() failed, code %d.\n", mc); 114 } while(!mc);
|
H A D | curl_multi_assign.md | 63 CURLMcode mc = curl_multi_assign(multi, fd, ourstructp); 64 if(mc) 65 printf("error: %s\n", curl_multi_strerror(mc));
|