mirror of
https://github.com/curl/curl.git
synced 2026-07-16 09:57:16 +03:00
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
This commit is contained in:
parent
3022eeaefe
commit
5cb63da771
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue