head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.54 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.52 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.50 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.48 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.46 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.44 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.42 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.40 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.38 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.36 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.34 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.32 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.30 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.28 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.26 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.24 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 buildlink2-base:1.2; locks; strict; comment @# @; 1.4 date 2003.10.27.20.29.52; author cube; state dead; branches; next 1.3; 1.3 date 2003.09.19.17.54.18; author wiz; state Exp; branches; next 1.2; 1.2 date 2000.07.27.12.42.08; author jlam; state dead; branches; next 1.1; 1.1 date 2000.04.07.10.11.55; author itojun; state Exp; branches; next ; desc @@ 1.4 log @Update to 2.24. Closes PR pkg/22198 (fix was integratedin that version). New in version 2.24: * Added a bunch of MIME types. * Fix minor problem with returning unknown protocol on some errors. * Changed the config-file option for diabling symlink checking from "nosymlink" to "nosymlinkcheck" to make its function clearer. * Allow blank lines in the config file. * Handle more than one SIGHUP and SIGUSR2 (Cameron Gregory). * Slight change to handle_newconnect() to better deal with unexpected errors from accept(), such as running out of file descriptors (Alex Keahan). * Added optional minimum rate to throttles. * Stats syslog messages downgraded from LOG_NOTICE to LOG_INFO. * Use unsigned short consistently for port number. * Prohibit slashes in the Host: header (Marcus Breiing). * Added a -dd data_dir flag and corresponding config-file option. * Got rid of the old timer-based zombie process reaper, replacing it with a SIGCHLD handler. * Changed the idle connection checking from using a separate timer for each connection to using a single timer that checks all active connections. * Correction to missing-slash directory redirect with query string. * Added a watchdog alarm handler that forces a core dump if thttpd stops running its timers for too long. * Don't send Content-Length header on 304 Not Modified responses. * Allow user-agent log entries to be up to 200 characters long, instead only of 80. * Fixed buffer overflow bug in defang(). * Re-arranged the order of calling de_dotdot() so that it doesn't get applied to query strings. * Some fixes for the syslogtocern script (paul fox). * Changed configure script to use "gcc -dumpversion" instead of "gcc --version" (Ed Goforth). * Changed most uses of \r and \n to \015 and \012 (Jens Bauer). * In ssi.c, lack of PATH_INFO is now non-fatal (David Phillips). * Some improvements to fdwatch (David Burgess). @ text @$NetBSD: patch-ae,v 1.3 2003/09/19 17:54:18 wiz Exp $ --- libhttpd.c.orig Mon May 27 03:22:26 2002 +++ libhttpd.c @@@@ -818,7 +818,7 @@@@ defang( char* str, char* dfstr, int dfsi char* cp2; for ( cp1 = str, cp2 = dfstr; - *cp1 != '\0' && cp2 - dfstr < dfsize - 1; + *cp1 != '\0' && cp2 - dfstr < dfsize - 5; ++cp1, ++cp2 ) { switch ( *cp1 ) @ 1.3 log @Fix a buffer overflow reported in PR 22863 by Ross Patterson. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update thttpd to 2.19. Changes from 2.16: New in version 2.19: * Added hack to prevent MSIE 5 from censoring error messages. * Minor fix to handling of shouldn't-happen error in ls(). * IPv6/Linux fix from Tero Pelander. * Documented the -D flag. New in version 2.18: * Fixed URL-encoding of high-bit characters - used in directory listings. * Made a few more characters come through verbatim instead of %-encoded. * Couple of minor code cleanups. * Added some MIME types to support WAP/WML. * IPv6 fix. * Made MIME text character-set an option, with iso-8859-1 the default. New in version 2.17: * A change in the way wildcard matching works - now a single * only matches strings that don't include a slash. To match entire pathnames including slashes you have to use **. * On systems with IPv6, automatically bind to both v4 and v6 sockets. * Slight change to non-local referer checking to handle older browsers. * Tweaks to some of the error-403 syslog messages. * Portability tweak for OSF/1. * Portability tweak for IPv6 systems. * Fix for ssi.c from Marcel Telka. * Added charset=iso-8859-1 to text MIME types. * Added wildcards to redirect. * Changed symlinks/nosymlinks config options to symlink/nosymlink, to conform to the man page (old style still accepted). @ text @d1 6 a6 11 $NetBSD: patch-ae,v 1.1 2000/04/07 10:11:55 itojun Exp $ --- configure.in Mon Feb 7 10:31:16 2000 +++ configure.in Fri Apr 7 18:52:19 2000 @@@@ -64,7 +64,7 @@@@ AC_MSG_RESULT(no) fi -AC_CHECK_HEADERS(fcntl.h grp.h memory.h paths.h poll.h sys/poll.h netinet6/in6.h) +AC_CHECK_HEADERS(fcntl.h grp.h memory.h paths.h poll.h sys/poll.h) AC_HEADER_TIME AC_HEADER_DIRENT d8 6 @ 1.1 log @fix IPv6 build. upgrade 2.15 -> 2.16. changes from webpage: - More explicit error pages for 403 Forbidden. - New section in the manual page explaining how thttpd is picky about file permissions. - Couple of CGI tweaks from David Chaiken. @ text @d1 1 a1 1 $NetBSD$ @