aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-04-25 15:31:14 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-05-01 22:55:29 +0200
commite3ed5cb380e615e91d99b09da9f0ead0eaf3e0b5 (patch)
treec12a427c0307188e8aa805a696b1faf26659457d /lib/urldata.h
parent799c7048dc9d5b4e4af50a4f36867742578c7663 (diff)
BUFSIZE: rename to READBUFFER_*, make separate MASTERBUF_SIZE
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 22b0f8195..56430122f 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -200,17 +200,13 @@
#include <libssh2_sftp.h>
#endif /* HAVE_LIBSSH2_H */
-/* Download buffer size, keep it fairly big for speed reasons */
-#undef BUFSIZE
-#define BUFSIZE CURL_MAX_WRITE_SIZE
-#undef MAX_BUFSIZE
-#define MAX_BUFSIZE CURL_MAX_READ_SIZE
-#define MIN_BUFSIZE 1024
-
/* The upload buffer size, should not be smaller than CURL_MAX_WRITE_SIZE, as
it needs to hold a full buffer as could be sent in a write callback */
#define UPLOAD_BUFSIZE CURL_MAX_WRITE_SIZE
+/* The "master buffer" is for HTTP pipelining */
+#define MASTERBUF_SIZE 16384
+
/* Initial size of the buffer to store headers in, it'll be enlarged in case
of need. */
#define HEADERSIZE 256