Compare commits

...

3 Commits

3 changed files with 5 additions and 2 deletions

View File

@ -114,7 +114,7 @@ Config::Config(const std::map<std::string, std::string> &map)
this->templateprefix = "{qswiki:"; this->templateprefix = "{qswiki:";
this->max_payload_length = optional("max_payload_length", 10 * 1024 * 1024); this->max_payload_length = optional("max_payload_length", 60 * 1024 * 1024);
ConfigVariableResolver resolver{this->configmap}; ConfigVariableResolver resolver{this->configmap};
this->configVarResolver = resolver; this->configVarResolver = resolver;

View File

@ -1,5 +1,8 @@
#ifndef HTTPGATEWAY_H #ifndef HTTPGATEWAY_H
#define HTTPGATEWAY_H #define HTTPGATEWAY_H
#define CPPHTTPLIB_FORM_URL_ENCODED_PAYLOAD_MAX_LENGTH 65536
#include <httplib.h> #include <httplib.h>
#include "gatewayinterface.h" #include "gatewayinterface.h"
#include "../requestworker.h" #include "../requestworker.h"

@ -1 +1 @@
Subproject commit d92c31446687cfa336a6332b1015b4fe289fbdec Subproject commit c0b461a3b7b15877b5c8047b409c124aceec8fd9