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