mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
BUG/MINOR: haterm: don't apply the default pipe size margin twice
Commit 6d16b11022 ("BUG/MINOR: haterm: preserve the pipe size margin
for splicing") solved the issue of pipe size being sufficient for the
vmsplice() call, but as Christopher pointed out, the ratio was applied
to the default size of 64k, so now it's applied twice, giving 100k
instead of 80k. Let's drop it from there.
No backport needed.
This commit is contained in:
parent
79c54d28b0
commit
9a5db56a36
@ -1210,7 +1210,7 @@ static int hstream_build_responses(void)
|
||||
#if defined(USE_LINUX_SPLICE)
|
||||
static void hstream_init_splicing(void)
|
||||
{
|
||||
unsigned int pipesize = 65536 * 5 / 4;
|
||||
unsigned int pipesize = 65536;
|
||||
|
||||
if (!(global.tune.options & GTUNE_USE_SPLICE) || !global.maxpipes)
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user