0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-03-13 21:10:32 +01:00

modules/client/keys: Reapportion missing request header buffer.

This commit is contained in:
Jason Volk 2020-04-27 16:02:38 -07:00
parent cefee45147
commit 7159249f70
2 changed files with 2 additions and 0 deletions

View file

@ -288,6 +288,7 @@ try
static_assert(is_powerof2(buffer_unit_size));
const size_t buffer_size
{
8_KiB + // headers
buffer_unit_size * std::min(queries.size(), size_t(claim_limit))
};

View file

@ -337,6 +337,7 @@ try
const size_t buffer_size
{
8_KiB + // headers
buffer_unit_size * std::min(queries.size(), size_t(query_limit))
};