Build splice support on linux, fix standalone portmappers building with cmake
C/C++ CI Linux / ${{ matrix.target }} (ubuntu-24.04-arm) (push) Waiting to run
C/C++ CI Linux / ${{ matrix.target }} (ubuntu-latest) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (macos-15) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (ubuntu-24.04-arm) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (ubuntu-latest) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (windows-2022) (push) Waiting to run
C/C++ CI cmake / ubuntu-latest (wolfSSL) (push) Waiting to run

This commit is contained in:
Vladimir Dubrovin committed 2026-10-12 13:27:16 +03:00
1 parent 371d8396b4
commit 144e2f3840
4 files changed
+19 -20

No files matched your search

+4 -5
View File
@@ -194,11 +194,10 @@ delay GRACE_DELAY milliseconds before polling if average polling size is below G
(for admin) secure, allow only secure operations, currently only traffic counters
view without ability to reset.
.br
(for TCP services, Linux) enable splice(). splice() is not built by default and
is disabled even when built, because current Linux does not implement
SPLICE_F_MOVE, so no real zero-copy takes place and the read/write path is faster
for most traffic. Rebuild with -DWITHSPLICE to make -s available, -s0 disables it
explicitly.
(for TCP services, Linux) enable splice(). It is built on Linux by default,
but off unless -s is given: splice() is faster for large transfers and the
read/write path for small requests. -s0 disables it explicitly; build without
-DWITHSPLICE to leave it out.
.br
.B -C
(for TCP services) a connection closed by any of the sides terminates the