mirror of
https://github.com/curl/curl.git
synced 2026-08-25 22:13:33 +03:00
upload: UPLOAD_BUFSIZE is now for the upload buffer
This commit is contained in:
parent
8ed81f67c2
commit
89cf6f38d2
4 changed files with 8 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue