This commit is contained in:
Kumar Arnav 2023-05-08 07:16:34 +05:30 committed by GitHub
parent 8b250f8638
commit 42bbc185e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -356,7 +356,7 @@ class HttpAppFrameworkImpl final : public HttpAppFramework
}
HttpAppFramework &setGzipStatic(bool useGzipStatic) override;
HttpAppFramework &setBrStatic(bool useGzipStatic) override;
HttpAppFramework &setClientMaxBodySize(size_t maxSize) override
HttpAppFramework &setClientMaxBodySize(uint64_t maxSize) override
{
clientMaxBodySize_ = maxSize;
return *this;
@ -405,7 +405,7 @@ class HttpAppFrameworkImpl final : public HttpAppFramework
HttpAppFramework &setImplicitPage(
const std::string &implicitPageFile) override;
const std::string &getImplicitPage() const override;
size_t getClientMaxBodySize() const
uint64_t getClientMaxBodySize() const
{
return clientMaxBodySize_;
}
@ -686,7 +686,7 @@ class HttpAppFrameworkImpl final : public HttpAppFramework
std::pair<unsigned int, std::string> floatPrecisionInJson_{0,
"significant"};
bool usingCustomErrorHandler_{false};
size_t clientMaxBodySize_{1024 * 1024};
uint64_t clientMaxBodySize_{1024 * 1024};
size_t clientMaxMemoryBodySize_{64 * 1024};
size_t clientMaxWebSocketMessageSize_{128 * 1024};
std::string homePageFile_{"index.html"};