]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
dynbuf: bump the max CRLFILE size to 400MB
authorDaniel Stenberg <daniel@haxx.se>
Fri, 14 Mar 2025 11:49:31 +0000 (12:49 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 14 Mar 2025 12:34:15 +0000 (13:34 +0100)
Follow-up to 00fc55677f693f569b1a176279f

Ref: https://github.com/curl/curl/pull/16716#issuecomment-2724429278

> I have some tooling leftover from when I was implementing CRL support
> in the webpki crate that downloaded every CRL I could find referenced
> in ccadb (without doing any special filtering for defunct CAs/CRLs
> mind you) and found CRLs that spanned the range from very small
> (<1mb), to medium sized (11 .. 22mb) to very large (100mb).

Reported-by: Daniel McCarney
Closes #16724

lib/dynbuf.h

index fedc81117cf2ad9ac32ae90f24a7b1f2114a3b6d..71b0cc239db6151a8bc5a659d327de41cea70c05 100644 (file)
@@ -97,5 +97,5 @@ char *Curl_dyn_take(struct dynbuf *s, size_t *plen);
 #define DYN_PINGPPONG_CMD   (64*1024)
 #define DYN_IMAP_CMD        (64*1024)
 #define DYN_MQTT_RECV       (64*1024)
-#define DYN_CRLFILE_SIZE    8000000
+#define DYN_CRLFILE_SIZE    (400*1024*1024) /* 400mb */
 #endif