Subject: CVS commit: pkgsrc/www/thttpd
From: Juan Romero Pardines
Date: 2004-01-17 13:55:05
Message id: 20040117125505.516262DA1D@cvs.netbsd.org

Log Message:
Update to 2.25b, provided by Michael Santos in PR pkg/24128.

Changes:

New in version 2.25b:

    * Move fdwatch initialization before the chroot, so that
      /dev/poll can work.
    * Multiple fdwatch cleanups and fixes (Adam Zell).

New in version 2.25:

    * Prohibit "Host: ." and "Host: .." (David Leadbeater).
    * Don't free memory prematurely on SIGUSR1 (A.D.F.).
    * Use the specified charset in directory listings and errors
      (Jonas Ohlsson).
    * Lowered THROTTLE_TIME from 60 seconds to 2 seconds, plus more
      aggressive computation of sending rate, to improve throttle
      reaction time (E Frank Ball).
    * Added code to redistribute the throttled bandwidth fairly among
      the currently sending connections.
    * Some more throttling changes that smooth things out a lot.
    * Added an experimental limitation on the number of simultaneous CGIs.
    * Chown the log file when starting as root, so that it can later be
      re-opened when running as nobody (or whatever user you configure).
      Also tweak the logfile pathname so that it still works inside a
      chroot tree.
    * Make sure URL paths begin with a slash.
    * Generate multiple MIME encodings in the correct order, and with the
      correct separator.
    * Ignore EINTR on read() and write().
    * Fix error in httpd_read_fully() and httpd_write_fully() that could
      cause incorrect data to be read or written (Daniel Jensen).
    * Don't attempt to double-free a file descriptor if a connection times
      out while it is paused for throttling.
    * Save and restore errno in signal handlers.
    * The non-local referer check is no longer fooled by URLs with query
      strings.
    * Simplified handling of HAVE_INT64T (Trisk). If this causes problems,
      e.g. if there are still systems which don't have "long long", we can
      back out the change.
    * Keep a list of free connection structs, instead of doing linear search
      to find a free one (Adam Zell).
    * Added config.h option FLUSH_LOG_EVERY_TIME - if it's turned off, the
      log does not get fflushed after each request (Adam Zell).
    * Multiple robustness improvements to the fdwatch module (Adam Zell).
    * Added /dev/poll support to fdwatch (Adam Zell).
    * Automatically add no-cache control header on error responses.

Files:
RevisionActionfile
1.26modifypkgsrc/www/thttpd/Makefile
1.7modifypkgsrc/www/thttpd/distinfo