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

@ -904,7 +904,7 @@ static CURLcode readwrite_upload(struct Curl_easy *data,
sending_http_headers = FALSE;
}
result = Curl_fillreadbuffer(conn, BUFSIZE, &fillcount);
result = Curl_fillreadbuffer(conn, UPLOAD_BUFSIZE, &fillcount);
if(result)
return result;