wollman 687339a1f2 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
..
1995-04-12 19:21:43 +00:00
1994-09-30 05:43:13 +00:00
1995-02-04 19:11:14 +00:00
1994-05-27 12:39:25 +00:00
1994-11-20 23:23:28 +00:00
1994-11-20 23:23:28 +00:00
1994-11-20 23:23:28 +00:00
1994-12-15 01:21:06 +00:00
1995-04-26 22:33:15 +00:00
1995-03-20 05:58:37 +00:00
1995-04-18 01:54:25 +00:00
1994-10-22 14:58:56 +00:00
1994-05-27 12:39:25 +00:00