From e326e09a36a599956bd50f527b32f7607e10d613 Mon Sep 17 00:00:00 2001 From: Albert S Date: Tue, 13 Dec 2022 10:16:30 +0100 Subject: [PATCH] gateway: httpgateway: Adjust default payload length for urlencoded content --- gateway/httpgateway.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gateway/httpgateway.h b/gateway/httpgateway.h index b96b82b..448f8c7 100644 --- a/gateway/httpgateway.h +++ b/gateway/httpgateway.h @@ -1,5 +1,8 @@ #ifndef HTTPGATEWAY_H #define HTTPGATEWAY_H + +#define CPPHTTPLIB_FORM_URL_ENCODED_PAYLOAD_MAX_LENGTH 65536 + #include #include "gatewayinterface.h" #include "../requestworker.h"