mirror of
https://github.com/curl/curl.git
synced 2026-07-27 10:57:19 +03:00
CURLOPT_READFUNCTION.3: the callback 'size' arg is always 1
Reported-by: Brian Green Fixes #10328 Closes #10355
This commit is contained in:
parent
0e293bacb1
commit
ee51f5847a
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ This callback function gets called by libcurl as soon as it needs to read data
|
|||
in order to send it to the peer - like if you ask it to upload or post data to
|
||||
the server. The data area pointed at by the pointer \fIbuffer\fP should be
|
||||
filled up with at most \fIsize\fP multiplied with \fInitems\fP number of bytes
|
||||
by your function.
|
||||
by your function. \fIsize\fP is always 1.
|
||||
|
||||
Set the \fIuserdata\fP argument with the \fICURLOPT_READDATA(3)\fP option.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue