mirror of
https://github.com/curl/curl.git
synced 2026-07-16 02:07:16 +03:00
let the Curl_FormReader() return 0 when it reaches end of data to that the
chunked transfer work
This commit is contained in:
parent
d64dd77993
commit
e90d528026
1 changed files with 1 additions and 1 deletions
|
|
@ -1319,7 +1319,7 @@ int Curl_FormReader(char *buffer,
|
|||
wantedsize = size * nitems;
|
||||
|
||||
if(!form->data)
|
||||
return -1; /* nothing, error, empty */
|
||||
return 0; /* nothing, error, empty */
|
||||
|
||||
do {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue