summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2023-01-07 16:03:40 +0100
committerDaniel Stenberg <daniel@haxx.se>2023-01-08 20:54:48 +0100
commit5cb63da771abfbf4776a8207053de8bfd71b2e7a (patch)
tree7f6f393e232b5124efe7855bc89fb4a05a89dd65 /include
parent3022eeaefe6cff27a9f065217975516d1a9a3ab8 (diff)
downloadcurl-5cb63da771abfbf4776a8207053de8bfd71b2e7a.tar.gz
curl.h: allow up to 10M buffer size
Bump the limit from 512K. There might be reasons for applications using h3 to set larger buffers and there is no strong reason for curl to have a very small maximum. Ref: https://curl.se/mail/lib-2023-01/0026.html Closes #10256
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index fb6d40981..c599b4d3f 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -248,7 +248,7 @@ typedef int (*curl_xferinfo_callback)(void *clientp,
#ifndef CURL_MAX_READ_SIZE
/* The maximum receive buffer size configurable via CURLOPT_BUFFERSIZE. */
-#define CURL_MAX_READ_SIZE 524288
+#define CURL_MAX_READ_SIZE (10*1024*1024)
#endif
#ifndef CURL_MAX_WRITE_SIZE