mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05: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
@ -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…
Reference in New Issue
Block a user