From a82cceca2fd9e63d18b7e2485207bfe6e4c867cd Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Mon, 10 Nov 2025 20:25:31 +0100 Subject: add `--boost-worker-memory` option to zen builds (#639) --- src/zenhttp/include/zenhttp/httpclient.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/zenhttp/include') diff --git a/src/zenhttp/include/zenhttp/httpclient.h b/src/zenhttp/include/zenhttp/httpclient.h index c9b6d4dee..9a9b74d72 100644 --- a/src/zenhttp/include/zenhttp/httpclient.h +++ b/src/zenhttp/include/zenhttp/httpclient.h @@ -52,11 +52,12 @@ struct HttpClientSettings std::chrono::milliseconds ConnectTimeout{3000}; std::chrono::milliseconds Timeout{}; std::optional> AccessTokenProvider; - bool AssumeHttp2 = false; - bool AllowResume = false; - uint8_t RetryCount = 0; - Oid SessionId = Oid::Zero; - bool Verbose = false; + bool AssumeHttp2 = false; + bool AllowResume = false; + uint8_t RetryCount = 0; + Oid SessionId = Oid::Zero; + bool Verbose = false; + uint64_t MaximumInMemoryDownloadSize = 1024u * 1024u; }; class HttpClientError : public std::runtime_error -- cgit v1.2.3