CHANGES revision 1.15
1$eterna: CHANGES,v 1.78 2011/11/18 01:25:11 mrg Exp $ 2 3changes in bozohttpd 20140201: 4 o fix a core dump when requests timeout 5 6changes in bozohttpd 20140102: 7 o update a few content types 8 o add support for directly calling lua scripts to handle 9 processes, from mbalmer@netbsd.org 10 o properly escape generated HTML 11 o add authentication for redirections, from martin@netbsd.org 12 o handle chained ssl certifications, from elric@netbsd.org 13 o add basic support for gzipped files, from elric@netbsd.org 14 o properly escape generated URIs 15 16changes in bozohttpd 20111118: 17 o add -P <pidfile> option, from jmmv@netbsd.org 18 o avoid crashes with http basic auth, from pooka@netbsd.org 19 o add support for REDIRECT_STATUS variable, from tls@netbsd.org 20 o support .mp4 files in the default map 21 o directory indexes with files with : are now displayed properly, from 22 reed@netbsd.org 23 o allow -I option to be useful in non-inetd mode as well 24 25changes in bozohttpd 20100920: 26 o properly fully disable multi-file mode for now 27 o fix the -t and -U options when used without the -e option, broken since 28 the library-ifcation 29 o be explicit that logs go to the FTP facility in syslog 30 o use scandir() with alphasort() for sorted directory lists, from moof 31 o fix a serious error in vhost handling; "Host:.." would allow access to 32 the next level directory from the virtual root directory, from seanb 33 o fix some various non standard compile time errors, from rudolf 34 o fix dynamic CGI content maps, from rudolf 35 36changes in bozohttpd 20100617: 37 o fix some compile issues 38 o fix SSL mode. from rtr 39 o fix some cgi-bin issues, as seen with cvsweb 40 o disable multi-file daemon mode for now, it breaks 41 o return 404's instead of 403's when chdir of ~user dirs fail 42 o remove "noreturn" attribute from bozo_http_error() that was 43 causing incorrect runtime behaviour 44 45changes in bozohttpd 20100509: 46 o major rework and clean up of internal interfaces. move the main 47 program into main.c, the remaining parts are useable as library. 48 add bindings for lua. by Alistair G. Crooks <agc@netbsd.org> 49 o fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566325 50 51changes in bozohttpd 20090522: 52 o avoid dying in daemon mode for some uncommon, but recoverable, errors 53 o close leaking file descriptors for CGI and daemon mode 54 o handle poll errors properly 55 o don't try to handle more than one request per process yet 56 o add subdirs for build "debug" and "small" versions 57 o clean up a bad merge / duplicate code 58 o make mmap() usage portable, fixes linux & ranges: support 59 o document the -f option 60 o daemon mode now serves 6 files per child 61 62changes in bozohttpd 20090417: 63 o make bozohttpd internally more modular, preparing the way 64 to handle more than one request per process 65 o fix http-auth, set $REMOTE_USER not $REMOTEUSER. also fix 66 cgi-bin with cvsweb, from Holger Weiss <holger@CIS.FU-Berlin.DE> 67 o fix an uninitialised variable use in daemon mode 68 o fix ssl mode with newer OpenSSL 69 o mmap large files in manageable sizes so we can serve any size file 70 o refactor url processing to handle query strings correctly for CGI 71 from Sergey Katsev at Coyote Point 72 o add If-Modified-Since support, from Joerg Sonnenberger 73 <joerg@netbsd.org> 74 o many more manual fixes, from NetBSD 75 76changes in bozohttpd 20080303: 77 o fix some cgi header processing, from <thelsdj@gmail.com> 78 o add simple Range: header processing, from <bad@bsd.de> 79 o man page fixes, from NetBSD 80 o clean up various parts, from NetBSD 81 82changes in bozohttpd 20060710: 83 o prefix some function names with "bozo" 84 o align directory indexing <hr> markers 85 o clean up some code GCC4 grumbled about 86 87changes in bozohttpd 20060517: 88 o don't allow "/.." or "../" files 89 o don't write ":80" into urls for the http port 90 o fix a fd leak when fork() fails 91 o make directory indexing mode not look so ugly 92 o build a text version of the manual page 93 o make "make clean" work properly 94 95changes in bozohttpd 20050410: 96 o fix some off-by-one errors from <roland.illig@gmx.de> 97 o properly support nph- CGI 98 o make content maps case insensitive 99 o fix proto header merging to include the missing comma 100 o major source reorganisation; most features are in separate files now 101 o new -V flag that makes unknown virtualhosts use slashdir 102 from <rumble@ephemeral.org> 103 o HTTP/1.x protocol headers are now properly merged for CGI 104 105changes in bozohttpd 20040808: 106 o CGI status is now properly handled (-a flag has been removed) 107 o CGI file upload support works 108 o %xy translations are no longer ever applied after the first '?', 109 ala RFC2396. from lukem 110 o daemon mode (-b) should no longer hang spinning forever if it 111 sees no children. from lukem 112 o new .bzabsredirect file support. from <martin@netbsd.org> 113 o return a 404 error if we see %00 or %2f (/) 114 o don't print 2 "200" headers for CGI 115 o support .torrent files 116 117changes in bozohttpd 20040218: 118 o new .bzredirect file support for sane directory redirection 119 o new -Z option that enables SSL mode, from <rtr@eterna.com.au> 120 o the -C option has been changed to take two explicit options, rather 121 than a single option with a space separating the suffix and the 122 interpreter. ``-C ".foo /path/to/bar"'' should now be written 123 as ``-C .foo /path/to/bar'' 124 o the -M option has been changed like -C and no longer requires or 125 supports a single argument with space-separated options 126 o with -a, still print the 200 OK. from <rtr@eterna.com.au> 127 o with -r, if a .bzdirect file appears in a directory, allow direct 128 access to this directory 129 130changes in bozohttpd 20031005: 131 o fixes for basic authorisation. from <ecu@ipv42.net> 132 o always display file size in directory index mode 133 o add .xbel, .xml & .xsl -> text/xml mappings. from 134 <wiz@danbala.ifoer.tuwien.ac.at> 135 136changes in bozohttpd 20030626: 137 o fix a recent core dump when given no input 138 o add new -r flag that ensures referrer is set to this host 139 o fix several compile time errors with -DNO_CGIBIN_SUPPORT 140 o fix some man page details. from lukem@wasabisystems.com 141 o re-add a missing memset(), fixing a core dump. from lukem 142 o support HTTP basic authorisation, disabled by default. from lukem 143 o print the port number in redirects and errors. from lukem 144 o only syslog the basename of the program. from lukem 145 o add __attribute__() format checking. from lukem 146 o fix cgibin SCRIPT_NAME to have a leading /. from zakj@nox.cx 147 o simplify some code in -C to avoid a core dump. from lukem 148 o add a .css -> css/text entry to the content_map[]. from zakj@nox.cx 149 150changes in bozohttpd 20030409: 151 o -d without DEBUG enabled only prints one warning and continues 152 o one can now define the C macro SERVER_SOFTWARE when building to 153 change the Server: header and CGI variable of the same name 154 o add new -s flag the force logging output to stderr. from zakj@nox.cx 155 o add new -a flag for CGI bin that stops bozohttpd from outputting 156 any HTTP reply, the CGI program must output these. from zakj@nox.cx 157 o new REQUEST_URI and DATE_GMT environment variables for CGI. from 158 zakj@nox.cx 159 o add a "Makefile.boot" that should work with any make program 160 o build on linux again 161 o fix core dumps when using -C 162 163changes in bozohttpd 20030313: 164 o deprecate -r flag; make this the default and silently ignore -r now 165 o add support for file extentions to call CGI programs (from lukem) 166 o add dynamic support to add new content map entries, allowing both 167 new file types and non /cgi-bin CGI programs to be run with the 168 new -C "suffix cgihandler" and -M "suffix type encoding encoding11" 169 options 170 o in -b mode, set the http date after accept() returns, not before we 171 call accept() 172 o in -b mode, bind all addresses found not just the first one 173 o unsupport old hostname API 174 o in -b mode, set the SO_REUSEADDR socket option (lukem) 175 o allow -x (index.html) mode to work with CGI handlers 176 177changes in bozohttpd 20021106: 178 o add .bz2 support 179 o properly escape <, > and & in error messages, partly from 180 Nicolas Jombart <ecu@mariejeanne.net> 181 o new -H flag to hide .* files in directory index mode 182 o fix buffer reallocation when parsing a request, to avoid 183 overflowing the buffer with carriage returns (\r) 184 o do not decode "%XY"-style cgi-bin data beyond the "?" 185 186changes in bozohttpd 5.15 (20020913): 187 o add .ogg support -> `application/x-ogg' 188 o fix CGI requests with "/" in the query part 189 190changes in bozohttpd 5.14 (20020823): 191 o allow -X mode to work for "/" 192 o work on systems without MADV_SEQUENTIAL 193 o make a local cut-down copy of "queue.h" (fixes linux & solaris 194 support at the very least) 195 o portability fixes for pre-ipv6 socket api systems (eg, solaris 7) 196 o portability fixes for missing _PATH_DEFPATH, LOG_FTP and __progname 197 o better documentation on virtual host support 198 199changes in bozohttpd 5.13 (20020804): 200 o support .mp3 files (type audio/mpeg) 201 o use stat() to find out if something is a directory, for -X mode 202 203changes in bozohttpd 5.12 (20020803): 204 o constification 205 o fixes & enhancements for directory index mode (-X) 206 207changes in bozohttpd 5.11 (20020730): 208 o more man page fixes from Thomas Klausner 209 <wiz@danbala.ifoer.tuwien.ac.at> 210 o de-K&R C-ification 211 o fix Date: header for daemon mode 212 o fix core dump when asking for /cgi-bin/ when CGI isn't configured 213 o use a valid Server: header 214 215changes in bozohttpd 5.10 (20020710): 216 - add freebsd support 217 - fix a couple of header typos 218 - many cgi-bin fixes from lukem@netbsd.org 219 - add -T chrootdir and -U user, plus several minor other cleanups 220 with signals and return values. from xs@kittenz.org 221 - add -e that does not clear the environment for -T/-U 222 - fix a formatting error noticed by ISIHARA Takanori <ishit@oak.dti.ne.jp> 223 224changes in bozohttpd 5.09 (20010922): 225 - add a daemon mode 226 - document how to use bozohttpd in netbsd inetd with more than 40 227 connections per minute and also with cgibin 228 - man page fixes from wiz@netbsd.org 229 230changes in bozohttpd 5.08 (20010812): 231 - add directory index generation support (-X) from ad@netbsd.org 232 - add .pa as an alias for .pac 233 - make server software version configurable (RFC) 234 235changes in bozohttpd 5.07 (20010610): 236 - add .png support 237 - new "-x index.html" flag to change default file 238 - new "-p public_html" flag to change default ~user directory 239 - fixes cgi-bin support and more from chuck@research.att.com 240 - add many new content-types, now support most common ones 241 242changes in bozohttpd 5.06 (20000825): 243 - add IPv6 suppor from itojun@iijlab.net 244 - man page fixes from jlam@netbsd.org 245 246changes in bozohttpd 5.05 (20000815): 247 - fix a virtual host bug, from kleink@netbsd.org 248 249changes in bozohttpd 5.04 (20000427): 250 - fix virtual host support; URI takes precedence over Host: 251 252changes in bozohttpd 5.03 (20000427): 253 - fix a bug with chdir() 254 255changes in bozohttpd 5.02 (20000426): 256 - .pac spport from simonb 257 258changes in bozohttpd 5.01 (20000421): 259 - .swf support 260 - virtual hosting support 261