diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-03-03 18:46:29 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-03-03 18:46:29 +0100 |
commit | 64bdc1367c85d6e19b04f32ca8f6d37479fa8a89 (patch) | |
tree | 9440fb0a7eb00337fed8741a7be5bee46fa8f55c | |
parent | 1ba0d4bdb39e8fff541484afaee8a1f308a12018 (diff) | |
download | curl-64bdc1367c85d6e19b04f32ca8f6d37479fa8a89.tar.gz |
dynbuf: bump the max HTTP request to 1MBbagder/allow-1mb-http-request
Reported-by: Carl Zogheib
Fixes #6681
-rw-r--r-- | lib/dynbuf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dynbuf.h b/lib/dynbuf.h index 484e40c64..252411f84 100644 --- a/lib/dynbuf.h +++ b/lib/dynbuf.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 2020, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 2020, 2021, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -74,7 +74,7 @@ int Curl_dyn_vprintf(struct dynbuf *dyn, const char *format, va_list ap_save); #define DYN_DOH_CNAME 256 #define DYN_PAUSE_BUFFER (64 * 1024 * 1024) #define DYN_HAXPROXY 2048 -#define DYN_HTTP_REQUEST (128*1024) +#define DYN_HTTP_REQUEST (1024*1024) #define DYN_H2_HEADERS (128*1024) #define DYN_H2_TRAILERS (128*1024) #define DYN_APRINTF 8000000 |