summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/lib/http1.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmcurl/lib/http1.h')
-rw-r--r--Utilities/cmcurl/lib/http1.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmcurl/lib/http1.h b/Utilities/cmcurl/lib/http1.h
index 93111ef..b1eaa96 100644
--- a/Utilities/cmcurl/lib/http1.h
+++ b/Utilities/cmcurl/lib/http1.h
@@ -33,11 +33,11 @@
#define H1_PARSE_OPT_NONE (0)
#define H1_PARSE_OPT_STRICT (1 << 0)
-#define H1_PARSE_DEFAULT_MAX_LINE_LEN (8 * 1024)
+#define H1_PARSE_DEFAULT_MAX_LINE_LEN DYN_HTTP_REQUEST
struct h1_req_parser {
struct httpreq *req;
- struct bufq scratch;
+ struct dynbuf scratch;
size_t scratch_skip;
const char *line;
size_t max_line_len;