Paul J. Reder [Tue, 8 Jul 2003 21:21:13 +0000 (21:21 +0000)]
Update the header token parsing code to allow LWS between the token word
and the ':' seperator. [PR 16520]
[submitted: Kris Verbeeck <kris.verbeeck@advalvas.be> and
Nicel KM <mnicel@yahoo.com>]
[Reviewed: <coad@measurement-factory.com> and
Paul J. Reder]
Joshua Slive [Sat, 28 Jun 2003 18:31:58 +0000 (18:31 +0000)]
The decision on the FAQ is basically made: we'll slowly build a new one
for 2.0.
With regard to more colaborative docs, I'm still open to discussion.
Also: remind about the crappy ScriptInterpreterSource doc. As someone
who rarely runs apache under windows, I don't know enough about it to fix
it myself.
Paul J. Reder [Fri, 27 Jun 2003 21:21:02 +0000 (21:21 +0000)]
Correct the code in ap_check_cache_feshness to check max_age, smax_age,
and expires correctly.
Submitted by: Thomas Castelle <tcastelle@generali.fr>
Reviewed and altered by: Paul J. Reder
Joshua Slive [Fri, 27 Jun 2003 18:50:49 +0000 (18:50 +0000)]
LaTeX:
- Change the base font to 10pt. Yes, this is a little smaller than
I prefer for reading a long book, but it makes it much easier to
fit text in tables/examples/lines/etc, and it shrinks the whole
thing by about 100 pages.
- Fix issue with inter-item spacing.
- Change all links to blue (the green was too light, and I don't feel
like figuring out how to fix that with the latex color package)
Paul J. Reder [Wed, 25 Jun 2003 17:25:34 +0000 (17:25 +0000)]
Added a warning to the AcceptMutex directive documentation indicating
that the pthread option can result in a non-responsive server on
systems that can't reclaim a locked mutex from the segfaulted child
holding it. [Paul J. Reder]
Astrid Malo [Sat, 21 Jun 2003 23:33:59 +0000 (23:33 +0000)]
- mention that DocumentRoot is interpreted relativ to ServerRoot if it is
not absolute
- remove description of absolute pathes (beginning with a slash) because
this is valid only for some OS
Jeff Trawick [Fri, 20 Jun 2003 22:53:15 +0000 (22:53 +0000)]
mod_cgid: Eliminate a double-close of a socket. This resolves
various operational problems in a threaded MPM, since on the
second attempt to close the socket, the same descriptor was
often already in use by another thread for another purpose.
Greg Stein [Thu, 19 Jun 2003 21:24:10 +0000 (21:24 +0000)]
Have mod_dav deal with errors that happen during a streamy provider
response.
* mod_dav.c (dav_method_propfind, dav_method_report): if the dav
provider throws an error in the middle of streaming a response,
have mod_dav log an error and abort the connection.
Submitted by: Ben Collins-Sussman <sussman@collab.net>
Greg Stein [Thu, 19 Jun 2003 21:21:15 +0000 (21:21 +0000)]
Fix a crasher introduced on June 3.
* mod_dav.c (dav_method_propfind): the PROPFIND request might not have
a body. Therefore, we cannot dereference 'doc' unconditionally.
Test it to decide what to pass on to dav_begin_multistatus().
Submitted by: Ben Collins-Sussman <sussman@collab.net>,
David Waite <mass@akuma.org>
Reaction to Jeff Trawick's observations that we are double-initializing
dynalinked OpenSSL Engines and Configs. Move the library teardown code
so that it is torn down in the proper order, corresponding to when the
library itself was initialized. And leave a little reminder that some
memory diagnostics would be good if OpenSSL is built for malloc debugging.
Greg Stein [Tue, 17 Jun 2003 17:38:16 +0000 (17:38 +0000)]
Following the previous commit, adjust the actual parameters of
ap_strcmp_match() and ap_strcasecmp_match() to use 'expected' rather
than 'exp' to avoid shadowing the global exp() function.
Joshua Slive [Thu, 12 Jun 2003 19:50:41 +0000 (19:50 +0000)]
LaTeX:
- Add directive index.
- Number the front-matter pages using roman numerals
- Omit any <br/> that ends a block.
- Improve the rendering of <indent> by using a
list environment rather than a minipage.
- Update the TODO list.
Current draft at:
http://www.apache.org/~slive/manual/
Greg Ames [Wed, 11 Jun 2003 17:46:25 +0000 (17:46 +0000)]
core_output_filter: don't split the brigade after a FLUSH bucket if it's the
last bucket. This prevents creating unneccessary empty brigades which may
not be destroyed until the end of a keepalive connection.
Submitted by: Juan Rivera <Juan.Rivera@NO_SPAM.citrix.com>
Joshua Slive [Tue, 10 Jun 2003 20:17:51 +0000 (20:17 +0000)]
Transform <columnspec><column width=".2">... hints to help latex
size tables properly. Also change the html tranforms to ignore this
and add the elements to the dtd.
Jeff Trawick [Sat, 7 Jun 2003 19:50:01 +0000 (19:50 +0000)]
Unix: Handle permissions settings for flock-based mutexes in
unixd_set_global|proc_mutex_perms(). Allow the functions to be
called for any type of mutex.
This resolves a fatal problem with mod_rewrite on systems where
APR uses flock-based mutex.
It simplifies mod_ssl as well, which had special logic to perform
the chown(). It fixed an init error with mod_ssl on systems where
flock is used when the user had no SSLMutex directive.
The Unix MPMs continue to call unixd_set_global|proc_mutex_perms()
only for SysV sems. There is no permission problem with flock-based
accept mutexes since the child init logic for the MPMs is done
prior to switching identity.
Jeff Trawick [Sat, 7 Jun 2003 13:09:10 +0000 (13:09 +0000)]
mod_rewrite: Perform child initialization on the rewrite log lock.
This fixes a log corruption issue when flock-based serialization
is used (e.g., FreeBSD).
Jeff Trawick [Fri, 6 Jun 2003 02:48:55 +0000 (02:48 +0000)]
Don't respect the Server header field as set by modules and CGIs.
As with 1.3, for proxy requests any such field is from the origin
server; otherwise it will have our server info as controlled by
the ServerTokens directive.
Jeff Trawick [Thu, 5 Jun 2003 18:41:49 +0000 (18:41 +0000)]
steal some code from APR intended to allow you to properly switch
between libtool 1.3 and 1.4+... newer libtool doesn't have ltconfig,
so having a stray ltconfig around will confuse some of our config
logic
This also fixes cp failure on FreeBSD since ltconfig and ltmain.sh
are installed with 0400 perms, and when buildconf is run a second time
the cp of those files would fail.
Greg Stein [Tue, 3 Jun 2003 22:09:24 +0000 (22:09 +0000)]
mod_dav improvement: make dav_method_propfind stream its response,
rather than cache every <response> object and send the whole 207 at once.
Note: this patch doesn't affect the mod_dav provider API at all.
Providers still return property results in text-buffers, but mod_dav
then streams them out immediately.
Submitted by: Ben Collins-Sussman <sussman@collab.net>
Reviewed by: gstein, jerenkrantz, sander
* mod_dav.h (dav_walker_ctx): add a brigade field and a scratchpool field.
* mod_dav.c (dav_send_one_response): new helper function to write a
<DAV:response> into a brigade/filter. this code has been factorized
out of dav_send_multistatus.
(dav_begin_multistatus): new factorized helper func; creates brigade
and sends initial <multistatus> tag.
(dav_send_multistatus): create brigade, call dav_begin_multistatus,
and switch all ap_rputs calls to ap_fputs instead. call
dav_send_one_response when looping over response list. use a
subpool when iterating.
(dav_method_propfind): initialize walker ctx's brigade. initialize
ctx's scratchpool as a subpool of r->pool. Send a <multistatus> tag
before calling the provider's walk() function, and a </multistatus>
tag afterwards.
(dav_stream_response): new function, originally based on
dav_add_repsonse. don't build linked list of responses in memory;
just spew each response object into the brigade via
dav_send_one_response(). take an incoming pool argument to do the
temporary allocation and streaming.
(dav_propfind_walker): pass ctx->scratchpool to dav_stream_response,
and clear the pool when finished.