From d9a1a59f2242711e287df3b93160e0a2494f23e1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 3 May 2002 14:50:29 +0000 Subject: CURL_MAX_WRITE_SIZE is a new exported define that informs about the biggest sized buffer that may be passed to a write callback --- lib/urldata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/urldata.h b/lib/urldata.h index 7480416d4..571ab3015 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -83,7 +83,7 @@ #include "http_chunks.h" /* for the structs and enum stuff */ /* Download buffer size, keep it fairly big for speed reasons */ -#define BUFSIZE (1024*20) +#define BUFSIZE CURL_MAX_WRITE_SIZE /* Initial size of the buffer to store headers in, it'll be enlarged in case of need. */ -- cgit v1.2.3