Module Name: src Committed By: msaitoh Date: Wed Jul 9 16:09:40 UTC 2014
Modified Files: src/libexec/httpd [netbsd-5-1]: Makefile auth-bozo.c bozohttpd.8 bozohttpd.c bozohttpd.h cgi-bozo.c content-bozo.c daemon-bozo.c dir-index-bozo.c ssl-bozo.c tilde-luzah-bozo.c Added Files: src/libexec/httpd [netbsd-5-1]: CHANGES Makefile.boot lua-bozo.c main.c netbsd_queue.h printenv.lua typescript src/libexec/httpd/debug [netbsd-5-1]: Makefile src/libexec/httpd/libbozohttpd [netbsd-5-1]: Makefile libbozohttpd.3 shlib_version src/libexec/httpd/lua [netbsd-5-1]: Makefile bozo.lua glue.c optparse.lua shlib_version src/libexec/httpd/small [netbsd-5-1]: Makefile src/libexec/httpd/testsuite [netbsd-5-1]: Makefile html_cmp t1.in t1.out t10.in t10.out t2.in t2.out t3.in t3.out t4.in t4.out t5.in t5.out t6.in t6.out t7.in t7.out t8.in t8.out t9.in t9.out test-bigfile src/libexec/httpd/testsuite/data [netbsd-5-1]: bigfile bigfile.partial4000 bigfile.partial8000 file index.html Log Message: Pull up following revision(s) (requested by mrg in ticket #1913): libexec/httpd/CHANGES 1.3-1.18 libexec/httpd/Makefile 1.8-1.22 via patch libexec/httpd/Makefile.boot 1.3-1.6 libexec/httpd/auth-bozo.c 1.5-1.13 libexec/httpd/bozohttpd.8 1.6-1.46 libexec/httpd/bozohttpd.c 1.8,1.12-1.54 libexec/httpd/bozohttpd.h 1.8-1.32 libexec/httpd/cgi-bozo.c 1.11-1.25 libexec/httpd/content-bozo.c 1.4-1.10 libexec/httpd/daemon-bozo.c 1.5-1.16 libexec/httpd/dir-index-bozo.c 1.6-1.19 libexec/httpd/ssl-bozo.c 1.5-1.16 libexec/httpd/tilde-luzah-bozo.c 1.5-1.10 libexec/httpd/lua-bozo.c 1.1-1.9 libexec/httpd/main.c 1.1-1.7 libexec/httpd/netbsd_queue.h 1.1 libexec/httpd/printenv.lua 1.1-1.2 libexec/httpd/debug/Makefile 1.1 libexec/httpd/libbozohttpd/Makefile 1.2 libexec/httpd/libbozohttpd/libbozohttpd.3 1.3 libexec/httpd/libbozohttpd/shlib_version 1.1 libexec/httpd/lua/Makefile 1.1 libexec/httpd/lua/bozo.lua 1.1 libexec/httpd/lua/glue.c 1.1 libexec/httpd/lua/optparse.lua 1.1 libexec/httpd/lua/shlib_version 1.1 libexec/httpd/small/Makefile 1.1-1.2 libexec/httpd/testsuite/Makefile 1.4 libexec/httpd/testsuite/html_cmp 1.4 libexec/httpd/testsuite/t1.in 1.3 libexec/httpd/testsuite/t1.out 1.3 libexec/httpd/testsuite/t10.in 1.1 libexec/httpd/testsuite/t10.out 1.1 libexec/httpd/testsuite/t2.in 1.3 libexec/httpd/testsuite/t2.out 1.3 libexec/httpd/testsuite/t3.in 1.3 libexec/httpd/testsuite/t3.out 1.3 libexec/httpd/testsuite/t4.in 1.3 libexec/httpd/testsuite/t4.out 1.3 libexec/httpd/testsuite/t5.in 1.3 libexec/httpd/testsuite/t5.out 1.3 libexec/httpd/testsuite/t6.in 1.3 libexec/httpd/testsuite/t6.out 1.3 libexec/httpd/testsuite/t7.in 1.3 libexec/httpd/testsuite/t7.out 1.3 libexec/httpd/testsuite/t8.in 1.3 libexec/httpd/testsuite/t8.out 1.3 libexec/httpd/testsuite/t9.in 1.3 libexec/httpd/testsuite/t9.out 1.3 libexec/httpd/testsuite/test-bigfile 1.1 libexec/httpd/testsuite/data/bigfile 1.1 libexec/httpd/testsuite/data/bigfile.partial4000 1.1 libexec/httpd/testsuite/data/bigfile.partial8000 1.1 libexec/httpd/testsuite/data/file 1.3 libexec/httpd/testsuite/data/index.html 1.3 Update bozohttpd from 20080303+patches to 20140708. changes in bozohttpd 20140708: o fixes for virtual host support, from rajeev_v_pil...@yahoo.com o avoid printing double errors, from s...@netbsd.org o fix a security issue in basic HTTP authentication which would allow authentication to be bypassed, from s...@netbsd.org changes in bozohttpd 20140201: o support .svg files o fix a core dump when requests timeout changes in bozohttpd 20140102: o update a few content types o add support for directly calling lua scripts to handle processes, from mbal...@netbsd.org o properly escape generated HTML o add authentication for redirections, from mar...@netbsd.org o handle chained ssl certifications, from el...@netbsd.org o add basic support for gzipped files, from el...@netbsd.org o properly escape generated URIs changes in bozohttpd 20111118: o add -P <pidfile> option, from j...@netbsd.org o avoid crashes with http basic auth, from po...@netbsd.org o add support for REDIRECT_STATUS variable, from t...@netbsd.org o support .mp4 files in the default map o directory indexes with files with : are now displayed properly, from r...@netbsd.org o allow -I option to be useful in non-inetd mode as well changes in bozohttpd 20100920: o properly fully disable multi-file mode for now o fix the -t and -U options when used without the -e option, broken since the library-ifcation o be explicit that logs go to the FTP facility in syslog o use scandir() with alphasort() for sorted directory lists, from moof o fix a serious error in vhost handling; "Host:.." would allow access to the next level directory from the virtual root directory, from seanb o fix some various non standard compile time errors, from rudolf o fix dynamic CGI content maps, from rudolf changes in bozohttpd 20100617: o fix some compile issues o fix SSL mode. from rtr o fix some cgi-bin issues, as seen with cvsweb o disable multi-file daemon mode for now, it breaks o return 404's instead of 403's when chdir of ~user dirs fail o remove "noreturn" attribute from bozo_http_error() that was causing incorrect runtime behaviour changes in bozohttpd 20100509: o major rework and clean up of internal interfaces. move the main program into main.c, the remaining parts are useable as library. add bindings for lua. by Alistair G. Crooks <a...@netbsd.org> o fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566325 changes in bozohttpd 20090522: o avoid dying in daemon mode for some uncommon, but recoverable, errors o close leaking file descriptors for CGI and daemon mode o handle poll errors properly o don't try to handle more than one request per process yet o add subdirs for build "debug" and "small" versions o clean up a bad merge / duplicate code o make mmap() usage portable, fixes linux & ranges: support o document the -f option o daemon mode now serves 6 files per child changes in bozohttpd 20090417: o make bozohttpd internally more modular, preparing the way to handle more than one request per process o fix http-auth, set $REMOTE_USER not $REMOTEUSER. also fix cgi-bin with cvsweb, from Holger Weiss <hol...@cis.fu-berlin.de> o fix an uninitialised variable use in daemon mode o fix ssl mode with newer OpenSSL o mmap large files in manageable sizes so we can serve any size file o refactor url processing to handle query strings correctly for CGI from Sergey Katsev at Coyote Point o add If-Modified-Since support, from Joerg Sonnenberger <jo...@netbsd.org> o many more manual fixes, from NetBSD To generate a diff of this commit: cvs rdiff -u -r0 -r1.2.16.1 src/libexec/httpd/CHANGES \ src/libexec/httpd/Makefile.boot cvs rdiff -u -r1.7 -r1.7.14.1 src/libexec/httpd/Makefile cvs rdiff -u -r1.4 -r1.4.16.1 src/libexec/httpd/auth-bozo.c cvs rdiff -u -r1.5 -r1.5.10.1 src/libexec/httpd/bozohttpd.8 cvs rdiff -u -r1.7.8.4 -r1.7.8.4.2.1 src/libexec/httpd/bozohttpd.c cvs rdiff -u -r1.5.8.2 -r1.5.8.2.6.1 src/libexec/httpd/bozohttpd.h cvs rdiff -u -r1.7.8.3 -r1.7.8.3.6.1 src/libexec/httpd/cgi-bozo.c cvs rdiff -u -r1.3 -r1.3.16.1 src/libexec/httpd/content-bozo.c cvs rdiff -u -r1.4 -r1.4.14.1 src/libexec/httpd/daemon-bozo.c cvs rdiff -u -r1.4.8.1 -r1.4.8.1.6.1 src/libexec/httpd/dir-index-bozo.c cvs rdiff -u -r0 -r1.9.16.2 src/libexec/httpd/lua-bozo.c cvs rdiff -u -r0 -r1.7.8.2 src/libexec/httpd/main.c cvs rdiff -u -r0 -r1.1.18.2 src/libexec/httpd/netbsd_queue.h cvs rdiff -u -r0 -r1.2.16.2 src/libexec/httpd/printenv.lua cvs rdiff -u -r1.4 -r1.4.12.1 src/libexec/httpd/ssl-bozo.c cvs rdiff -u -r1.3.8.1 -r1.3.8.1.6.1 src/libexec/httpd/tilde-luzah-bozo.c cvs rdiff -u -r0 -r1.1.4.2 src/libexec/httpd/typescript cvs rdiff -u -r0 -r1.1.1.1.28.2 src/libexec/httpd/debug/Makefile cvs rdiff -u -r0 -r1.2.8.2 src/libexec/httpd/libbozohttpd/Makefile cvs rdiff -u -r0 -r1.3.8.2 src/libexec/httpd/libbozohttpd/libbozohttpd.3 cvs rdiff -u -r0 -r1.1.1.1.28.2 src/libexec/httpd/libbozohttpd/shlib_version cvs rdiff -u -r0 -r1.1.1.1.28.2 src/libexec/httpd/lua/Makefile \ src/libexec/httpd/lua/bozo.lua src/libexec/httpd/lua/glue.c \ src/libexec/httpd/lua/optparse.lua src/libexec/httpd/lua/shlib_version cvs rdiff -u -r0 -r1.2.8.2 src/libexec/httpd/small/Makefile cvs rdiff -u -r0 -r1.2.16.1 src/libexec/httpd/testsuite/Makefile \ src/libexec/httpd/testsuite/html_cmp src/libexec/httpd/testsuite/t1.in \ src/libexec/httpd/testsuite/t1.out src/libexec/httpd/testsuite/t2.in \ src/libexec/httpd/testsuite/t2.out src/libexec/httpd/testsuite/t3.in \ src/libexec/httpd/testsuite/t3.out src/libexec/httpd/testsuite/t4.in \ src/libexec/httpd/testsuite/t4.out src/libexec/httpd/testsuite/t5.in \ src/libexec/httpd/testsuite/t5.out src/libexec/httpd/testsuite/t6.in \ src/libexec/httpd/testsuite/t6.out cvs rdiff -u -r0 -r1.1.1.1.30.2 src/libexec/httpd/testsuite/t10.in \ src/libexec/httpd/testsuite/t10.out cvs rdiff -u -r0 -r1.2.12.1 src/libexec/httpd/testsuite/t7.in \ src/libexec/httpd/testsuite/t7.out src/libexec/httpd/testsuite/t8.in \ src/libexec/httpd/testsuite/t8.out src/libexec/httpd/testsuite/t9.in \ src/libexec/httpd/testsuite/t9.out cvs rdiff -u -r0 -r1.1.1.1.28.2 src/libexec/httpd/testsuite/test-bigfile cvs rdiff -u -r0 -r1.1.1.1.28.2 src/libexec/httpd/testsuite/data/bigfile \ src/libexec/httpd/testsuite/data/bigfile.partial4000 \ src/libexec/httpd/testsuite/data/bigfile.partial8000 cvs rdiff -u -r0 -r1.2.12.1 src/libexec/httpd/testsuite/data/file cvs rdiff -u -r0 -r1.2.16.1 src/libexec/httpd/testsuite/data/index.html Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.