From c2ddc12d6086b522703c8b80a72ab791680f1a28 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 25 Apr 2017 00:09:22 +0200 Subject: CURLOPT_BUFFERSIZE: 1024 bytes is now the minimum size The buffer is needed to receive FTP, HTTP CONNECT responses etc so already at this size things risk breaking and smaller is certainly not wise. --- lib/urldata.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index f7a55e15e..b300d8a69 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -205,6 +205,7 @@ #define BUFSIZE CURL_MAX_WRITE_SIZE #undef MAX_BUFSIZE #define MAX_BUFSIZE CURL_MAX_READ_SIZE +#define MIN_BUFSIZE 1024 #define CURL_BUFSIZE(x) ((x)?(x):(BUFSIZE)) /* Initial size of the buffer to store headers in, it'll be enlarged in case -- cgit v1.2.3