freebsd-nq/libexec/ftpd
Garrett Wollman 9fc5823a7a Speed up ftpd and make it more efficient:
- 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.
1995-05-03 16:58:12 +00:00
..
extern.h BSD 4.4 Lite Libexec Sources 1994-05-27 12:39:25 +00:00
ftpcmd.y Figured it out, misapplied a patch, ftpd now works again. 1994-10-22 06:23:15 +00:00
ftpd.8 Fix two more references to /etc/motd that I overlooked. PR #29 1995-04-15 07:05:07 +00:00
ftpd.c Speed up ftpd and make it more efficient: 1995-05-03 16:58:12 +00:00
logwtmp.c BSD 4.4 Lite Libexec Sources 1994-05-27 12:39:25 +00:00
Makefile Change the library order so libcrypt is the last library in the list. 1995-03-18 06:41:08 +00:00
pathnames.h Add some functionality to ftpd so it logs all anonymous file 1995-02-26 19:36:59 +00:00
popen.c BSD 4.4 Lite Libexec Sources 1994-05-27 12:39:25 +00:00
skey-stuff.c Include most of the logdaemon v4.4 S/key changes 1994-10-19 00:03:45 +00:00