/[hydra]/hydra/ChangeLog
ViewVC logotype

Annotation of /hydra/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations)
Wed Sep 25 06:42:33 2002 UTC (21 years, 6 months ago) by nmav
Branch: MAIN
Changes since 1.4: +3 -0 lines
Cleanups. Added support for 3 argument options in the grammar (I'll probably rewrite it soon). Changed the Alias, ScriptAlias and Redirect options, to use the virtual hosting stuff.

1 nmav 1.2 ** Changes from 0.94.13 to Boas/SMP
2     * Added support for SSL 3.0 and TLS 1.0 protocols.
3     * Added support for multiple CPU's by making the server
4     run over a pool of threads.
5     * Changed the file caching code. The mmap() calls are cached until
6     the mmap list table is full.
7     * Added support for HTTP/1.1 ranges.
8 nmav 1.4 * Added support for hostname based virtual hosting.
9 nmav 1.5 Also changed the semantics of Alias, ScriptAlias and Redirect, to
10     take advantage of the host based virtual hosting.
11 nmav 1.3 * Added support for the TCP_CORK tcp option in linux.
12     * Cleaned up the CGI handling (gunzip, indexer are treated as CGIs)
13 nmav 1.5 * Enhanced grammer to handle 3 and 4 argument options.
14 nmav 1.2
15 nmav 1.1 ** Changes from 0.94.12 to 0.94.13
16     * Change many instances of log_error_mesg + exit to DIE macro
17     * Change all instance of log_error_mesg (without exit) to WARN macro
18     * do a much better job of checking return values from malloc and
19     especially strdup.
20     * check results of calling umask and getrlimit
21     * server_s is no longer a global int
22     * check results of fork via switch instead of if (fork())
23     * check for getopt.h and include it if found
24     * remove unused #defines, and add WARN macro, and replace
25     many calls to log_error_mesg(..) with WARN macro
26     * fix bug in get_commonlog_time where time_offset calculation was
27     the opposite of what it should be ('-' and '+' were swapped)
28     * fix compatability bug with old and newer versions of flex/yacc
29     * add check for AC_FUNC_MMAP to configure.in
30     * fix really lame thinko in normalize_path, which would prepend the
31     results of earlier calls to results from later calls
32     * Add MaxConnections, a configuration directive which allows the
33     user to specify the maximum number of connections that Boa will
34     accept concurrently.
35     * add SERVER_ADDR and REQUEST_URI to environment of CGI
36     * handle SIGBUS during writes of data that has been memory mapped
37     * minor optimization in select.c that prevents DEAD requests from
38     being added to the block set
39     * fix bug in CGI environment script_name - closes sf.net bug #576725
40     * make 'status' variable local to requests.c, not local to every file
41     by forgetting to declare 'extern' in globals.h :-|
42     * make getsockname non-fatal, and do it every time because we may
43     need it for the CGI
44     * some minor refactoring optimizations in hash.c
45    
46     ** Changes from 0.94.11 to 0.94.12
47     * Renamed Changelog ChangeLog, and moved up to top-level directory
48     * Next 3 items due in part or whole thanks to
49     Liam Widdowson
50     * when printf'ing a pid type, force to int, because it could be
51     something else on other platforms. Should probably change it to
52     a long, and use that.
53     * backported chroot commandline support from 0.95
54     * backported support for strdup, strstr, alphasort, and scandir
55     from 0.95
56     * Fixed src/Makefile.in -- it didn't remove index_dir.o
57     * backport create_temporary_file from 0.95
58     (instead of using tmpnam)
59     * Allow non-standard date format 31 September 2000 23:59:59 GMT
60     Patch by Landon Curt Noll
61     * Skip whitespace before HTTP/major.minor
62     Adapted patch from Landon Curt Noll
63     * open /dev/null first thing (affects chrooting)
64     * properly handle sigalrm -- use sigalrm_flag and sigalrm_run
65     instead of handling the signal in the signal handler
66     * update manpage slightly
67     * send 400 BAD Request when resource does not start with '/'
68     * add grp.h to boa.h's includes -- remove from boa.c and config.c
69     * removed duplicate header includes from boa.c, config.c, get.c,
70     ip.c, request.c, response.c
71     * factor out creating the server socket and dropping privs
72     into create_server_socket and drop_privs
73     * type all functions in boa.c (except main) as static
74     * set umask after opening /dev/null
75     * tie stdin/stdout to /dev/null before commandline parse
76     * removed old, unused chroot code
77     * move builds_needs_escape earlier in the startup
78     * move fork later in the startup
79     * type all c_set_* as static in config.c
80     * don't bother trying to change uid/gid (or error if the
81     requested uid/gid doesn't exist) if not UID 0
82     * return more appropriate error code when foo.html gives
83     access denied, but foo.html.gz gives some other error
84     (essentially report error associated with foo.html, not foo.html.gz)
85     * send NOT Implemented when an unknown method is attempted
86     * always attempt a 32k read right before close
87     (stopgap until blackhole can be merged)
88     * allow more than 1 space in logline between method, resource,
89     and http version
90     * don't use inline functions
91     * update configure.in so that autoconf 2.50 doesn't complain (as much)
92     * properly use VPATH and srcdir according to autoconf docs
93     * change curly-braces to parentheses in Makefilein
94     * use $^ instead of manually listing the dependencies in Makefile.in
95     * remove tests section in Makefile.in
96     * write tags not TAGS in Makefile.in
97     * Add gethostbyname and inet_aton to function checks
98     * Add code from 0.95 which checks for socket in -lsocket,
99     inet_aton in -lresolv, and gethost{by}name in -lnsl
100     * Also remove broken bc-based "how big is an unsigned int" checks:
101     assume minimum of 32 bits and check in escape.c at runtime.
102     * Added new file: README.chroot.solaris, based on a
103     modified version by Liam Widdowson
104     * Add check_struct_for.m4, which allows us to check a structure
105     for a member (found at http://www.gnu.org/software/ac-archive/
106     authored by Wes Hardaker
107     * Call "aclocal -I ." to rebuild aclocal.m4
108     * Using new check-struct-for-member autoconf macro, check
109     for tm_gmtoff and tm_zone in struct tm -- useful in
110     portability tests for localtime.
111     * Also check sockaddr_in for structure sin_len so we can set
112     it properly.
113     * index_dir.c (which ends up in boa_indexer) can now be compiled
114     with USE_LOCALTIME, and if so, it will report the local time
115     using the timezone name. Otherwise it uses UTC time and UTC
116     timezone designation.
117     * fix buglet in mmap_cache.c which shows up when under
118     heavy load by many different files.
119     Found and squashed by Michal Kara
120     * normalize paths on Aliases, log files, server root, dirmaker
121     This makes sure that paths are 'absolute'
122     * don't generate DOCUMENT_ROOT or SERVER_ROOT,
123     CGIs have no business knowing that information
124     * if CGI, chdir to the cgi's root path
125     Bug found by Matt Callaway
126     * remove ChrootPath and PidFile directives from the parser
127     (they aren't used anyway)
128     * keep track of maximum file descriptor in use to optimize call
129     to select()
130     * apply IPv6 patch from Jari Korva
131     * optimize keep-alive copy data routine
132     * try to use memcpy instead of strcpy/strcat in more places (alias.c)
133     * update .depend file
134     * use fcntl + GET_FL to get a file descriptor's flags, then
135     add or remove only the bits we want to set. This prevents
136     accidentally setting or unsettings bits we don't have anything
137     to do with inadvertantly. (removed, at least temporarily.
138     Show me a system where it is needed -- LRD)
139     * make sure to call FD_ZERO when we handle a restart
140     * in read.c, don't call boa_perror on read failure -- socket is
141     dead or messed up anyway, no reason to try to write to it.
142     * explicit .SUFFIXES in Makefile.in
143     * boa.objdump target added
144     * use @MAKE_SET@ (for when $(MAKE) != "make")
145     * add -Wundef -Wwrite-strings -Wredundant-decls -Winline to GCC_FLAGS
146     * change Paul Phillips' and Larry Doolittle's emails in source
147     * add --disable-debug, --enable-profile, --with-dmalloc, and --with-efence
148     * test for failed-but-return-was-successful setuid:
149     http://www.securityfocus.com/bid/1322
150     * use _exit not exit in CGI child
151     * always place new keepalive request on blocked list, we can't be
152     sure of the state of the active list, and since enqueue places
153     things at the *front* of the list, it doesn't do us much good
154     to place the new request on the active list anyway.
155     * update some Copyright statements for 2002
156     * When comparing the uri to an alias, only compare if
157     the uri length is greater than or equal to the length of the alias
158     * in init_script_alias, make sure to check for document_root before
159     trying to use it
160     * script_name is now just a copy of the request, rather
161     than some complicated variation on the pathname
162     * change the way the CGI environment is handled.
163     Now, it is allocated at request allocation time, and exists
164     throughout the life of the structure.
165     * check memory allocations, etc.. when creating the static
166     CGI environment and when making new CGI environment variables
167     * wait until process_option_end to call unescape_uri, clean_pathname,
168     and translate_uri
169     * remove debian package information
170     * move RedHat packaging information to contrib
171     * remove tests -- they weren't usable anyway
172     * add some new hash routines, and use djb2 (a variant on a
173     hash algorithm popularized by Dan J. Bernstein)
174     * a side-effect of the new hash routines is a bugfix,
175     involving negative return values from hash routines.
176     This has been fixed.
177     * add a routine, show_hash_stats, which is called with other
178     statistical output via sigalarm
179     * remove some duplicate prototypes from config.c
180     * make simple_itoa take an unsigned int
181     * try to make NOBLOCK handling in compat.h compatible with Solaris
182     * make sure to update current_time before calling signal handlers
183     * alter primary loop to make sure that select gets called even
184     when there are requests that are not blocking, and call fdset_update
185     and process_requests (when appropriate) after signal handlers but
186     before select to make sure that blocked requests are still handled
187     by select after a sighup. (Thanks to Karl Olsen)
188     * pull select loop into select.c
189     * poll server socket once per active connection
190     * add send_r_service_unavailable and use it when appropriate
191     * state uptime in seconds at normal program termination
192     * include sys/fcntl.h if it is found by configure
193     * fix POST bug where a content-length < 0 would cause Boa to
194     consume its full share of CPU until killed
195     Bug report by Landon Curt Noll
196     * add CGIPath configuration variable
197     based upon a patch by Landon Curt Noll
198     * add function boa_atoi, which wraps atoi, but does not
199     accept negative values. Additionally, it checks to make sure
200     the converted value and the original value are the same, avoiding
201     issues like "124.3" -> "123" and "123abc" -=> "123".
202     Either a value is an int or it isn't - no middle ground.
203     * use boa_atoi to convert content-length from client.
204     * add new #define - SINGLE_POST_LIMIT_DEFAULT, which defines
205     (in bytes) the *default* single_post_limit.
206     * single_post_limit is now in bytes.
207     * when adding aliases, only "normalize" paths that start
208     with "./" - this is a departure from previous behavior
209     * add "?" to the list of characters that it is safe to leave unescaped
210     * clean up Makefile.in of no-longer-pertinent comments
211     * add send_r_bad_gateway and use it
212     * tie stderr to either cgi_log_fd or devnullfd - either way
213     make sure stderr is a valid filehandle before cgi execution
214     * cgi_env is no longer allocated, it's part of the struct now
215     * fix bug in CgiPath logic
216     * when unable to allocate memory for an environment variable, log it
217     * add clear_common_env, which de-allocates the cgi_common_env stuff
218     [NEVER USE THIS outside of a terminal signal handler!]
219     * don't be so wasteful of memory in normalize_path
220     * adapted fix for alias expansion from Brieuc Jeunhomme
221    
222     ** Changes from 0.94.10.1 to 0.94.11
223     * use LIBS in Makefile.in (which propagates from autoconf)
224     * properly free memory allocated by scandir in index_dir.c
225     * rearrange some header files and includes
226     * on reads and writes, don't check for -1, check for < 0
227     * include fix by William Meadows
228     for escape.c which fixes segfaults due to improper allocation
229     * above fix by William Meadows no longer needed;
230     escape.c and escape.h rewritten by Larry Doolittle -- requires
231     at least 32 bit words, but is correct (jdn's 1st attempt was faulty)
232    
233     ** Changes from 0.94.10 to 0.94.10.1
234     * Actually update the SERVER_VERSION in src/defines.h
235    
236     ** Changes from 0.94.9 to 0.94.10
237     * Fixes escaping rules
238     * Fixes segfault when directory_index is undefined and
239     directory needs to be generated
240     * adds dummy signal handlers for SIGUSR1 and SIGUSR2 (Closes SF #425921)
241     * Update documentation regarding mime.types (Closes Debian #69991)
242     * Make sure documentation builds (Closes Debian #110818)
243    
244     ** Changes from 0.94.8.3 to 0.94.9
245     * src/Makefile.in updated to take CFLAGS, LIBS, and LDFLAGS
246     from autoconf
247     * Update escaping rules with latest RFC
248     * unescape_uri skips fragments and also stop parsing at '?'
249     * Don't accept fd over FD_SETSIZE in request.c:get_request
250     * use backported documentation from 0.95
251     * make sure POST fd gets closed even on client cancel
252     * use backported index_dir.c from 0.95
253     * support subdirectories in ScriptAlias directories
254     * add SinglePostLimit (int, in Kilobytes) to config system
255     * check for ENOSPC on body write
256     * use environment variable TMP (or "/tmp" if not available),
257     and chdir there when boa exits.
258     * add 1-time-only hack to make a 32kB read at the end of a request
259     on POST or PUT
260     * close unused file descriptors (/dev/null in boa.c, and the
261     unused part of the pipes call in cgi.c)
262     * made Makefile.in VPATH happy
263    
264     ** Changes from 0.94.8.2 to 0.94.8.3
265     * Move unescape_uri *before* clean_pathname to prevent
266     encoding of / and .. in pathname
267     * wrap execution of GUNZIP in cgi.c with #ifdef GUNZIP
268     * stop parsing when fragment found in URL ('#')
269    
270     ** Changes from 0.94.8.1 to 0.94.8.2
271     * close pipes[1] in child and generate HTTP_REFERER environment
272     variable in cgi.c
273     * Minor changes to the Debian package
274    
275     ** Changes from 0.94.8 to 0.94.8.1
276     * Change umask call from (umask(0600)) to (umask(~0600))
277    
278     ** Changes from 0.94.7 to 0.94.8
279     * Fix major thinko in temp file permissions
280     * unlink temporary file immediately following creation
281     * implement maximum # of active connections at 10 less than RLIMIT_NOFILE
282     to avoid or eliminate crashes resulting from running out of
283     file descriptors
284     * Fix thinko in POST
285    
286     ** Changes from 0.94.6 to 0.94.7
287     * STDIN and STDOUT are now tied to /dev/null
288     * sets PATH_MAX to 2048 if not defined (for Hurd)
289     * core dumps (should never happen) would be located in /tmp
290     * alter behavior when select gets a EBADF
291     * add translation for the \" char -> &quot;
292     * remove use of sys_errlist. Use perror.
293     * better makedist.sh (still a stupid program though)
294    
295     ** Changes from 0.94.5 to 0.94.6
296     * Removed doc++ commenting
297     * Removed erroneous debugging statments
298     * Move some stuff out of config.c (read_config_file) to boa.c
299     * Altered some of fixup_server_root()
300     * Bug fix in get.c re: automatic gunzip
301     * Added some stubs for chroot code (*not* ready yet)
302    
303     ** Changes from 0.94.4 to 0.94.5
304     * Alteration of most of the comments and such for doc++ use
305     * Fixed buffer overflow in alias.c
306     * Fixed buffer underflow in util.c
307    
308     ** Changes from 0.94.3 to 0.94.4
309     * Better escaping of data to user, both for HTTP headers and HTML body
310     * Proper escaping of output in CGI example perl scripts
311    
312     ** Changes from 0.94.0 to 0.94.2
313     * Fixed obnoxious pipeline bug
314     * Fixed (sorta) a compilation/core bug for *BSD systems
315     Original code by Thomas Neumann
316     * Moved to GPLv2
317     * Changed manpage to section 8
318     * boa.sgml now references a .png file instead of evil .gif
319    
320     ** Changes from 0.93.19.2 to 0.94.0
321     * Added UseGMT to the configuration parser
322     * util.c commonlog now logs in Apache-style commonlog time format
323     * Remove SO_SNDBUF on-start message
324    
325     ** Changes from 0.93.19 to 0.93.19.2
326     * Changed to combined log (from NCSA access_log format) ala Drew Streib
327     * Altered POST cgi code to handle bug in Netscape
328     * SO_SNDBUF changes by Larry
329    
330     ** Changes from 0.93.17.2 to 0.93.19 (all 0.93.18.x changes inclusive)
331     * Update of some copyright statements for 99
332     * Replacement of sprintf with strlen/memcpy or strcpy/strcat
333     wherever possible
334     * Significant rearrangement in alias.c, minor functional differences
335     (some CGI environment variables handled differently)
336     * Removal of die function. Replace with log_err_mesg and exit.
337     * initial IPv6 stubs and support
338     * Move #include "config.h" to top of boa.h where it will do some good
339     * Stubs and functions for strstr and strdup
340     * Seperation of buffer code into it's own file
341     * Significant changes to cgi.c et al (cgi_header.c, etc...)
342     * Speed patches by removal of "extra" calls to time(): Use global variable!
343     * pipelining changes... it works now.
344     * require content-length from clients (ala rfc1945)
345     * alter body_read and body_write to work more efficiently with known content-length
346     * move read(2) part to *after* parsing...
347     * added support for additional header message in send_redirect_temp
348     * change use of NO_ZERO_FILL_LENGTH to offsetof() use
349     * Remove SO_REUSEADDR setting on each client socket, Paul Saab
350     * Avoid SO_SNDBUF setting if possible
351     * Large quantities of otherwise not-insignificant changes
352    
353     ** Changes from 0.93.17.2 to 0.93.17.3
354     * Put on-the-fly directories back in, stripped down from the 0.92 version
355     * Fixed DocumentRoot, ServerAdmin and ServerName null-value handling in
356     CGI environment generation
357     * Fixed argument order in Script* directives (bug introduced in 0.93.17.2)
358     * Got rid of MAX_CGI_VARS because it was not being used consistently, or
359     for that matter, at all, really.
360     * Added some more FASCIST_LOGGING to cgi.c
361     * Minor mmap patch by LRD for request.c
362    
363     ** Changes from 0.93.17.1 to 0.93.17.2
364     * Added "Listen" directive for server bind address, as most recently
365     suggested by David N. Welton
366     * Put virtualhost feature in, was experimental in 0.92q
367    
368     ** Changes from 0.93.16.2 to 0.93.17.1
369     * New config file parser (supposed to be more maintainable) (LRD)
370     * Support for "|command" and ":host:port" syntax for logfiles (untested) (LRD)
371    
372     ** Changes for the 0.93 version **
373     * Huge quantities of changes
374     * keepalive Bugfix in 0.93.16.2 by Jon Nelson
375     report by Craig Silverstein of Google fame.
376     * patch for config.h by Craig Silverstein
377     * fixed "Parent Directory" problem in boa_indexer for title "/"
378     (Debian bug #36165)
379     * More Craig Silverstein
380     modifications, namely:
381     ErrorLog (if omitted, print to stderr)
382     DocumentRoot (if omitted, can only server user-dir files)
383     DirectoryIndex (if omitted, always use DirectoryMaker)
384     MimeTypes (if omitted, don't load -- users can use AddType instead)
385    
386    
387     ** Changes from v0.92o to v0.92p **
388    
389     * Documented misbehavior of CGI, SIGHUP, short aliases, stale dircache.
390     * Documented how to patch signals.c for use on SunOS.
391     * Closed file descriptor leak when redirecting a bare directory URL to
392     one with an appended "/".
393     * Closed potential file descriptor leak if errors encountered generating
394     on-the-fly index.
395     * Cleaned up include file handling to be simultaneously compatible with
396     Linux, SunOS, HP-UX, and AIX.
397     * Supress message body for codes 302, 400, 403, 404, 500, and 501 if
398     incoming request is "HEAD".
399    
400     ** Changes from v0.91 to v0.92o **
401     (0.92o released 27 December, 1996)
402    
403     * Maintenance handover from Paul Phillips to Larry Doolittle
404     * Changed (char)NULL to '\0'
405     * Cleaned up signal handler prototypes in signals.c
406     * Modified handling of CGI environment variable PATH_TRANSLATED,
407     should now work the same as NCSA.
408     * More conservative buffer size in add_cgi_env()
409     * Build argv list for a CGI script according to spec
410     * Speedup process_header_line, eliminate potential memory leak
411     * Occasional spelling fixes and lint removal
412     * Added REMOTE_PORT env var for CGI scripts, to allow easy ident lookups
413     * Changed rfc822 time format
414     * Log timeouts and broken connections
415     * Fix mime suffix handling for filenames with multiple "."s
416     * Initialize conn->time_last, fixes bug with rapid-fire connections
417     * Performance tweak to req_write()
418     * Changed http_version from float to char[8]
419     * Rewrote on-the-fly directory generation; it works now
420     * Added user configurable dircache directory in boa.conf
421     * Fixed "simple" response bugs, including incorrect CGI handling
422     * Keepalive (HTTP/1.1 draft) support, mostly by Jon Nelson
423     * Close data_fd in 304 Not Modified flow of control
424     * Switch socket flags to non-blocking before cgi handoff
425     * Try to handle errno properly in the face of multiple errors
426     * Close fd's of all other transactions before cgi handoff
427     * Move real work for sighup and sigchld out of signal handler
428     * Fix free(req->cgi_env) in request.c
429     * Response message cleanup - better match to HTML-2.0 DTD
430     * Experimental Virtual Host code from Russ Nelson
431     * Expand buffer for escaped URI in init_get()
432     * SIGTERM triggers lame duck mode until all pending transactions complete
433     * Close and unlink temp file for POST in parent process
434    
435     ** Changes from v0.90 to v0.91 **
436    
437     * Cleaned up main while loop
438     * Optimized request line parsing
439     * Added state machine for header reads -- necessary to deal wtih
440     possibility of obtaining header data in multiple reads. This
441     also allows interactive use of server.
442     * Added 500/501 return codes for various conditions
443    
444     ** v0.90 **
445    
446     * Initial release
447    

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26