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:
parent
cefee45147
commit
7159249f70
2 changed files with 2 additions and 0 deletions
|
@ -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))
|
||||
};
|
||||
|
||||
|
|
|
@ -337,6 +337,7 @@ try
|
|||
|
||||
const size_t buffer_size
|
||||
{
|
||||
8_KiB + // headers
|
||||
buffer_unit_size * std::min(queries.size(), size_t(query_limit))
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue