Use memmove for overlapping region

This commit is contained in:
Vladimir Dubrovin committed 2026-08-08 20:46:52 +03:00
1 parent a986ed7a07
commit 8c2ad56665
5 files changed
+32 -10

No files matched your search

+7
View File
@@ -199,6 +199,13 @@ 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.
.br
.B -C
(for TCP services) keep the session until both sides close the connection
(TCP half-close). By default a connection closed by any of the sides terminates
the session, buffered data is delivered before the sockets are closed. Half-close
is required for the protocols where one of the sides closes its sending side and
expects the answer, it may cause the sockets to be kept in CLOSE_WAIT state.
.br
(for dnspr) simple, do not use resolver and 3proxy cache, always use external DNS server.
.br