/[hydra]/hydra/ChangeLog
ViewVC logotype

Annotation of /hydra/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (hide annotations)
Mon Sep 30 17:16:53 2002 UTC (18 years, 11 months ago) by nmav
Branch: MAIN
Changes since 1.14: +2 -1 lines
Added support for multiple HIC threads.

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26