]> granicus.if.org Git - apache/log
apache
22 years agoIt isn't a fatal condition if there is no lockfile name, so switch from
Justin Erenkrantz [Mon, 6 May 2002 22:59:56 +0000 (22:59 +0000)]
It isn't a fatal condition if there is no lockfile name, so switch from
APR_EINVAL to APR_SUCCESS.  (rewritelock_remove already returns SUCCESS in
this case.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94981 13f79535-47bb-0310-9956-ffa450edef68

22 years agoMove mod_deflate from experimental to filters to represent our belief
Justin Erenkrantz [Mon, 6 May 2002 22:23:52 +0000 (22:23 +0000)]
Move mod_deflate from experimental to filters to represent our belief
in its stability.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94979 13f79535-47bb-0310-9956-ffa450edef68

22 years agoUpdate to reflect the release.
Sander Striker [Mon, 6 May 2002 22:14:09 +0000 (22:14 +0000)]
Update to reflect the release.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94978 13f79535-47bb-0310-9956-ffa450edef68

22 years agoProtect us from this dirty hack that gets SysV Sem working again
Aaron Bannert [Mon, 6 May 2002 21:00:50 +0000 (21:00 +0000)]
Protect us from this dirty hack that gets SysV Sem working again
on mod_rewrite. This, along with the original usage of a unix-only
function in mod_rewrite, is a temporary stopgap measure designed only
to workaround limitations in APR's handling of permission attributes.
It shall be removed as soon as that interface is improved.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94972 13f79535-47bb-0310-9956-ffa450edef68

22 years agoGet proxy CONNECT basically working (IE seems to be happy with secure
Jeff Trawick [Mon, 6 May 2002 18:47:22 +0000 (18:47 +0000)]
Get proxy CONNECT basically working (IE seems to be happy with secure
connections).

The to-do of fixing client I/O so it goes through the filters still
remains.  But it will be nice if it will work until somebody gets
around to doing that.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94971 13f79535-47bb-0310-9956-ffa450edef68

22 years agoNote the mod_rewrite hang fix.
Aaron Bannert [Mon, 6 May 2002 18:30:18 +0000 (18:30 +0000)]
Note the mod_rewrite hang fix.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94970 13f79535-47bb-0310-9956-ffa450edef68

22 years agoFix mod_rewrite hang when APR uses SysV Semaphores. Before we were
Aaron Bannert [Mon, 6 May 2002 18:24:03 +0000 (18:24 +0000)]
Fix mod_rewrite hang when APR uses SysV Semaphores. Before we were
silently failing when locking/unlocking the mutex, since httpd
child processes didn't have permissions to access the root-created
semaphore.

PR: 8143

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94969 13f79535-47bb-0310-9956-ffa450edef68

22 years agoAdd unixd_set_global_mutex_perms so we can set permissions on things like
Aaron Bannert [Mon, 6 May 2002 18:19:53 +0000 (18:19 +0000)]
Add unixd_set_global_mutex_perms so we can set permissions on things like
SysV Semaphores in the core and modules.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94968 13f79535-47bb-0310-9956-ffa450edef68

22 years agoAdd some error checking in mod_rewrite for the mutex lock/unlock calls.
Aaron Bannert [Mon, 6 May 2002 18:04:53 +0000 (18:04 +0000)]
Add some error checking in mod_rewrite for the mutex lock/unlock calls.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94967 13f79535-47bb-0310-9956-ffa450edef68

22 years agoUpdated the NetWare make file to match the latest changes
Bradley Nicholes [Mon, 6 May 2002 17:35:39 +0000 (17:35 +0000)]
Updated the NetWare make file to match the latest changes

Submitted by: Jean-Jacques Clar [jjclar@novell.com]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94966 13f79535-47bb-0310-9956-ffa450edef68

22 years agoProtect from buffer overflow when populating a HEAP based cache object.
Bill Stoddard [Mon, 6 May 2002 17:23:49 +0000 (17:23 +0000)]
Protect from buffer overflow when populating a HEAP based cache object.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94965 13f79535-47bb-0310-9956-ffa450edef68

22 years agoFix compile break on Netware.
Bill Stoddard [Mon, 6 May 2002 16:17:49 +0000 (16:17 +0000)]
Fix compile break on Netware.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94964 13f79535-47bb-0310-9956-ffa450edef68

22 years agomod_mem_cache/mod_cache requires APR_HAS_ATOMIC_* feature macros.
Bill Stoddard [Mon, 6 May 2002 16:14:39 +0000 (16:14 +0000)]
mod_mem_cache/mod_cache requires APR_HAS_ATOMIC_* feature macros.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94963 13f79535-47bb-0310-9956-ffa450edef68

22 years agoThis looks complete.
Bill Stoddard [Mon, 6 May 2002 15:31:40 +0000 (15:31 +0000)]
This looks complete.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94962 13f79535-47bb-0310-9956-ffa450edef68

22 years agofix the type of the pointer returned by the hash lookup
Jeff Trawick [Mon, 6 May 2002 14:02:50 +0000 (14:02 +0000)]
fix the type of the pointer returned by the hash lookup

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94961 13f79535-47bb-0310-9956-ffa450edef68

22 years agoCast the constness away when the object is returned to the caller/owner of
Bill Stoddard [Mon, 6 May 2002 13:12:03 +0000 (13:12 +0000)]
Cast the constness away when the object is returned to the caller/owner of
the object.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94960 13f79535-47bb-0310-9956-ffa450edef68

22 years agoFetch the filename to be cached from the file bucket rather than
Bill Stoddard [Mon, 6 May 2002 13:03:28 +0000 (13:03 +0000)]
Fetch the filename to be cached from the file bucket rather than
from the request_rec.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94959 13f79535-47bb-0310-9956-ffa450edef68

22 years agoDone
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

22 years agoBe more tolerant.
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

22 years agoUpdated to work with the DTD.
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

22 years agoAdded several strings.
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

22 years agoReplaced all hard-coded strings with localized versions.
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

22 years agofor 2.0.36: showstoppers = 0;
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

22 years agocleanup old-school backward uses of APR_BRIGADE_CONCAT to use
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

22 years agoAdded DTD.
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

22 years agoRenamed <modulelist> into <modulefilelist>, so as not to clash with <directivesynopsi...
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

22 years agoSimple Makefile for those who prefer make over ant.
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

22 years agoRemoving a field in a core structure (r->boundary) merits a MMN bump,
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

22 years agoAdded <directiveindex>, <moduleindex>, and <modulefilelist>.
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

22 years agoSimplify a bit
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

22 years agoUpdate generated file.
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

22 years agoFix typo.
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

22 years agoRewrite ap_byterange_filter so that it can work with data that does not
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

22 years agoFirst cut of Japanese translation of module docs.
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

22 years agoReformat/rephrase some things.
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

22 years agoAdded an optional function (ap_register_rewrite_mapfunc) which allows
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

22 years agoChanged to a <dl> in warning note to comply with the DTD.
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

22 years agogrr... mod_mem_cache didn't take kindly to that constness fix. So I'm
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

22 years agocache_hash_set was dropping the const qualifier from its return value
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

22 years agomod_mem_cache needs cache_hash.lo in order to link properly
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

22 years agoFix compile break:
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

22 years agoIntroduce a dedicated cache hash adt that does not rely on pools. This
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

22 years agoMention PR 8462 fix
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

22 years agoFix for PR 8462: When tokenizing an unquoted string literal, don't
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

22 years agoTypo in a link.
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

22 years agoRemove autom4te.cache when doing make distclean.
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

22 years agoFix generated httpd.conf to respect layout for LoadModule lines.
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

22 years agoSimplify the cleanup logic a bit. Fix a bug that could leave freed entries
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

22 years agoDon't open for business before the cache objec is fully initialized.
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

22 years agoTypo fix.
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

22 years agoTry to get sitemap up to date. Maybe some day there will be an automated way
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

22 years agoKeep rollin', rollin', rollin'
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

22 years agoBy using _setn instead of _set, this call is setting a pointer to a stack variable
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

22 years agofix a typo
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

22 years agoDone
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

22 years agoWin32: Fix bug in mpm_win32 which allowed multiple threads to access
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

22 years agoMissed a closing tag.
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

22 years agoUpdate the filter documentation to mention AddInput/OutputFilter and
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

22 years agoFurther cleanup of mod_mime docs:
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

22 years agoSome cleanup, cross-referencing, and description additions for mod_mime.
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

22 years agoUpdate transformations.
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

22 years agoBe a little more specific about what Location matches against.
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

22 years agoBring tutorial page updates forward from 1.3, but preserve the "this may be
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

22 years agoPerformance fixes:
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

22 years agoFix some minor formatting issues with ab. Part of this is
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

22 years agoFailed to mentionthe PR in the first pass. This just adds the PR number
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

22 years agoFix a case where an invalid pass phrase is entered and an
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

22 years agowait for worker threads to exit even in graceless termination
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

22 years ago Always build this experimental module (which has no library dependencies).
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

22 years agoDefer starting the listener until we have at least tried to start all the worker
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

22 years agoUpdate prior to bumping the tag
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

22 years agoClose sockets on worker MPM when doing a graceless restart. This should
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

22 years agoEliminate some sprintf calls
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

22 years agoNetWare make files for building experimental module mod_cache and its
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

22 years agoNetWare make files for building experimental modules mod_deflate,
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

22 years agodefault_handler: move the code to handle unusual methods out of the middle
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

22 years agoRevert optimization from circa 2.0.34 that caused very long vhost id's
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

22 years agoReadjusting how the bucket alloc is done for each worker thread. Allocate
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

22 years agoFix the link to the description of the CoredumpDirectory
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

22 years agonote a desirable goal
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

22 years agoSHMCB should not have been using apr_rmm -- it was doing so incorrectly,
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

22 years ago- Sync with modssl 2.8.8-1.3.24
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

22 years agomod_cache doc update (note this is still very primitive)
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

22 years agoEnable mod_mem_cache to be configured to cache open file handle using new
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

22 years agoRemove APR_WANT_SIGNAL from apr_want.h because code must include
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

22 years agoremove_entity should only work on complete cache_objects
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

22 years ago Please, Win32 hackers, review this doc!!! Talk about out of date and
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

22 years ago Worth noting, I guess
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

22 years ago Should correctly build mod_ext_filter, mod_deflate dependant upon zlib,
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

22 years agoForget to update the error messages
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

22 years agoName space protect mod_mem_cache config directives
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

22 years agofinish getting apxs to work with a binary build
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

22 years agoFixing up the distribution and install section of the NetWare make files
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

22 years agoAdded some missing export to the proxy module
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

22 years ago Demote to a minor bump for .36 - those affected by API changes should
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

22 years ago Attach a bugz number
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

22 years agoUpdate prior to bumping the tag
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

22 years agoReplaced a sprintf("%d") with itoa
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

22 years agoShort-circuit out of mod_userdir's translation handler faster on
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

22 years agoUpdated ap_getword_white() to use the same coding style
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