summaryrefslogtreecommitdiff
path: root/lib/url.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-19 17:02:21 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-19 17:02:21 +0100
commit0f34102c926d307023a15778a36ac8163a9e02fe (patch)
tree5b20bcfb6e4c2707f7be35dbff772983010dbc39 /lib/url.h
parent72fad34b2e32f464595b25d237aefb49572c3eb6 (diff)
downloadcurl-bagder/socks-buffer.tar.gz
fixup assert that the minimum buffer size is larger enough for SOCKSbagder/socks-buffer
Diffstat (limited to 'lib/url.h')
-rw-r--r--lib/url.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/url.h b/lib/url.h
index 6c71c1f75..ce4870ea6 100644
--- a/lib/url.h
+++ b/lib/url.h
@@ -23,22 +23,6 @@
***************************************************************************/
#include "curl_setup.h"
-#define READBUFFER_SIZE CURL_MAX_WRITE_SIZE
-#define READBUFFER_MAX CURL_MAX_READ_SIZE
-#define READBUFFER_MIN 1024
-
-/* The default 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.
-
- The size was 16KB for many years but was bumped to 64KB because it makes
- libcurl able to do significantly faster uploads in some circumstances. Even
- larger buffers can help further, but this is deemed a fair memory/speed
- compromise. */
-#define UPLOADBUFFER_DEFAULT 65536
-#define UPLOADBUFFER_MAX (2*1024*1024)
-#define UPLOADBUFFER_MIN CURL_MAX_WRITE_SIZE
-
/*
* Prototypes for library-wide functions provided by url.c
*/