mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 14:39:37 +00:00
9fc5823a7a
- set TCP_NOPUSH to keep from sending short packets at each write(2) boundary - set SO_SNDBUF to 64k so we have a reasonable amount of buffer space - for a regular file in binary mode which is not being restarted and is . smaller than 16 Meg, use mmap(2) and write(2) the whole file in one big gulp In the most common circumstances, this should dramatically reduce the system-call load from ftpd, since the call to write() will not return until the entire file has been written, rather than writing just a few K at a time in a loop. |
||
---|---|---|
.. | ||
atrun | ||
bootpd | ||
bootpgw | ||
bugfiler | ||
comsat | ||
fingerd | ||
ftpd | ||
getNAME | ||
getty | ||
kpasswdd | ||
lfs_cleanerd | ||
mail.local | ||
makekey | ||
rbootd | ||
rexecd | ||
rlogind | ||
rpc.rstatd | ||
rpc.rusersd | ||
rpc.rwalld | ||
rshd | ||
rtld-aout | ||
talkd | ||
telnetd | ||
tftpd | ||
uucpd | ||
xtend | ||
Makefile | ||
Makefile.inc |