upload: UPLOAD_BUFSIZE is now for the upload buffer

This commit is contained in:
Daniel Stenberg 2017-04-25 14:37:06 +02:00
parent 8ed81f67c2
commit 89cf6f38d2
4 changed files with 8 additions and 4 deletions

View file

@ -360,7 +360,7 @@ static CURLcode file_upload(struct connectdata *conn)
while(!result) {
int readcount;
result = Curl_fillreadbuffer(conn, BUFSIZE, &readcount);
result = Curl_fillreadbuffer(conn, (int)data->set.buffer_size, &readcount);
if(result)
break;