3proxy/src
Vladimir Dubrovin 61041ebe7d Make the automatic splice() mode's heuristics a service option
-s[N]:MIN,STREAK,SMALL sets where the automatic mode splices, as -g
does for grace delay: a direction is spliced after STREAK reads in a
row of MIN bytes or more (SMALL from a TLS socket), copied again after
more than STREAK splices in a row of less than SMALL, and a body of
known length is spliced if MIN or more of it is left. The defaults,
16384,2,4096, are what was built in; a value left out or 0 keeps its
default.

The man page describes it, and its HTML copy, which still said splice()
was not built by default, now has the current text. A test case relays
answers of every size, chunked ones and a 3 MB upload through every
mode, two of them with heuristics set, and compares them byte for byte.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 19:02:23 +03:00
..
libs fix wolfSSL, switch minimal/busybox to musl+wolfssl 2026-07-31 11:27:10 +03:00
plugins Keep the values of numbered traffic counters across reloads 2026-10-13 19:05:59 +03:00
3proxy.c Reach the configuration through a pointer 2026-10-13 19:12:54 +03:00
3proxy.ico
3proxy.rc
3proxy_crypt.c
acl.c Make filtermaxsize, parentretries, delimchar and maxseg per service 2026-10-13 15:33:35 +03:00
auth.c Services and their clients read their own configuration 2026-10-13 19:19:03 +03:00
authradius.c Services and their clients read their own configuration 2026-10-13 19:19:03 +03:00
auto.c Pre-allocate client/server/tmp/etc buffers with client structure 2026-10-12 17:19:55 +03:00
base64.c Add outsize parameter to en64 2026-08-08 17:58:49 +03:00
common.c Reach the configuration through a pointer 2026-10-13 19:12:54 +03:00
conf.c Optional kernel TLS with OpenSSL (ssl_ktls) 2026-10-14 17:29:21 +03:00
confinit.h Reach the configuration through a pointer 2026-10-13 19:12:54 +03:00
datatypes.c Reach the configuration through a pointer 2026-10-13 19:12:54 +03:00
dnspr.c Services and their clients read their own configuration 2026-10-13 19:19:03 +03:00
ftp.c per-service timeouts 2026-10-13 15:12:05 +03:00
ftppr.c per-service timeouts 2026-10-13 15:12:05 +03:00
hash.c Keep the clock, timetoexit and needreload out of conf 2026-10-13 16:05:33 +03:00
hashtables.c Pre-allocate client/server/tmp/etc buffers with client structure 2026-10-12 17:19:55 +03:00
httpsrv.c Fix the Watcom build, and UNC paths in httpsrv on Windows 2026-10-14 17:40:16 +03:00
imapp.c per-service timeouts 2026-10-13 15:12:05 +03:00
limiter.c Services and their clients read their own configuration 2026-10-13 19:19:03 +03:00
log.c Reach the configuration through a pointer 2026-10-13 19:12:54 +03:00
Makefile
Makefile.inc Reorganize service config parsing / main loop 2026-10-12 13:08:55 +03:00
mdhash.c
mdhash.h
pcre.c Pre-allocate client/server/tmp/etc buffers with client structure 2026-10-12 17:19:55 +03:00
pcre.h
plugins.c Reach the configuration through a pointer 2026-10-13 19:12:54 +03:00
pop3p.c per-service timeouts 2026-10-13 15:12:05 +03:00
proxy.c Reach the configuration through a pointer 2026-10-13 19:12:54 +03:00
proxy.h Make the automatic splice() mode's heuristics a service option 2026-10-14 19:02:23 +03:00
proxymain.c Make the automatic splice() mode's heuristics a service option 2026-10-14 19:02:23 +03:00
redirect.c per-service timeouts 2026-10-13 15:12:05 +03:00
resolve.c Reach the configuration through a pointer 2026-10-13 19:12:54 +03:00
sem.c Change waiting loops to semaphores for child counters 2026-10-10 23:10:57 +03:00
smtpp.c per-service timeouts 2026-10-13 15:12:05 +03:00
sockgetchar.c Keep the clock, timetoexit and needreload out of conf 2026-10-13 16:05:33 +03:00
sockmap.c Make the automatic splice() mode's heuristics a service option 2026-10-14 19:02:23 +03:00
socks.c Make filtermaxsize, parentretries, delimchar and maxseg per service 2026-10-13 15:33:35 +03:00
sql.c Reach the configuration through a pointer 2026-10-13 19:12:54 +03:00
ssl.c splice() over kernel TLS 2026-10-14 18:50:02 +03:00
ssl.h Optional kernel TLS with OpenSSL (ssl_ktls) 2026-10-14 17:29:21 +03:00
ssllib.c Read TLS records ahead with OpenSSL 1.1.0 and later 2026-10-13 12:21:23 +03:00
stringtable.c Added imapp, starttls support for smtpp, pop3p, tlspr 2026-07-22 16:15:50 +03:00
structures.h Make the automatic splice() mode's heuristics a service option 2026-10-14 19:02:23 +03:00
tcppm.c per-service timeouts 2026-10-13 15:12:05 +03:00
tlspr.c per-service timeouts 2026-10-13 15:12:05 +03:00
transparent.c Pre-allocate client/server/tmp/etc buffers with client structure 2026-10-12 17:19:55 +03:00
udppm.c per-service timeouts 2026-10-13 15:12:05 +03:00
udpsockmap.c Unify Linux namespace operations 2026-10-12 18:18:27 +03:00
version.h Update version files for 1.0.0 2026-08-22 12:13:00 +00:00
webadmin.c Reach the configuration through a pointer 2026-10-13 19:12:54 +03:00