diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-05-03 14:50:29 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-05-03 14:50:29 +0000 |
commit | d9a1a59f2242711e287df3b93160e0a2494f23e1 (patch) | |
tree | 0fb96aa9c70b175aa2a0ee259cf0ed027937a149 /lib | |
parent | 0b898b5a8a1998a529bcab8808540a741dcc7ef7 (diff) |
CURL_MAX_WRITE_SIZE is a new exported define that informs about the biggest
sized buffer that may be passed to a write callback
Diffstat (limited to 'lib')
-rw-r--r-- | lib/urldata.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |