Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 134) sorted by relevance

123456

/curl/docs/libcurl/
H A Dcurl_easy_recv.md46 The call returns **CURLE_AGAIN** if there is no data to read - the socket is
55 read which would include any cached data.
57 Furthermore if you wait on the socket and it tells you there is data to read,
59 read was for internal SSL processing, and no other data is available.
84 /* read data */
96 **buffer**, and the number of bytes it actually read into ***n**.
101 system facilities to wait until data can be read, and retry.
H A Dcurl_mime_data_cb.md43 from a data read callback function.
47 *readfunc* is a pointer to a data read callback function, with a signature
62 The read callback function gets called by libcurl as soon as it needs to
63 read data in order to send it to the peer - like if you ask it to upload or
68 Your read function must then return the actual number of bytes that it stored
77 The read callback may return *CURL_READFUNC_ABORT* to stop the current
/curl/docs/libcurl/opts/
H A DCURLOPT_READDATA.md19 CURLOPT_READDATA - pointer passed to the read callback
31 Data *pointer* to pass to the file read function. If you use the
35 If you do not specify a read callback but instead rely on the default internal
36 read function, this data must be a valid readable FILE * (cast to 'void *').
H A DCURLOPT_IOCTLFUNCTION.md27 CURLIOE_FAILRESTART, /* failed to restart the read */
33 CURLIOCMD_RESTARTREAD, /* restart the read stream from start */
49 rewinding the read data stream is the only action it can request. The
50 rewinding of the read data stream may be necessary when doing an HTTP PUT or
H A DCURLOPT_COOKIEFILE.md18 CURLOPT_COOKIEFILE - filename to read cookies from
31 the filename of your file holding cookie data to read. The cookie data can be
45 If you read cookies from a plain HTTP headers file and it does not specify a
54 If you use this option multiple times, you add more files to read cookies
56 list of files to read cookies from.
H A DCURLOPT_READFUNCTION.md21 CURLOPT_READFUNCTION - read callback for data uploads
37 This callback function gets called by libcurl as soon as it needs to read data
54 The read callback may return *CURL_READFUNC_ABORT* to stop the current
66 internal read function is used. It is doing an fread() on the FILE * userdata
94 fprintf(stderr, "*** We read %" CURL_FORMAT_CURL_OFF_T
H A DCURLOPT_HSTSREADDATA.md19 CURLOPT_HSTSREADDATA - pointer passed to the HSTS read callback
31 Data *pointer* to pass to the HSTS read function. If you use the
H A DCURLOPT_RANDOM_FILE.md18 CURLOPT_RANDOM_FILE - file to read random data from
/curl/lib/
H A Dwarnless.h78 #undef read
79 #define read(fd, buf, count) curlx_read(fd, buf, count) macro
H A Dsocketpair.h49 #define wakeup_read read
59 #define wakeup_read read
/curl/docs/cmdline-opts/
H A Djunk-session-cookies.md6 Help: Ignore session cookies read from file
20 When curl is told to read cookies from a given file, this option makes it
H A Djson.md34 If you start the data with the letter @, the rest should be a filename to read
35 the data from, or a single dash (-) if you want curl to read the data from
37 @foobar and to instead read the data from stdin, use --json @-.
H A Dcookie-jar.md17 - -c store-here.txt -b read-these $URL
30 read from the file. To read cookies, use the --cookie option. Both options
H A Ddata.md40 If you start the data with the letter @, the rest should be a filename to read
41 the data from, or - if you want curl to read the data from stdin. Posting data
43 is told to read from a file like that, carriage returns, newlines and null
H A Ddisable.md19 file is not read or used. See the --config for details on the default config
H A Dcookie.md35 filename to read previously stored cookie from. This option also activates the
44 The file format of the file to read cookies from should be plain HTTP headers
55 Users often want to both read cookies from a file and write updated cookies
/curl/tests/data/
H A Dtest43326 data = "curlrc read"
56 curlrc read
H A Dtest43626 data = "curlrc read"
55 curlrc read
H A Dtest55120 Proxy-Authenticate: Digest realm="something fun to read", nonce="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA…
41 Proxy-Authenticate: Digest realm="something fun to read", nonce="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA…
69 HTTP proxy auth Digest with POST data from read callback
89 Proxy-Authorization: Digest username="s1lly", realm="something fun to read", nonce="AAAAAAAAAAAAAAA…
H A Dtest55222 Proxy-Authenticate: Digest realm="something fun to read", nonce="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA…
62 HTTP proxy auth Digest with 70K POST data from read callback
81 Proxy-Authorization: Digest username="s1lly", realm="something fun to read", nonce="AAAAAAAAAAAAAAA…
H A Dtest113133 # We use skip to make the test server never read the full payload off
35 # long --expect100-timeout means that it will never get a chance to read this.
H A Dtest113033 # We use skip to make the test server never read the full payload off
35 # long --expect100-timeout means that it will never get a chance to read this.
H A Dtest153930 HTTP 1.0 POST with read callback and unknown data size
/curl/tests/libtest/
H A Dlib582.c41 struct Sockets read, write; member
108 addFd(&sockets->read, s, "read"); in curlSocketCallback()
114 removeFd(&sockets->read, s, 1); in curlSocketCallback()
306 updateFdSet(&sockets.read, &readSet, &maxFd); in test()
322 checkFdSet(m, &sockets.read, &readSet, CURL_CSELECT_IN, "read"); in test()
351 free(sockets.read.sockets); in test()
H A Dlib530.c48 struct Sockets read, write; member
130 if(addFd(&sockets->read, s, "read")) in curlSocketCallback()
138 removeFd(&sockets->read, s, 1); in curlSocketCallback()
310 updateFdSet(&sockets.read, &readSet, &maxFd); in testone()
327 if(checkFdSet(m, &sockets.read, &readSet, CURL_CSELECT_IN, "read")) { in testone()
362 free(sockets.read.sockets); in testone()

Completed in 27 milliseconds

123456