Home
last modified time | relevance | path

Searched refs:wait (Results 1 – 25 of 57) sorted by relevance

123

/curl/docs/libcurl/opts/
H A DCURLINFO_RETRY_AFTER.md32 HTTP server suggests the client should wait until the next request is
36 CURLINFO_RETRY_AFTER(3) always returns the number of seconds to wait -
56 curl_off_t wait = 0;
57 curl_easy_getinfo(curl, CURLINFO_RETRY_AFTER, &wait);
58 if(wait)
59 printf("Wait for %" CURL_FORMAT_CURL_OFF_T " seconds\n", wait);
H A DCURLOPT_PIPEWAIT.md19 CURLOPT_PIPEWAIT - wait for multiplexing
26 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PIPEWAIT, long wait);
31 Set *wait* to 1L to tell libcurl to prefer to wait for a connection to
44 With this option set, libcurl prefers to wait and reuse an existing connection
H A DCURLOPT_ACCEPTTIMEOUT_MS.md30 Pass a long telling libcurl the maximum number of milliseconds to wait for a
48 /* wait no more than 5 seconds for FTP server responses */
H A DCURLOPT_EXPECT_100_TIMEOUT_MS.md30 Pass a long to tell libcurl the number of *milliseconds* to wait for a
51 /* wait 3 seconds for 100-continue */
H A DCURLOPT_TCP_KEEPIDLE.md18 CURLOPT_TCP_KEEPIDLE - TCP keep-alive idle time wait
30 Pass a long. Sets the *delay*, in seconds, to wait while the connection is
H A DCURLMOPT_TIMERDATA.md54 /* this is the new single timeout to wait for */
57 /* delete the timeout, nothing to wait for now */
H A DCURLMOPT_SOCKETDATA.md58 /* wait for read on this socket */
61 /* wait for write on this socket */
H A DCURLOPT_FTP_SSL_CCC.md42 Do not initiate the shutdown, but wait for the server to do it. Do not send a
47 Initiate the shutdown and wait for a reply.
H A DCURLOPT_SERVER_RESPONSE_TIMEOUT.md23 CURLOPT_SERVER_RESPONSE_TIMEOUT - time allowed to wait for server response
61 /* wait no more than 23 seconds */
H A DCURLOPT_SERVER_RESPONSE_TIMEOUT_MS.md23 CURLOPT_SERVER_RESPONSE_TIMEOUT_MS - time allowed to wait for server response
63 /* wait no more than 237 milliseconds */
H A DCURLMOPT_SOCKETFUNCTION.md18 CURLMOPT_SOCKETFUNCTION - callback informed about what to wait for
114 /* wait for read on this socket */
117 /* wait for write on this socket */
/curl/docs/libcurl/
H A Dcurl_multi_timeout.md19 curl_multi_timeout - how long to wait for action before proceeding
32 curl_multi_timeout(3) to figure out how long it should wait for socket
49 currently has no stored timeout value. You must not wait too long (more than a
75 /* wait for activities no longer than the set timeout */
82 Call curl_multi_timeout(3), then wait for action on the sockets. Figure
83 out which sockets to wait for by calling curl_multi_fdset(3).
H A Dcurl_multi_fdset.md62 is completed using select(). You then need to wait a while before you proceed
63 and call curl_multi_perform(3) anyway. How long to wait? Unless
69 how long to wait for action. Call curl_multi_perform(3) even if no
79 save you from the crash, but makes your program NOT wait for sockets it should
80 wait for...
111 /* wait for activity on one of the sockets */
H A Dcurl_easy_send.md48 is returned, use your operating system facilities like *select(2)* to wait
52 Furthermore if you wait on the socket and it tells you it is writable,
95 system facilities to wait until the socket is writable, and retry.
H A Dcurl_easy_recv.md48 your operating system facilities like *select(2)* to wait for data. The
57 Furthermore if you wait on the socket and it tells you there is data to read,
101 system facilities to wait until data can be read, and retry.
H A Dcurl_multi_poll.md57 to offer to wait for, this function instead waits during *timeout_ms*
116 myown.events = CURL_WAIT_POLLIN; /* wait for input */
119 /* wait for activity on curl's descriptors or on our own,
/curl/src/
H A Dtool_cb_rea.c70 long wait = config->timeout_ms - msdelta; in tool_read_cb() local
73 timeout.tv_sec = wait/1000; in tool_read_cb()
74 timeout.tv_usec = (int)((wait%1000)*1000); in tool_read_cb()
/curl/docs/cmdline-opts/
H A Dexpect100-timeout.md6 Help: How long to wait for 100-continue
19 Maximum time in seconds that you allow curl to wait for a 100-continue
H A Dparallel-immediate.md5 Help: Do not wait for multiplexing
23 By default, without this option set, curl prefers to wait a little and
/curl/tests/libtest/
H A Dlib1531.c118 struct timeval wait = { 0, 100 * 1000 }; /* 100ms */ in test()
119 rc = select(0, NULL, NULL, NULL, &wait); in test()
/curl/docs/examples/
H A Dmulti-legacy.c130 struct timeval wait = { 0, 100 * 1000 }; /* 100ms */ in main()
131 rc = select(0, NULL, NULL, NULL, &wait); in main()
/curl/tests/data/
H A Dtest151316 wait 10
H A Dtest30321 wait 20
H A Dtest2920 wait 10
H A Dtest155516 wait 10

Completed in 19 milliseconds

123