]> git.ipfire.org Git - fireperf.git/commit
client: Create random pool to send data faster
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 1 Feb 2021 17:19:38 +0000 (17:19 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 1 Feb 2021 17:19:38 +0000 (17:19 +0000)
commit0b59cb819fb328146f3896b60cf5c60e7f28c5b2
tree94a5db98324f7865408cc8744e211fe5efc4c30e
parent25ba7928a1fb117d4aca66a4ffbf88e97f611265
client: Create random pool to send data faster

This creates a pool of one thousand times the send buffer size which
will be used to send random data. This data might repeat itself, but
that is not a problem here because we only need to have more data than
the window of any compression algorithm.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/client.c
src/main.c
src/main.h