Increase bmcweb request limit to allow full firmware package uploads via Web GUI

parent e7e7298d
diff --git a/crow/include/crow/http_connection.h b/crow/include/crow/http_connection.h
index 6f44186..6c23b63 100644
--- a/crow/include/crow/http_connection.h
+++ b/crow/include/crow/http_connection.h
@@ -241,8 +241,8 @@ typename std::enable_if<(N > 0)>::type
static std::atomic<int> connectionCount;
#endif
-// request body limit size: 30M
-constexpr unsigned int httpReqBodyLimit = 1024 * 1024 * 30;
+// request body limit size: 128M
+constexpr unsigned int httpReqBodyLimit = 1024 * 1024 * 128;
template <typename Adaptor, typename Handler, typename... Middlewares>
class Connection
......@@ -12,7 +12,9 @@ GROUPMEMS_PARAM_${PN} = "-g web -a root; -g redfish -a root"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENCE;md5=a6a4edad4aed50f39a66d098d74b265b"
SRC_URI = "git://scm.raptorcs.com/scm/git/bmcweb;protocol=https"
SRC_URI = "git://scm.raptorcs.com/scm/git/bmcweb;protocol=https \
file://0001-Increase-request-limit.patch \
"
PV = "1.0+git${SRCPV}"
SRCREV = "4418c7f0ddcc5d3518831729a380a0b67e5d4093"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment