- - - - - - - - - - for 2.0 - - - - - - - - - -

Check whether phf can still syslog from within chroot (probably not).

- - - - - - - - - - for 2.1 - - - - - - - - - -

Can we remove the "if ( errno == EINTR )" check on the select()?

Change httpd_got_request() state machine to go into BOGUS state if there
are more than three words on the first line.  Then have it return an
immediate error instead of using BOGUS at all.

Add keep-alives, via a new state in thttpd.c.

Include separate code for poll() vs. select(), to avoid use of the
grody select() wrapper routine on SysV.

Call accept() in a loop until it fails (make listen_fd be non-blocking too,
and check for accept() returning EWOULDBLOCK).  This should get requests out
of the listen queue faster.

- - - - - - - - - - beyond 2.1 - - - - - - - - - -

Look into using setsid() and equivalents to let child processes
disavow their parent, obviating the need for child process reaping.

Does POST fail if there's more than ~1500 bytes of content?

tmr_reset() doesn't actually need to search through the list.

Get rid of cgi_interpose() by adding a new state in thttpd.c.

HTTP/1.1 changes:
    - The hostname from either the Host header or the absolute URI
      must match the server's hostname, or else it's a 400 Bad Request.
Done:
    - Accept absolute URIs.
    - Accept Host header.
    - A HTTP/1.1 request with no Host header is a 400 Bad Request.
    - Include a Date header in all responses.  Required date format is
      "Sun, 07 Nov 1996 23:17:15 GMT".

redirect should interpret a path with a trailing / as /index.html

syslogtocern should be installed into admin dir.

ssi should change $cwd to the source document's location.

Allow .throttle files in individual directories.

Add stat syslogs - high-water mark, etc.

Log-digesting scripts.

Config web page.
    Common errors:
	Not realizing that -c overrides CGI_PATTERN instead of augmenting it.
	Using a directory name for the -c pattern.

Throttling web article.

- - - - - - - - - - general - - - - - - - - - -

Release process:
  - update version number in version.h and README
  - do an rcstreeinfo, and check in all files
  - make tar
  - rcp to best:web/software/thttpd
  - update web page
