Home
last modified time | relevance | path

Searched refs:done (Results 1 – 25 of 191) sorted by relevance

12345678

/curl/lib/
H A Dgopher.c52 static CURLcode gopher_do(struct Curl_easy *data, bool *done);
54 static CURLcode gopher_connect(struct Curl_easy *data, bool *done);
55 static CURLcode gopher_connecting(struct Curl_easy *data, bool *done);
113 static CURLcode gopher_connect(struct Curl_easy *data, bool *done) in gopher_connect() argument
116 (void)done; in gopher_connect()
120 static CURLcode gopher_connecting(struct Curl_easy *data, bool *done) in gopher_connecting() argument
125 result = Curl_conn_connect(data, FIRSTSOCKET, TRUE, done); in gopher_connecting()
128 *done = TRUE; in gopher_connecting()
133 static CURLcode gopher_do(struct Curl_easy *data, bool *done) in gopher_do() argument
148 *done = TRUE; /* unconditionally */ in gopher_do()
H A Dasyn-thread.c151 int done; member
221 tsd->done = 1; in init_thread_sync_data()
323 if(tsd->done) { in getaddrinfo_thread()
344 tsd->done = 1; in getaddrinfo_thread()
376 if(tsd->done) { in gethostbyname_thread()
399 int done; in destroy_async_data() local
410 done = td->tsd.done; in destroy_async_data()
414 if(!done) { in destroy_async_data()
588 int done = 0; in Curl_resolver_is_resolved() local
599 done = td->tsd.done; in Curl_resolver_is_resolved()
[all …]
H A Dcf-https-connect.c265 *done = TRUE; in cf_hc_connect()
269 *done = FALSE; in cf_hc_connect()
292 if(!result && *done) { in cf_hc_connect()
306 if(!result && *done) { in cf_hc_connect()
322 *done = FALSE; in cf_hc_connect()
328 *done = FALSE; in cf_hc_connect()
334 *done = TRUE; in cf_hc_connect()
353 *done = TRUE; in cf_hc_shutdown()
371 *done = TRUE; in cf_hc_shutdown()
374 *done = FALSE; in cf_hc_shutdown()
[all …]
H A Dcf-h1-proxy.c379 *done = FALSE; in recv_CONNECT_resp()
821 *done = (result == CURLE_OK); in send_CONNECT()
843 *done = data->req.done; in recv_CONNECT_resp()
844 if(result || !*done) in recv_CONNECT_resp()
869 bool done; in H1_CONNECT() local
900 if(result || !done) in H1_CONNECT()
914 if(result || !done) in H1_CONNECT()
984 *done = TRUE; in cf_h1_proxy_connect()
990 if(result || !*done) in cf_h1_proxy_connect()
993 *done = FALSE; in cf_h1_proxy_connect()
[all …]
H A Dcf-haproxy.c108 bool blocking, bool *done) in cf_haproxy_connect() argument
116 *done = TRUE; in cf_haproxy_connect()
120 result = cf->next->cft->do_connect(cf->next, data, blocking, done); in cf_haproxy_connect()
121 if(result || !*done) in cf_haproxy_connect()
158 *done = (!result) && (ctx->state == HAPROXY_DONE); in cf_haproxy_connect()
159 cf->connected = *done; in cf_haproxy_connect()
H A Dnetrc.c85 goto done; in file2memory()
88 done: in file2memory()
113 bool done = FALSE; in parsenetrc() local
128 while(!done) { in parsenetrc()
130 while(tok && !done) { in parsenetrc()
292 done = TRUE; in parsenetrc()
299 if(!done) { in parsenetrc()
H A Dcurl_rtmp.c57 static CURLcode rtmp_do(struct Curl_easy *data, bool *done);
59 static CURLcode rtmp_connect(struct Curl_easy *data, bool *done);
231 static CURLcode rtmp_connect(struct Curl_easy *data, bool *done) in rtmp_connect() argument
260 *done = TRUE; in rtmp_connect()
266 static CURLcode rtmp_do(struct Curl_easy *data, bool *done) in rtmp_do() argument
280 *done = TRUE; in rtmp_do()
H A Dhttp_proxy.c169 bool blocking, bool *done) in http_proxy_cf_connect() argument
175 *done = TRUE; in http_proxy_cf_connect()
181 result = cf->next->cft->do_connect(cf->next, data, blocking, done); in http_proxy_cf_connect()
182 if(result || !*done) in http_proxy_cf_connect()
185 *done = FALSE; in http_proxy_cf_connect()
237 *done = TRUE; in http_proxy_cf_connect()
H A Dconncache.c699 bool done = FALSE; in cpool_discard_conn() local
728 done = TRUE; in cpool_discard_conn()
729 if(!done) { in cpool_discard_conn()
738 if(done) { in cpool_discard_conn()
866 *done = TRUE; in cpool_run_conn_shutdown()
885 *done = (r1 || r2 || (done1 && done2)); in cpool_run_conn_shutdown()
886 if(*done) in cpool_run_conn_shutdown()
967 bool done; in cpool_perform() local
983 if(done) { in cpool_perform()
1021 bool done; in cpool_close_and_destroy() local
[all …]
H A Dmqtt.c64 static CURLcode mqtt_do(struct Curl_easy *data, bool *done);
67 static CURLcode mqtt_doing(struct Curl_easy *data, bool *done);
653 *done = TRUE; in mqtt_read_publish()
714 static CURLcode mqtt_do(struct Curl_easy *data, bool *done) in mqtt_do() argument
717 *done = FALSE; /* unconditionally */ in mqtt_do()
748 *done = FALSE; in mqtt_doing()
768 *done = TRUE; in mqtt_doing()
801 *done = TRUE; in mqtt_doing()
813 *done = TRUE; in mqtt_doing()
828 result = mqtt_read_publish(data, done); in mqtt_doing()
[all …]
H A Dfile.c97 static CURLcode file_do(struct Curl_easy *data, bool *done);
100 static CURLcode file_connect(struct Curl_easy *data, bool *done);
153 static CURLcode file_connect(struct Curl_easy *data, bool *done) in file_connect() argument
170 *done = TRUE; in file_connect()
258 *done = TRUE; in file_connect()
420 static CURLcode file_do(struct Curl_easy *data, bool *done) in file_do() argument
439 *done = TRUE; /* unconditionally */ in file_do()
H A Dcfilters.h50 bool *done); typedef
54 bool blocking, bool *done); typedef
268 struct Curl_easy *data, bool *done);
326 bool blocking, bool *done);
370 bool blocking, bool *done);
408 CURLcode Curl_conn_shutdown(struct Curl_easy *data, int sockindex, bool *done);
H A Dtftp.c154 static CURLcode tftp_do(struct Curl_easy *data, bool *done);
1044 *done = TRUE; in tftp_connect()
1225 *done = FALSE; in tftp_multi_statemach()
1235 *done = (state->state == TFTP_STATE_FIN); in tftp_multi_statemach()
1236 if(*done) in tftp_multi_statemach()
1258 *done = (state->state == TFTP_STATE_FIN); in tftp_multi_statemach()
1259 if(*done) in tftp_multi_statemach()
1335 static CURLcode tftp_do(struct Curl_easy *data, bool *done) in tftp_do() argument
1341 *done = FALSE; in tftp_do()
1344 result = tftp_connect(data, done); in tftp_do()
[all …]
H A Dhttp_digest.c130 authp->done = FALSE; in Curl_output_digest()
174 authp->done = TRUE; in Curl_output_digest()
H A Dhttp_negotiate.c163 authp->done = FALSE; in Curl_output_negotiate()
189 authp->done = TRUE; in Curl_output_negotiate()
239 authp->done = TRUE; in Curl_output_negotiate()
/curl/tests/data/
H A Dtest154137 CURLINFO_CONNECT_TIME_T on done is OK
38 CURLINFO_PRETRANSFER_TIME_T on done is OK
39 CURLINFO_POSTTRANSFER_TIME_T on done is OK
40 CURLINFO_STARTTRANSFER_TIME_T on done is OK
41 CURLINFO_APPCONNECT_TIME_T on done is OK
42 CURLINFO_SPEED_DOWNLOAD_T on done is OK
43 CURLINFO_TOTAL_TIME_T on done is OK
/curl/lib/vtls/
H A Dx509asn1.c1102 goto done; in Curl_extract_certinfo()
1113 goto done; in Curl_extract_certinfo()
1138 goto done; in Curl_extract_certinfo()
1150 goto done; in Curl_extract_certinfo()
1162 goto done; in Curl_extract_certinfo()
1173 goto done; in Curl_extract_certinfo()
1185 goto done; in Curl_extract_certinfo()
1197 goto done; in Curl_extract_certinfo()
1204 goto done; in Curl_extract_certinfo()
1217 goto done; in Curl_extract_certinfo()
[all …]
H A Dvtls.c1222 *done = TRUE; in Curl_none_shutdown()
1708 *done = TRUE; in ssl_cf_connect()
1713 *done = FALSE; in ssl_cf_connect()
1719 if(result || !*done) in ssl_cf_connect()
1729 *done = FALSE; in ssl_cf_connect()
1744 if(!result && *done) { in ssl_cf_connect()
1819 *done = TRUE; in ssl_cf_shutdown()
2113 *done = TRUE; in vtls_shutdown_blocking()
2118 *done = FALSE; in vtls_shutdown_blocking()
2129 if(result ||*done) in vtls_shutdown_blocking()
[all …]
/curl/scripts/
H A Dcijobs.pl49 my $done = 0;
105 $done++;
117 $done++;
123 $done++;
142 if(!$done) {
146 $done++;
/curl/m4/
H A Dxc-val-flgs.m441 done
70 done
89 done
112 done
128 done
160 done
185 done
/curl/docs/libcurl/
H A Dcurl_getenv.md32 You must curl_free(3) the returned string when you are done with it.
59 memory, although other systems does not work properly if this is not done. The
/curl/docs/libcurl/opts/
H A DCURLINFO_LOCAL_PORT.md33 connection done with this **curl** handle.
35 If the connection was done using QUIC, the port number is a UDP port number,
H A DCURLINFO_SSL_ENGINES.md37 on the list pointer once you are done with it, as libcurl does not free this
53 /* we have a list, free it when done using it */
H A DCURLOPT_FORBID_REUSE.md31 connection when done with the transfer. Normally, libcurl keeps all
32 connections alive when done with one transfer in case a succeeding one follows
/curl/lib/vssh/
H A Dwolfssh.c50 static CURLcode wssh_connect(struct Curl_easy *data, bool *done);
52 static CURLcode wssh_do(struct Curl_easy *data, bool *done);
422 *done = TRUE; in wssh_connect()
428 return wssh_multi_statemach(data, done); in wssh_connect()
911 *done = (sshc->state == SSH_STOP); in wssh_multi_statemach()
914 if(*done) { in wssh_multi_statemach()
917 } while(!result && !*done && !block); in wssh_multi_statemach()
962 static CURLcode wssh_do(struct Curl_easy *data, bool *done) in wssh_do() argument
969 *done = FALSE; /* default to false */ in wssh_do()
981 result = wscp_perform(data, &connected, done); in wssh_do()
[all …]

Completed in 69 milliseconds

12345678