]>
granicus.if.org Git - apache/log
Bill Stoddard [Mon, 6 May 2002 12:42:36 +0000 (12:42 +0000)]
Done
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94958
13f79535 -47bb-0310-9956-
ffa450edef68
Ben Laurie [Mon, 6 May 2002 12:04:56 +0000 (12:04 +0000)]
Be more tolerant.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94957
13f79535 -47bb-0310-9956-
ffa450edef68
patrikj [Mon, 6 May 2002 11:56:42 +0000 (11:56 +0000)]
Updated to work with the DTD.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94956
13f79535 -47bb-0310-9956-
ffa450edef68
patrikj [Mon, 6 May 2002 10:05:29 +0000 (10:05 +0000)]
Added several strings.
Tried to group strings according to usage.
Tried to comment where strings are used.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94955
13f79535 -47bb-0310-9956-
ffa450edef68
patrikj [Mon, 6 May 2002 10:04:30 +0000 (10:04 +0000)]
Replaced all hard-coded strings with localized versions.
Some clean ups.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94954
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Mon, 6 May 2002 09:21:41 +0000 (09:21 +0000)]
for 2.0.36: showstoppers = 0;
for 2.0.37: showstoppers = 1;
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94953
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Mon, 6 May 2002 09:11:50 +0000 (09:11 +0000)]
cleanup old-school backward uses of APR_BRIGADE_CONCAT to use
APR_BRIGADE_PREPEND instead, plus optimize away a bunch of repetitive
brigade destructions/creations by hanging onto ctx->saved even after
we empty it out.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94952
13f79535 -47bb-0310-9956-
ffa450edef68
patrikj [Mon, 6 May 2002 08:35:22 +0000 (08:35 +0000)]
Added DTD.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94951
13f79535 -47bb-0310-9956-
ffa450edef68
patrikj [Mon, 6 May 2002 08:31:44 +0000 (08:31 +0000)]
Renamed <modulelist> into <modulefilelist>, so as not to clash with <directivesynopsis>/<modulelist>.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94949
13f79535 -47bb-0310-9956-
ffa450edef68
patrikj [Mon, 6 May 2002 08:25:03 +0000 (08:25 +0000)]
Simple Makefile for those who prefer make over ant.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94948
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Mon, 6 May 2002 08:21:10 +0000 (08:21 +0000)]
Removing a field in a core structure (r->boundary) merits a MMN bump,
unfortunately. They got 2 GAs out of the old MMN.
Reviewed by: Cliff Woolley
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94947
13f79535 -47bb-0310-9956-
ffa450edef68
patrikj [Mon, 6 May 2002 08:19:07 +0000 (08:19 +0000)]
Added <directiveindex>, <moduleindex>, and <modulefilelist>.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94946
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Mon, 6 May 2002 08:14:52 +0000 (08:14 +0000)]
Simplify a bit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94945
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Mon, 6 May 2002 07:54:35 +0000 (07:54 +0000)]
Update generated file.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94944
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Mon, 6 May 2002 07:54:16 +0000 (07:54 +0000)]
Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94943
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Mon, 6 May 2002 07:43:40 +0000 (07:43 +0000)]
Rewrite ap_byterange_filter so that it can work with data that does not
have a predetermined C-L - such as data that passes through mod_include.
Previously, these requests would generate 416 since when the byterange
filter ran, r->clength would be 0. r->clength is only guaranteed to
be valid after C-L filter is run, but we need C-L to run after us so
that our data can have a proper C-L returned. So, we need to rearrange
the code so that we can deal with this case.
Highlights:
- Remove r->boundary since it is possible to have this self-contained in
boundary's ctx. (May require MMN bump?)
- Remove call to parse_byteranges in ap_set_byterange since this would
wrongly return -1 for dynamic responses. We have to wait until we
see EOS to call parse_byteranges.
- Move bound_head computation inside the num_parts == 2 check.
- Change a NULL brigade check to APR_BRIGADE_EMPTY
- Move the 416 error return to after we've run through all ranges and
found none of them to be valid.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94942
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Mon, 6 May 2002 07:18:44 +0000 (07:18 +0000)]
First cut of Japanese translation of module docs.
These files don't play nicely with current transformation scripts yet.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94941
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Mon, 6 May 2002 05:25:52 +0000 (05:25 +0000)]
Reformat/rephrase some things.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94940
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Mon, 6 May 2002 03:10:24 +0000 (03:10 +0000)]
Added an optional function (ap_register_rewrite_mapfunc) which allows
third-party modules to extend mod_rewrite's "int:" internal RewriteMap
functionality.
Concept by: Tahiry Ramanamampanoharana <nomentsoa@hotmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94939
13f79535 -47bb-0310-9956-
ffa450edef68
patrikj [Mon, 6 May 2002 01:22:31 +0000 (01:22 +0000)]
Changed to a <dl> in warning note to comply with the DTD.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94937
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Mon, 6 May 2002 01:10:24 +0000 (01:10 +0000)]
grr... mod_mem_cache didn't take kindly to that constness fix. So I'm
reverting it and will just have to live with the warning for now. FirstBill,
what's The Right Way to fix this? Should we drop all the const qualifiers
in there, or should cache_hash_set() return a const void * and mod_mem_cache
should cast away the const, or what?
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94936
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Mon, 6 May 2002 00:58:47 +0000 (00:58 +0000)]
cache_hash_set was dropping the const qualifier from its return value
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94935
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Mon, 6 May 2002 00:58:16 +0000 (00:58 +0000)]
mod_mem_cache needs cache_hash.lo in order to link properly
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94934
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Sun, 5 May 2002 22:28:03 +0000 (22:28 +0000)]
Fix compile break:
mod_mem_cache.c: In function `cleanup_cache_mem':
mod_mem_cache.c:251: too many arguments to function `cache_hash_first'
make[4]: *** [mod_mem_cache.slo] Error 1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94933
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Sat, 4 May 2002 19:54:39 +0000 (19:54 +0000)]
Introduce a dedicated cache hash adt that does not rely on pools. This
cures a storage leak when garbage collecting expired entries out of the
hash table. cache_hash is just apr_hash with some of the function removed
and reimplemented to use malloc/free in place of apr_pool calls.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94932
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sat, 4 May 2002 06:14:04 +0000 (06:14 +0000)]
Mention PR 8462 fix
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94930
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sat, 4 May 2002 06:10:59 +0000 (06:10 +0000)]
Fix for PR 8462: When tokenizing an unquoted string literal, don't
consume a ')' that immediately follows it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94929
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Sat, 4 May 2002 01:52:34 +0000 (01:52 +0000)]
Typo in a link.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94923
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Fri, 3 May 2002 21:22:03 +0000 (21:22 +0000)]
Remove autom4te.cache when doing make distclean.
We can't specify it in DISTCLEAN_TARGETS because it is a directory.
Perhaps we could modify DISTCLEAN_TARGETS to delete dirs too, but
that's outside the scope of what Thom (or I) want to deal with now.
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94922
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Fri, 3 May 2002 21:09:05 +0000 (21:09 +0000)]
Fix generated httpd.conf to respect layout for LoadModule lines.
PR: 8170
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94921
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Fri, 3 May 2002 20:13:57 +0000 (20:13 +0000)]
Simplify the cleanup logic a bit. Fix a bug that could leave freed entries
the cache hash table.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94920
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Fri, 3 May 2002 19:09:28 +0000 (19:09 +0000)]
Don't open for business before the cache objec is fully initialized.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94919
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Fri, 3 May 2002 18:44:49 +0000 (18:44 +0000)]
Typo fix.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94918
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Fri, 3 May 2002 18:43:26 +0000 (18:43 +0000)]
Try to get sitemap up to date. Maybe some day there will be an automated way
to do this...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94917
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Fri, 3 May 2002 05:50:40 +0000 (05:50 +0000)]
Keep rollin', rollin', rollin'
Though the streams are swollen,
Keep them dogies rollin', Rawhide!
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94915
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Thu, 2 May 2002 22:03:58 +0000 (22:03 +0000)]
By using _setn instead of _set, this call is setting a pointer to a stack variable
in the hash entry. Once initialize_module() returns, the key pointer in the
hash entry is invalid. This causes a fault the next time that the hash entry
key is checked. Calling the _set() version will store a copy of the key which
has the same lifetime as the hash table entry.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94914
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Thu, 2 May 2002 20:16:34 +0000 (20:16 +0000)]
fix a typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94912
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Thu, 2 May 2002 20:00:17 +0000 (20:00 +0000)]
Done
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94911
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Thu, 2 May 2002 19:54:07 +0000 (19:54 +0000)]
Win32: Fix bug in mpm_win32 which allowed multiple threads to access
the same scoreboard slot across graceful restarts.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94910
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Thu, 2 May 2002 17:53:14 +0000 (17:53 +0000)]
Missed a closing tag.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94908
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Thu, 2 May 2002 17:52:21 +0000 (17:52 +0000)]
Update the filter documentation to mention AddInput/OutputFilter and
DEFLATE.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94907
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Thu, 2 May 2002 17:46:35 +0000 (17:46 +0000)]
Further cleanup of mod_mime docs:
- Shorten up the summary a little.
- Remove some cross-references where the link is already in the directive text.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94906
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Thu, 2 May 2002 15:10:28 +0000 (15:10 +0000)]
Some cleanup, cross-referencing, and description additions for mod_mime.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94905
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Thu, 2 May 2002 14:37:13 +0000 (14:37 +0000)]
Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94904
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Thu, 2 May 2002 14:34:36 +0000 (14:34 +0000)]
Be a little more specific about what Location matches against.
PR: 8569
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94903
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Thu, 2 May 2002 14:28:52 +0000 (14:28 +0000)]
Bring tutorial page updates forward from 1.3, but preserve the "this may be
out of date" warning.
PR: 8696
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94902
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Thu, 2 May 2002 03:19:44 +0000 (03:19 +0000)]
Performance fixes:
* eliminate some copying of sub-parts of the content type in analyze_ct()
* take advantage of the fact that we know the lengths of those sub-parts
in find_ct() to avoid having to recompute their length for concatenation
The charset handling code needs the same type of optimization eventually.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94900
13f79535 -47bb-0310-9956-
ffa450edef68
Paul J. Reder [Wed, 1 May 2002 21:17:18 +0000 (21:17 +0000)]
Fix some minor formatting issues with ab. Part of this is
in reference to PR 8544, the rest I noticed while testing
the PR fix. [Paul J. Reder]
Submitted By: Carlo Marcelo Arenas Belon
Reviewed By: Paul J. Reder
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94898
13f79535 -47bb-0310-9956-
ffa450edef68
Paul J. Reder [Wed, 1 May 2002 20:03:14 +0000 (20:03 +0000)]
Failed to mentionthe PR in the first pass. This just adds the PR number
to the CHANGES file. (PR 8320)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94897
13f79535 -47bb-0310-9956-
ffa450edef68
Paul J. Reder [Wed, 1 May 2002 19:28:52 +0000 (19:28 +0000)]
Fix a case where an invalid pass phrase is entered and an
error message is given, but the prompt is not shown again.
This left the user in an ambiguous state.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94896
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 1 May 2002 16:05:59 +0000 (16:05 +0000)]
wait for worker threads to exit even in graceless termination
(we already have code to make them exit sooner now)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94892
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 1 May 2002 15:23:13 +0000 (15:23 +0000)]
Always build this experimental module (which has no library dependencies).
Build failure reported by Jerry Baker to dev@httpd
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94890
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Wed, 1 May 2002 15:06:44 +0000 (15:06 +0000)]
Defer starting the listener until we have at least tried to start all the worker
threads. We want to get the workers in the pool of available threads ASAP
to keep perform_idle_server_maintenance from thrashing and starting too
many processes prematurely. The code before this patch would dribble workers
into the worker pool over an extended period of time and this prevented
perform_idle_server_maintenance from accurately deciding when new processes
were needed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94889
13f79535 -47bb-0310-9956-
ffa450edef68
Sander Striker [Wed, 1 May 2002 10:37:42 +0000 (10:37 +0000)]
Update prior to bumping the tag
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94888
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Wed, 1 May 2002 07:15:39 +0000 (07:15 +0000)]
Close sockets on worker MPM when doing a graceless restart. This should
resolve some segfaults see when doing such restarts.
(Justin tweaked the palloc/memset in favor of calloc.)
Submitted by: Aaron Bannert
Reviewed by: Greg Ames, Sander Striker, Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94886
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Wed, 1 May 2002 06:41:36 +0000 (06:41 +0000)]
Eliminate some sprintf calls
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94885
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Tue, 30 Apr 2002 22:16:51 +0000 (22:16 +0000)]
NetWare make files for building experimental module mod_cache and its
associated support modules.
Submitted by: Jean-Jacques Clar [jjclar@novell.com]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94884
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Tue, 30 Apr 2002 21:54:53 +0000 (21:54 +0000)]
NetWare make files for building experimental modules mod_deflate,
mod_example and support utilities ab, htdbm and logresolve
Submitted by: Guenter Knauf [eflash@gmx.net]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94883
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Tue, 30 Apr 2002 20:12:26 +0000 (20:12 +0000)]
default_handler: move the code to handle unusual methods out of the middle
of the hot path without using goto.
suggested by: Roy Fielding
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94882
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Tue, 30 Apr 2002 17:10:12 +0000 (17:10 +0000)]
Revert optimization from circa 2.0.34 that caused very long vhost id's
to be unusable with mod_ssl.
PR: 8572
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94881
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Tue, 30 Apr 2002 14:32:07 +0000 (14:32 +0000)]
Readjusting how the bucket alloc is done for each worker thread. Allocate
the bucket once per thread rather than on every request. This change
increases our performance significantly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94880
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 30 Apr 2002 14:20:29 +0000 (14:20 +0000)]
Fix the link to the description of the CoredumpDirectory
directive in the server-wide document.
PR: 8643
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94879
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Tue, 30 Apr 2002 06:57:22 +0000 (06:57 +0000)]
note a desirable goal
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94877
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Tue, 30 Apr 2002 06:48:45 +0000 (06:48 +0000)]
SHMCB should not have been using apr_rmm -- it was doing so incorrectly,
for one thing. But it just plain doesn't need it. Rip it out to avoid
segfaulting.
Submitted by: Aaron Bannert
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94876
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Tue, 30 Apr 2002 03:47:31 +0000 (03:47 +0000)]
- Sync with modssl 2.8.8-1.3.24
- Also a minor change to add more useful error
logging for shmcb startup failures
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94875
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 30 Apr 2002 03:41:45 +0000 (03:41 +0000)]
mod_cache doc update (note this is still very primitive)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94874
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 30 Apr 2002 03:25:12 +0000 (03:25 +0000)]
Enable mod_mem_cache to be configured to cache open file handle using new
directive option: CacheEnable fd / will enable caching fds. If for some
reason the fd cannot be cached, the directive will effectively morph into
CacheEnable mem /
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94873
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Tue, 30 Apr 2002 01:29:11 +0000 (01:29 +0000)]
Remove APR_WANT_SIGNAL from apr_want.h because code must include
apr_signal.h in order to get consistent definitions.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94872
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 30 Apr 2002 00:06:16 +0000 (00:06 +0000)]
remove_entity should only work on complete cache_objects
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94871
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 29 Apr 2002 21:42:52 +0000 (21:42 +0000)]
Please, Win32 hackers, review this doc!!! Talk about out of date and
horribly stale. A dry run report would be a great thing for feedback.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94870
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 29 Apr 2002 19:55:49 +0000 (19:55 +0000)]
Worth noting, I guess
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94869
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 29 Apr 2002 19:53:55 +0000 (19:53 +0000)]
Should correctly build mod_ext_filter, mod_deflate dependant upon zlib,
and change the license-add code for openssl+zlib based on the newest
changes to a global LICENSE for all bundled components.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94868
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 29 Apr 2002 19:44:47 +0000 (19:44 +0000)]
Forget to update the error messages
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94867
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 29 Apr 2002 19:09:20 +0000 (19:09 +0000)]
Name space protect mod_mem_cache config directives
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94866
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 29 Apr 2002 18:09:02 +0000 (18:09 +0000)]
finish getting apxs to work with a binary build
it now picks up any necessary ld environment variables from
the envvars file when invoking "httpd -l" to verify that
mod_so was included in the build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94865
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Mon, 29 Apr 2002 15:10:20 +0000 (15:10 +0000)]
Fixing up the distribution and install section of the NetWare make files
Submitted by: Guenter Knauf
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94863
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Mon, 29 Apr 2002 14:35:48 +0000 (14:35 +0000)]
Added some missing export to the proxy module
Submitted by: Guenter Knauf
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94862
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 29 Apr 2002 12:51:31 +0000 (12:51 +0000)]
Demote to a minor bump for .36 - those affected by API changes should
be a very small subset of modules. Here are the afflicted types & fns;
apr_explode_time -> apr_time_exp_tz
apr_explode_localtime -> apr_time_exp_lt
apr_get_groupname -> apr_group_name_get
deprecated apr_lock_t, apr_os_lock_t and fns, but the warnings
have been there a while so no sympathy.
added dav_hooks_search_t and DASL Search functions.
added apr_cmdtype_e *type arg to mod_cgi opt fn ap_cgi_build_command.
added proxy_fixups hook and ap_proxy_ssl_disable, and
optional fn ssl_engine_disable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94859
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 29 Apr 2002 12:30:42 +0000 (12:30 +0000)]
Attach a bugz number
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94858
13f79535 -47bb-0310-9956-
ffa450edef68
Sander Striker [Mon, 29 Apr 2002 08:35:47 +0000 (08:35 +0000)]
Update prior to bumping the tag
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94857
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Mon, 29 Apr 2002 08:05:37 +0000 (08:05 +0000)]
Replaced a sprintf("%d") with itoa
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94856
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Mon, 29 Apr 2002 07:45:43 +0000 (07:45 +0000)]
Short-circuit out of mod_userdir's translation handler faster on
non "/~*" requests
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94855
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Mon, 29 Apr 2002 07:20:46 +0000 (07:20 +0000)]
Updated ap_getword_white() to use the same coding style
(and optimizations) as ap_getword()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94854
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Mon, 29 Apr 2002 06:59:20 +0000 (06:59 +0000)]
Updating my vote on the worker MPM
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94853
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Mon, 29 Apr 2002 06:56:44 +0000 (06:56 +0000)]
Document this weekend's worker MPM changes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94852
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 29 Apr 2002 02:36:10 +0000 (02:36 +0000)]
Fix spelling/typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94851
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Mon, 29 Apr 2002 01:57:39 +0000 (01:57 +0000)]
Removed some code from the mutex-protected block in ap_queue_pop().
If the worker thread synchronization is working properly, it's not
necessary to set these fields to NULL after removing an element from
the queue, and it's IMO more important to have a shorter code path
leading up to the mutex_unlock. I left in support for NULLing the
fields when debugging, though.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94850
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Mon, 29 Apr 2002 01:03:17 +0000 (01:03 +0000)]
Because mod_imap's handler runs on every request in the default
configuration, rearrange the code to keep it from allocating a few
pages worth of local variables on the stack on requests that don't
use imagemaps
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94849
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Sun, 28 Apr 2002 23:44:13 +0000 (23:44 +0000)]
What did I do today?
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94848
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Sun, 28 Apr 2002 23:41:25 +0000 (23:41 +0000)]
Don't install *.in config files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94847
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Sun, 28 Apr 2002 23:28:52 +0000 (23:28 +0000)]
Rename the worker_stack_interrupt_all() function as worker_stack_terminate().
Also, broadcast a signal after we set the terminate flag on the worker stack.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94846
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sun, 28 Apr 2002 23:12:35 +0000 (23:12 +0000)]
Removed the "not_full" condition variable and associated conditional
logic from the file descriptor queue, now that we can rely on the
idle worker reference count to keep the listener from trying to
push connections into a full queue
Reviewed by: Aaron Bannert (concept)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94845
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Sun, 28 Apr 2002 23:10:26 +0000 (23:10 +0000)]
Remove unused variable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94844
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Sun, 28 Apr 2002 23:05:15 +0000 (23:05 +0000)]
Some more threadpool MPM changes:
- Add a "state" variable to the worker_wakeup_info struct. This is
used to make sure that we act on the correct signal, and to know when
to shut down a worker thread.
- Fix the call when the worker thread waits for a connection to use
the new state variable and use mutexes around the cond_wait() call.
- Change the interrupt_all() call to set the WORKER_TERMINATED state.
- Add two AP_DEBUG_ASSERT() to make sure that we aren't waking up
a worker thread before it is idle.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94843
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Sun, 28 Apr 2002 22:32:17 +0000 (22:32 +0000)]
Clarify an incorrect statement about why we're purposfully putting
the signal inside of a mutex.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94842
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Sun, 28 Apr 2002 22:25:16 +0000 (22:25 +0000)]
Some threadpool fixes:
- We don't need the listener_blocked flag, just check if the element
we're adding makes the stack non-empty.
- When we are terminated, return APR_EOF; catch this event in the
worker thread and the listener thread.
- When shutting down, always signal a potential listener thread.
- Wait to signal the listener thread until after we add the worker
element to the stack.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94841
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Sun, 28 Apr 2002 22:13:32 +0000 (22:13 +0000)]
Detect APR_EINTR from ap_queue_pop() and avoid calling
ap_queue_info_set_idle() more than once at a time per worker thread.
This fixes an assert coredump.
Submitted by: Aaron Bannert
Reviewed by: Brian Pane
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94840
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Sun, 28 Apr 2002 21:35:12 +0000 (21:35 +0000)]
When we signal a condition variable, we need to own the lock that
is associated with that condition variable. This isn't necessary
for Solaris, but for Posix it is.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94839
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Sun, 28 Apr 2002 21:09:36 +0000 (21:09 +0000)]
Fix a bug in the mod_status display caused by some uninitialized fields.
Prep for taking mpm_winnt to multi-process...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94838
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Sun, 28 Apr 2002 20:26:09 +0000 (20:26 +0000)]
Style cleanup (remove tabs, fix alignment).
Submitted by: Thom May <thom@planetarytramp.net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94837
13f79535 -47bb-0310-9956-
ffa450edef68