diff options
Diffstat (limited to 'meta-phosphor/recipes-phosphor/interfaces/bmcweb/0001-Increase-request-limit.patch')
-rw-r--r-- | meta-phosphor/recipes-phosphor/interfaces/bmcweb/0001-Increase-request-limit.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/interfaces/bmcweb/0001-Increase-request-limit.patch b/meta-phosphor/recipes-phosphor/interfaces/bmcweb/0001-Increase-request-limit.patch new file mode 100644 index 000000000..ce710cbfd --- /dev/null +++ b/meta-phosphor/recipes-phosphor/interfaces/bmcweb/0001-Increase-request-limit.patch @@ -0,0 +1,15 @@ +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 |