Subject: CVS commit: pkgsrc/www/thttpd
To: None <pkgsrc-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: pkgsrc-changes
Date: 01/17/2004 12:55:05
Module Name:	pkgsrc
Committed By:	xtraeme
Date:		Sat Jan 17 12:55:05 UTC 2004

Modified Files:
	pkgsrc/www/thttpd: Makefile distinfo

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.


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 pkgsrc/www/thttpd/Makefile
cvs rdiff -r1.6 -r1.7 pkgsrc/www/thttpd/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.