From 89cf6f38d2f525cbc8537a60061f5f37bb2f35f7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 25 Apr 2017 14:37:06 +0200 Subject: upload: UPLOAD_BUFSIZE is now for the upload buffer --- lib/transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/transfer.c') diff --git a/lib/transfer.c b/lib/transfer.c index d6aac675b..bafb6e9c8 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -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; -- cgit v1.2.3