/[hydra]/hydra/ChangeLog
ViewVC logotype

Annotation of /hydra/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.21 - (hide annotations)
Wed Oct 2 13:52:03 2002 UTC (21 years, 6 months ago) by nmav
Branch: MAIN
Changes since 1.20: +4 -0 lines
*** empty log message ***

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

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26