2006-09-10  James Antill  <james@and.org>

	* NEWS: Release 0.99.11

2006-09-10  James Antill  <james@and.org>

	* tools/make_index.in: Use output dirname() for atom/netstr, if they
	aren't defined.

	* tools/make_index.in (cmd_pipe_beg): Fix new make_index code for RHEL3.

2006-09-05  James Antill  <james@and.org>

	* src/and-dir_list2html.c (ex_dir_list2html_process): Tweak output,
	use new version 2 info.

	* src/and-dir_list.c (main): Produce version 2 dir listings, can have
	all the file stat data ... although just the name by default.

	* tools/make_index.in: Cleanup, and don't pass everything to sh. Also
	now produce index.netstr files, by default.

	* tools/dir_list-1.0.css: Add default make_index CSS content.

2006-08-19  James Antill  <james@and.org>

	* src/conf.c (conf_sc_conv_unesc): Add hex escaping to strings.

	* src/httpd_app.c (http_app_hdr_vstr_md5): End header ... duh!

	* src/opt.c (opt_toggle): Add yes/no to toggle.

	* src/httpd_req.c (httpd__req_etag_auto): Generate automatic ETag
	headers based on [[[device], inode], size and mtime].

	* src/and-httpd.c (POPT_TOGGLE_ARG): Toggle all policy options, when
	passed on cmd line.

2006-08-18  James Antill  <james@and.org>

	* tools/make_index.in: Move to dir_list-1.0.css.

	* tools/scons_and_httpd_helpers.py.in (init_builders): Move to 
	f_c-1.0.css.

2006-08-14  James Antill  <james@and.org>

	* tools/SConstruct-tmpl.in: Added example template file for
	autogeneration of directory indexes.

	* src/and-httpd.c (serv_def_conf): Add a default configuration, to make
	the cmd line version even more user friendly.

	* src/httpd_conf_main.h (HTTPD_CONF_DEF_SERVER_NAME): Convert to using
	PACKAGE and VERSION generic autoconf/automake vars.

	* tools/and-httpd.in: Swap /etc HC out for @sysconfdir@, for
	sysconfig/and-httpd.

2006-08-08  James Antill  <james@and.org>

	* tools/mime_types_extra.txt: Add WPF mime/type mappings.

	* conf_tmpl/REDIR: Add examples of things you can do.

	* conf_tmpl/GONE: Add examples of things you can do.

	* conf_tmpl/CONDITION: Add examples of things you can do.

	* conf_tmpl/rm-extra-): Not needed anymore due to
	_fixup-url-pasting.conf

	* conf_tmpl/rm-extra->: Not needed anymore due to
	_fixup-url-pasting.conf

	* conf_tmpl/rm-extra-]: Not needed anymore due to
	_fixup-url-pasting.conf

	* tools/and-httpd.conf: Change auth example to use auto base64'ing
	conf. version.

2006-08-07  James Antill  <james@and.org>

	* src/httpd_app.c (http_app_hdr_vstr_md5): Added function for auto
	base64'ing of MD5 headers (if they are unencoded -- Ie. output from
	md5sum).

	* src/httpd_conf_main.c (httpd__conf_main_policy_http_d1): Add
	basic-single auth, which does convertion to base64 automatically.
	
	* src/base64.c (vstr_x_conv_base64_encode): Add base64 encoder.

2006-07-26  James Antill  <james@and.org>

	* src/httpd_req.c (http_req_content_type): Added mime_type xattr
	support.

2006-07-24  James Antill  <james@and.org>

	* src/opt_serv.c (opt_serv_merge_addrs): Allow changes to (listen ...)
	sections.

2006-07-20  James Antill  <james@and.org>

	* src/httpd.c (http_fin_err_req): Reset the negotiate flag, so we can
	re-negotiate in the error handlering.
	(http_fin_err_req): Restore error_xmsg on 503's etc.

2006-07-18  James Antill  <james@and.org>

	* src/httpd_req.c: Create new file for httpd.c cleanup.

	* src/httpd_parse.c: Create new file for httpd.c cleanup.

	* src/httpd_app.c: Create new file for httpd.c cleanup.

	* src/httpd_conf_main.h (HTTPD_CONF_OUTPUT_KEEPA_HDR): Added 
	keep-alive-header config. option.

	* src/httpd_conf_req.c (httpd__conf_req_d1): Fix vhost_prefix_len
	when assigning into Location:.

	* src/httpd_policy.h (httpd_policy_uri_mod_bwes): Fix code, tests are
	good.
	(httpd_policy_uri_mod_exts): Dito.

	* src/httpd_policy.c (httpd_policy__build_path): Fix <url-*> ops
	when allowing encoded /.
	(httpd_policy__build_path): Fix <dirname> when using vhosts.

2006-07-17  James Antill  <james@and.org>

	* src/match_req.c (httpd_match_request_tst_d1): Fix bug with 
	compiled server-ipv4-cidr.

	* src/match_req.c (httpd_match_request_tst_d1): Fix hdr checks
	for UA/referer.

	* src/match_req.c (httpd_match_request_tst_d1): Fix NULL checks for
	content-type/content-lang.

	* tools/_fixup-url-pasting.conf: Add config. file to fix pasting typos.

	* src/httpd.c (http_fin_err_req): Call match-response, if config.

	* src/match_resp.c (httpd_policy_response): Add code for matching error
	responses.

2006-07-15  James Antill  <james@and.org>

	* src/match_req.c (httpd_policy_request): Split code from
	httpd_conf_main.c

	* src/match_con.c (httpd_policy_connection): Split code from
	httpd_conf_main.c

2006-07-14  James Antill  <james@and.org>

	* src/and-httpd.c (serv_make_bind): Add TCP_CONGESTION support, and
	change ipv4_address to acpt_address for when we get ipv6 support.

	* src/evnt.c (evnt_fd__set_congestion): Add TCP_CONGESTION support.

	* src/vlg.c (vlg__fmt__add_vstr_add_sockopt_s): Add custom formatter for
	string sockopt's.

2006-06-24  James Antill  <james@and.org>

	* NEWS: Release 0.99.9

2006-06-24  James Antill  <james@and.org>

	* src/glibc-strverscmp.h (gnulib_strverscmp): Add gnu libc strverscmp()
	for those times it's needed.

	* src/vlg.c (vlg_size_set): Add a max size, as syslog only does UDP
	and so splits messages.
	(vlg__flush): Implement max message limits, cleanup error handling for
	console output.
	(vlg__flush): Cleanup error handling for console output.
	(vlg__flush): Allow "always native" syslog calls.
	(vlg_sc_bind_mount): Fix bind mounts when _PATH_LOG != /dev/log.

	* src/date.c (date_syslog_yr): Add a syslog date variant that also 
	outputs the current year.

2006-06-18  James Antill  <james@and.org>

	* tools/_io-limiting.conf: Turn limiting on by default, also add
	127.0.0.1/8 to an exception list and allow space for more.

	* scripts/coverage.sh: Remove lndir usage.

	* shtool: Update to latest upstream.

	* src/evnt.c (evnt_limit_add): Remove warning, even though it was fine.

	* tst/tst_httpd_cmd.pl: Added tests for conf.d processing.

	* src/and-conf.d-ls.c (main): Added program to print files that would
	be read by conf.d processing.

2006-06-09  James Antill  <james@and.org>

	* tools/_io-limiting.conf: Change config. so certain networks can easily
	be exempt (default is just localhost).

	* src/httpd.c (http_vlg_def): Fix HTTP/0.9 version logging output.
	(http__err_vlg_msg): Don't output data if we aren't parsing HTTP/0.9
	and a HTTP/0.9 like request came in (because we didn't parse it).

2006-06-02  James Antill  <james@and.org>

	* src/and-dir_list2html.c (main): Fix --output option.

	* src/opt_serv.c (opt_serv__sort_conf_files): Sort leading _ files
	properly, *sigh*.

2006-06-02  James Antill  <james@and.org>

	* NEWS: Release 0.99.8

2006-06-02  James Antill  <james@and.org>

	* src/opt_serv.c (opt_serv_sc_resolve_uid): Allow no username
	(opt_serv_sc_resolve_gid): Allow no gid, fix test for getgrnam return
	value.

	* src/and-dir_filter.c (CSTREQ): Remove, now it's in ex_utils.

	* Documentation/and-httpd.html: Fix old yum information.

	* html/Makefile.am (wwwhtml_DATA): Add a simple index.en.html.

2006-06-01  James Antill  <james@and.org>

	* tools/and-httpd.conf: Fix chroot configuration.

	* tools/and-httpd-syslog2apache-httpd-combined-log
	(parse_syslog_line): Parse years in dates, as output from
	and-httpd-syslog-grep.

	* tools/and-httpd-syslog-grep (grep_syslog_and_httpd_line): Add year
	to syslog date format. Also add skip-year option.
	(grep_syslog_and_httpd_line): Add skip-match option.

	* src/opt_policy.c (opt_policy_sc_conf_parse): Allow multiple policies
	to be changed at once.

	* src/vlg.c (vlg_sc_bind_mount): Try to create the /dev/log in the
	chroot() if it doesn't exist.

2006-05-27  James Antill  <james@and.org>

	* tools/and-httpd-syslog-grep (grep_syslog_and_httpd_line): Add option
	to skip old files.

	* tools/and-httpd_logs.in: Fix the logging scripts to pretty much work
	by default.

	* tools/and-httpd-syslog-grep (grep_syslog_and_httpd_line): Add
	option to skip files that don't exist.
	(grep_syslog_and_httpd_line): Add regexp matching.

2006-05-11  James Antill  <james@and.org>

	* src/cntl.c (cntl__cb_func_acpt_free): unlink the old cntl file when
	we close the socket.

	* tools/and-httpd-status (open): If and-httpd cntl file isn't there,
	don't do anything.

2006-05-09  James Antill  <james@and.org>

	* src/opt_serv.c (opt_serv_sc_make_uintmax): Allow symbolic NONE for
	numbers.

2006-05-05  James Antill  <james@and.org>

	* src/httpd.c (httpd_sc_add_req_hostname): Helper function for the
	request hostname ... also means the output is always lowercase (Ie. 
	redirects).

2006-04-22  James Antill  <james@and.org>

	* src/opt_serv.c (opt_serv__sort_conf_files): Have varying _ levels.

2006-04-20  James Antill  <james@and.org>

	* src/httpd.c (http_parse_quality): Fix type of num_len *sigh*.

2006-04-08  James Antill  <james@and.org>

	* src/opt_serv.c (strsignal): Explicit test for strsignal() to avoid
	uLibcx like braindamage.

	* src/httpd_policy.c (httpd_policy__build_path): <file-path> can only be
	used when not in Location: processing, <Location:> can only be used when
	not in filename processing.
	(httpd_policy__build_path): Add path-full/file-path-full which includes
	vhost data (the later can only be used when not in Location: processing.

	* src/httpd_conf_req.c (httpd__conf_req_d1): Blank vhost_prefix_len when
	dealing moving to url-path in Location: processing.

	* src/httpd.c (http__safe_html_url): Escape " < and > in URLs so XSS
	isn't possible if any client is stupid enough to show the HTML for
	permenant redirects.

	* src/bag.c (strverscmp): Do explicit test, due to uLibc.

2006-04-02  James Antill  <james@and.org>

	* scripts/diff_ex_tst.sh: Add -a for the gzip "binary" files.

2006-03-29  James Antill  <james@and.org>

	* src/httpd.c (http_fin_err_req): Make sure noone can do XSS stuff in
	the html redirect html.

2006-03-28  James Antill  <james@and.org>

	* Documentation/and-httpd.html: Add the uLibc binary and mailing lists.

	* README: Update with info. about the dependancies etc.

2006-03-17  James Antill  <james@and.org>

	* src/httpd_policy.h (HTTPD_POLICY__EI): Cleanup extern inline
	functions and work around netinet extern vars.

	* src/opt_policy.h (OPT_POLICY__EI): Cleanup extern inline
	functions and work around netinet extern vars.

	* src/and-httpd.c (PROC_CNTL_KEEPCAPS): Fix autoconf code for when
	libcap isn't present.

	* src/malloc-check.h (MALLOC_CHECK_STORE): Use seperate name, so timer_q
	can be linked statically.

	* src/malloc-check.h (MALLOC_CHECK_DECL): Don't declare anything
	external when debugging isn't enabled.

	* configure.in (socket_poll): Error if not present.
	(timer_q): Error if not present.

2006-03-07  James Antill  <james@and.org>

	* and-httpd.spec.in: Add the perl-File-Slurp requires in.

	* tools/and-httpd_logs: Fix typo for two digit years.

	* tools/and-httpd-status (prnt_tail): Fix inter. proc. communication
	events.

	* tools/status: Fix configuration for multiple networks.

2006-03-06  James Antill  <james@and.org>

	* NEWS: Release 0.99.7

2006-03-02  James Antill  <james@and.org>

	* src/mime_types.c (mime_types_match): Add optimization on extension
	matching (Ie. html => text/html).

	* src/httpd.c (http_parse_quality): Add simple opt. to quality parsing.

2006-02-28  James Antill  <james@and.org>

	* src/evnt.c (evnt_init): Put the logic in for socket flag inheritance,
	and global system TCP_NODELAY config.
	(evnt_fd_set_nagle): Add function to change nagle/TCP_NODELAY.

2006-02-23  James Antill  <james@and.org>

	* tools/and-httpd.conf: Remove url-remove-query and add 
	allow-HTTP/0.9 false to strictness section.


2006-02-22  James Antill  <james@and.org>

	* src/httpd_conf_main.h (HTTPD_CONF_ALLOW_HTTP_0_9): Config. for
	HTTP/0.9 being allowed or not.

2006-02-21  James Antill  <james@and.org>

	* tools/and-httpd.conf: Explain syslog facility.

	* src/opt_serv.c (opt_serv__conf_d1): Added syslog facility config.

	* Documentation/USER_AGENT_ACCEPT: Add galeon-2.0.0 and IE

2006-02-19  James Antill  <james@and.org>

	* src/evnt.h (evnt___chk_in): Enable SA checking.

	* src/evnt.c (evnt__free1): Track evnt's via. their SA in logging.

	* tools/_io-limiting.conf: Add ability to limit on mozilla prefetching.

	* src/httpd.c (http_app_def_hdrs): Vary on X-Moz.

	* src/httpd.c (http__parse_hdrs): Track X-Moz header.

	* src/httpd.c (httpd__try_fd_encoding): Fix preferring gzip over bzip2.

	* src/evnt.c (evnt_shutdown_w): On shutdown_w(), delete all current
	read data and add POLLIN (for EOF), if possible (much faster shutdown
	on stopped connections).
	(evnt_shutdown_w): Remove work around for 2.4.22-1.2199.4.legacy.npt
	TCP_CORK bug.

2006-02-18  James Antill  <james@and.org>

	* tools/and-httpd.in: Don't pass --mime-types-xtra, as it's in the
	config. file now (and the path was incorrect).

	* tools/_io-limiting.conf: Don't limit on HEAD/OPTION/TRACE methods.

	* src/httpd_policy.h (httpd_policy_uri_mod_name): Don't assume '/'
	characters.
	(httpd_policy_uri_mod_dirn): Don't assume '/' characters.
	(httpd_policy_path_mod_name): Don't assume '/' characters.
	(httpd_policy_path_mod_dirn): Don't assume '/' characters.

	* src/httpd_policy.c (httpd_policy__build_path): Add <lowercase> and
	<uppercase>.

	* src/httpd_conf_req.c (HTTPD__CONF_REDIR): Length must be calculated
	from an absolute URL, so do that first (fix non-absolute url redirect
	content-length's).

	* src/httpd_conf_main.c (httpd_match_request_tst_d1): Do non-case
	sensitive matches against methods.
	(httpd_match_request_tst_d1): tm-dow-eq triggers vary-star.

	* src/httpd_conf_req.c (HTTPD__CONF_REDIR): Fix non-absolute redirect
	message length responses.

	* tools/and-httpd.in: Remove MIME extras file argument, it's in the
	main config. file.

	* src/httpd_conf_main.c (httpd__conf_main_policy_http_d1): Allow
	text/plain redirection messages (nothing should be looking at this
	anyway).

2006-02-12  James Antill  <james@and.org>

	* src/httpd.c (http_fin_err_req): Remove simple	error pages.

	* src/httpd_conf_main.c (httpd_match_request_tst_d1): Added all the
	conditional request headers to be looked at for no-zero length.

	* src/evnt.c (EVNT__POLL_FLGS): Make more user friendly debug for poll
	flags.

	* src/Makefile.am (XTIMER_Q_LDLIBS): Added debug timer_q stuff, from
	1.0.7.

	* src/and-httpd.c (main): Added timer_q_exit() from 1.0.7.

2006-02-10  James Antill  <james@and.org>

	* src/httpd.c (http_parse_host): Always 400 if no host header, even if
	a valid abs-URI.

2006-02-09  James Antill  <james@and.org>

	* src/and-httpd.c (serv_canon_policies): Make sure all policies have a 
	valid document root.

	* src/httpd_conf_main.c (httpd_match_request_tst_d1): Added save/restore
	behaviour for vary header ... so we can change policy for IO limiting
	based on UA/ref/etc. without screwing anything up.

	* src/opt_serv.c (opt_serv_conf_free_beg): Split free'ing up into two
	stages ... needed for limiting.
	(opt_serv_conf_free_end): Dito.

	* src/evnt.c (evnt_limit_timeout_w): Added IO limiting.
	(evnt_limit_timeout_r): Added IO limiting.

2006-02-06  James Antill  <james@and.org>

	* src/httpd_conf_req.c (httpd__conf_req_make_str): Use make_str() for
	xtra_content "strings".
	(httpd__conf_req_d1): Disallow certain edge cases for
	expires/cache-control.

	* src/cntl.c (cntl__cb_func_cntl_acpt_free): Free reference to Acpt
	data.

2006-02-05  James Antill  <james@and.org>

	* Documentation/conf-httpd-main.txt: Add some documentation for
	configuration files.

2006-02-02  James Antill  <james@and.org>

	* src/httpd.c (http_vlg_def): Added method to default logging.

	* src/opt_serv.h (OPT_SERV_X_VSTR): Use opt_serv_sc_make_str().

	* src/opt_serv.c (opt_serv_sc_make_str): Create helper to do string ops,
	append, prepend, assign.
	(opt_serv_sc_make_static_path): Use make_str() internally.

2006-02-01  James Antill  <james@and.org>

	* src/date.c (date__srch): Only allow valid types.

2006-01-31  James Antill  <james@and.org>

	* src/httpd.c (http_app_hdr_conf_vstr): Don't display empty headers.
	(http_app_hdr_vstr_def): Don't display empty headers.
	(http_app_hdr_vstr): Don't display empty headers.

2006-01-19  James Antill  <james@and.org>

	* src/and-ssi.c (ex_ssi_file_attr): Allow virtual indexed files.

	* src/vlg.c (vlg_init): Added formatted numbers.

	* src/and-httpd.c (serv_init): Added formatted numbers.

	* src/and-cntl.c (main): Added formatted numbers.

	* src/and-cntl.c (UI_CMD): Allow commands with an argument.

	* src/evnt.c (evnt_sc_timeout_via_mtime): Allow no timeouts.

2006-01-12  James Antill  <james@and.org>

	* src/opt_serv.h (OPT_SERV_SC_MATCH_INIT): Minor cleanup.

	* src/httpd_conf_req.c (httpd__conf_req_d1): Add match-request to file
	requestion configuration.

	* src/opt_serv.c (opt_serv_sc_tst): Added ELSE generic test.

2005-12-09  James Antill  <james@and.org>

	* src/httpd.c (httpd_serv_add_vhost): Remove front dots before doing
	"www." removal on canonize.

2005-12-01  James Antill  <james@and.org>

	* src/httpd.c (http_parse_req): Account for packets on errors before
	packet completion.
	(httpd_serv__parse_no_req): Account for packets on errors before
	packet completion.

2005-11-29  James Antill  <james@and.org>

	* NEWS: Release 0.99.6

2005-11-29  James Antill  <james@and.org>

	* src/evnt.c (evnt__free2): Add acpt_sa cleanup.
	(evnt_make_acpt_ref): Don't update time.
	(evnt_stats_add): Fix got accounting (was happening to put).

	* src/evnt.h (struct Evnt): Add acpt_sa.

	* err/400.jp.html: Add japanese error page translations.

	* err/400.it.html: Add italian error page translations.

	* err/400.es.html: Add spanish error page translations.

	* src/opt_serv.c (OPT_SERV__RLIM_VAL): Use long's so 86_64 can do
	the right thing.

	* src/httpd.c (http__parse_req_all): Fix minor parsing bug when have
	single blank line between requests on keep-alive.
	(http_parse_req): Test for HEAD method early, so early errors don't
	contain data.
	(http_req_make_path): Make /./ and /../ 403 instead of 400 to be the
	same as path NIL/path encoded.

2005-11-27  James Antill  <james@and.org>

	* scripts/tst-root-run.sh: Same as tst-run.sh, but as root.

	* scripts/coverage.sh: Add coverage script.

	* src/httpd_conf_main.c (httpd__conf_main_policy_http_d1): Move
	HTTP strictness checks into namespaces.

	* src/httpd.c (http_fin_err_req): Allow custom error pages for all but
	redirect errors.
	(http__parse_hdrs): Xtra Message changes.
	(http_parse_host): Xtra Message changes.
	(httpd_serv_add_vhost): Remove dots from the front in canonize.

	* src/httpd.h (struct Http_hdrs): Move Range from multi header to single
	header (didn't parse as a multi header anyway).

	* src/and-cntl.c (cl_timer_con): Fix bug in many connects, where timer
	didn't run.
	(cl_timer_cli): Fix memory bug where timer isn't removed on deletion.
	(cl_init): Add timer_q-1.0.5 workarounds.

	* scripts/conv_err_html2txt.pl (html_to_text): Add non-lynx
	html -> text converter (from jwz).

	* err/400.de.html: Add german error page translations.

	* err/400.fr.html: Add french error page translations.

2005-11-22  James Antill  <james@and.org>

	* src/Makefile.am (CFLAGS): Override CFLAGS to remove -O2 on debug

	* src/httpd.c (httpd__valid_hostname): Do optional extra validity
	checks on hostnames.
	(httpd_valid_url_filename): Fix interface bug when checking hostnames
	as a section of a Vstr.

2005-11-21  James Antill  <james@and.org>

	* src/httpd_conf_req.c (httpd__conf_req_d1): Add 406 type to req conf.
	error types.

2005-11-20  James Antill  <james@and.org>

	* src/httpd.c (http__parse_hdrs): Add 411 checking for
	Transfer-Encoding header.

2005-11-15  James Antill  <james@and.org>

	* src/httpd.c (http__parse_hdrs): Add preference for no content-length
	checking, and use a 411 error instead of a generic 400.

2005-11-08  James Antill  <james@and.org>

	* src/httpd_conf_req.c (httpd__conf_req_d1): Fix spelling of permanent.

	* src/httpd.c (http__resp_len): Calc. real length of response data for
	multipart/byterange responses.

	* src/httpd_err_codes.h (HTTPD_ERR_MSG): Add internal message, so we
	can tell how common errors are generated.
	(HTTPD_REDIR_MSG): Use single redir. macro, with internal message.

2005-11-01  James Antill  <james@and.org>

	* src/and-httpd.c: Move PROC_CNTL defines so they work.

2005-10-26  James Antill  <james@and.org>

	* src/opt_serv.c (opt_serv_sc_rlim_as_num): Added RLIMIT_AS support.
	(opt_serv__conf_d1): Added <max> support to queue listen length.

2005-10-25  James Antill  <james@and.org>

	* tools/scons_and_httpd_helpers.py.in (init_builders): Fix path to have
	-tools on the end.

2005-10-25  James Antill  <james@and.org>

	* NEWS: Release 0.99.5

2005-10-25  James Antill  <james@and.org>

	* tools/_,tools.conf: Add w3c like tools urls.

	* tools/_redirect-index.conf: Seperate the redirect out into a conf.d
	file.

	* tools/scons_and_httpd_helpers.py.in (init_builders): The compress
	builders use the gzip-r script now that you can specify an output file.

	* tools/gzip-r (zip__file): Allow specifying the output name.

	* src/httpd_conf_req.c (httpd__meta_build_path): Add a meta command
	to make the URL absolute immediately after doing a Location:.

	* src/httpd.c (http__try_encoded_content): Remove encoded extension from
	filename on failure.

2005-10-21  James Antill  <james@and.org>

	* src/vlg.c (vlg_pid_file): Add return to pidfile.

	* src/conf.h (conf_parse_num_token): Speed improvement.
	(conf_parse_token): Always reset the copy of sects->num, as it could
	have grown since we stored the token.

	* src/httpd_conf_main.c (httpd__match_iter_nxt): Remove dead code.

2005-10-20  James Antill  <james@and.org>

	* tools/Makefile.am (cronddir): Made gzip-r hourly.

	* src/evnt.c (EVNT__RESOLVE_NAME): Minor performance tweak for addrs
	that are really IPs.

	* src/httpd_conf_main.c (httpd__match_make): Fix bad reference setup,
	leaks Vstr's.

	* src/evnt.c (evnt_poll_add): Work around valgrind uninit errors.

	* tst/tst_httpd_conf.pl: Auto work out max conf files (and fix 8 and 9
	to work together).

	* scripts/tst-run.sh: Added script to run local config.

	* src/date.c (date_localtime): Added function.
	(date_syslog): Changed to use the Date_store, as strftime() is
	horrible to use from a signal handler ... and _slow_ on FC4.

	* tools/and-httpd.in: Use --config-dir

	* src/and-httpd.c (usage): Add --config-dir options.

	* src/opt_serv.c (opt_serv_sc_config_dir): Add internal conf.d
	processing.

	* tools/mime_types_extra.txt: Fix .xml files mime/type

2005-10-18  James Antill  <james@and.org>

	* NEWS: Release 0.99.4

2005-10-18  James Antill  <james@and.org>

	* src/opt_serv.c (opt_serv_sc_append_homedir): Resolve 
	username -> homedir for paths.

	* src/and-httpd.c (serv_cmd_line): Resolve username -> uids before
	calling chroot().

2005-10-17  James Antill  <james@and.org>

	* src/httpd.c (HTTPD_CONF_ZIP_LIMIT_MIN): Add minimum file length for
	trying zipped files.

	* src/httpd.c (http_fin_err_req): Fix fd bug on zero length error
	files.
	(http_fin_err_req): Fix bug on HEAD ops on custom err files.

	* src/httpd_conf_req.c (httpd__conf_req_d1): Add ability to give
	numbers to dynamic expires configurations.

	* src/vlg.c (VLG__SIG_BLOCK_BEG): Don't do anything before we set
	vlg__in_signal.

2005-10-16  James Antill  <james@and.org>

	* src/opt_serv.c (opt_serv__sig_raise_cont): Change _info to _warn.

	* src/httpd.c (http_parse_quality): Fix bug in parsing quality values of
	1.0 and 1.00
	(http_fin_err_req): Fix assert() when outputting gzipped custom error
	pages.

2005-10-15  James Antill  <james@and.org>

	* src/httpd_conf_main.c (httpd__match_find): return failure if there is
	no match list (couldn't happen).
	(httpd__match_find_before): return failure if there is no match
	list (couldn't happen).

	* tools/and-httpd_gzip.in: Use correct path.

	* Documentation/and-httpd_pad.xml: Add a PAD file.

	* src/httpd.c (http__parse_hdrs): Fail if we've got content-type/lang
	but no content-legnth = 0.

	* src/httpd.c (http_fin_err_req): Added more errors that can go through
	FS.
	(http__policy_req): Free current req when a match-request BLOCKs a
	connection.

	* tools/Makefile.am (crond_SCRIPTS): Added cron helpers.

	* err/Makefile.am (err_DATA): Added error pages on FS.

2005-10-14  James Antill  <james@and.org>

	* src/httpd_conf_req.c (httpd__conf_req_d1): Add return code names.

2005-10-11  James Antill  <james@and.org>

	* src/opt_policy.c (opt_policy_sc_conf_parse): Don't allow copy/inherit
	from the current policy.

	* src/httpd_conf_req.c (httpd__conf_req_d1): Add 
	content-language-extension and content-type-extension (renaming
	negotiate-* to *-negotiate, with backwards compat.)

	* src/httpd_conf_req.c (httpd__meta_build_path): Add none bracketed 
	names.

	* src/conf.h (conf_parse_num_token): Allow going to a previous token.

	* src/conf.h (conf_parse_end_token): Fix bug when skipping a lower
	depth than current.

	* src/httpd_conf_main.c (httpd__match_make): Allow positions for
	matches, and ability to add after/before them. Allow stopping of the
	match. Minor opt.

	* tools/Makefile.am (toolsmaindir): Move directory.
	(toolsmain_SCRIPS): Remove extensions.
	(toolsmain_DATA): Rename scons helper module.

2005-10-09  James Antill  <james@and.org>

	* src/opt_serv.c (opt_serv__match_init_tst_d1): Allow hostname
	comparison.
	(opt_serv__conf_d1): Add dumpable.
	(opt_serv_sc_append_cwd): Don't allocate forever.

	* src/httpd_conf_main.c (httpd__conf_main_policy_http_d1): Add explicit
	"off" authentication.
	(httpd__conf_main_policy_http_d1): Move "Server:" configuration to this
	depth.

2005-10-07  James Antill  <james@and.org>

	* src/cntl.c (cntl_pipe_acpt_fds): Add error checking to PDEATHSIG
	setting.

2005-09-29  James Antill  <james@and.org>

	* src/ex_utils.h (O_NOATIME): Add O_NOATIME support, and configuration.

2005-09-22  James Antill  <james@and.org>

	* NEWS: Release 0.99.2

2005-09-20  James Antill  <james@and.org>

	* src/evnt.c (evnt_recv): Make sure readv() goes up, even if we have no
	cached buffers.

	* src/httpd.c (http_response_ok): Always use strong comparison for
	if-match.

	* src/httpd_conf_main.c (httpd__policy_request_d1): Add "tag"s to
	the connection and request structs.

	* tools/and-httpd.conf: Change default config file to include rlimit
	increases, and larger max-connections for root users.

	* tools/make_index.pl: Fix directory names for non-path directories.

2005-09-19  James Antill  <james@and.org>

	* src/evnt.c (evnt__timer_cb_mtime): Allow configurable option of
	instant close on timeout.

	* src/Makefile.am: Move from _DATA to _BIN so things get chmod +x.

2005-09-18  James Antill  <james@and.org>

	* NEWS: Release 0.99.1

2005-09-11  James Antill  <james@and.org>

	* and-httpd.spec.in: Done first real build.

2005-08-30  James Antill  <james@and.org>

	* : Initial import from Vstr

