/[hydra]/hydra/ChangeLog
ViewVC logotype

Annotation of /hydra/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.16 - (hide annotations)
Mon Sep 30 18:18:52 2002 UTC (19 years, 2 months ago) by nmav
Branch: MAIN
Changes since 1.15: +2 -0 lines
Some cleanups in server version string generation.

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26