]> granicus.if.org Git - apache/log
apache
23 years agochurn_output should return the value of ap_pass_brigade
Doug MacEachern [Fri, 24 Aug 2001 17:17:35 +0000 (17:17 +0000)]
churn_output should return the value of ap_pass_brigade

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

23 years agoPoint to the new FAQ.
Joshua Slive [Fri, 24 Aug 2001 17:08:25 +0000 (17:08 +0000)]
Point to the new FAQ.

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

23 years agoRemove the old FAQ.
Joshua Slive [Fri, 24 Aug 2001 17:07:36 +0000 (17:07 +0000)]
Remove the old FAQ.

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

23 years agoEliminate a cache_handle leak. cache_handle is now allocated out of the
Bill Stoddard [Fri, 24 Aug 2001 17:01:21 +0000 (17:01 +0000)]
Eliminate a cache_handle leak. cache_handle is now allocated out of the
request pool.

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

23 years agoEliminate compile warning.
Bill Stoddard [Fri, 24 Aug 2001 16:57:13 +0000 (16:57 +0000)]
Eliminate compile warning.

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

23 years agoMake the worker MPM shutdown and restart cleanly. This also
Ryan Bloom [Fri, 24 Aug 2001 16:49:39 +0000 (16:49 +0000)]
Make the worker MPM shutdown and restart cleanly.  This also
cleans up some race conditions, and gets the worker using
pools more cleanly.

Submitted by: [Aaron Bannert <aaron@clove.org>]

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

23 years agomod_mem_cache
Jeff Trawick [Fri, 24 Aug 2001 16:46:43 +0000 (16:46 +0000)]
mod_mem_cache

allow it to be enabled

don't segfault if we don't have/need a lock

clear up several compile warnings

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

23 years agoUninstall the filter if the caching layer declines the cache request.
Bill Stoddard [Fri, 24 Aug 2001 16:33:10 +0000 (16:33 +0000)]
Uninstall the filter if the caching layer declines the cache request.

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

23 years agoCleanup a few compile warnings...
Bill Stoddard [Fri, 24 Aug 2001 15:15:57 +0000 (15:15 +0000)]
Cleanup a few compile warnings...

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

23 years agoFix a seg fault.
Bill Stoddard [Fri, 24 Aug 2001 15:14:43 +0000 (15:14 +0000)]
Fix a seg fault.

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

23 years agoAnother style improvement.
Joshua Slive [Fri, 24 Aug 2001 13:48:53 +0000 (13:48 +0000)]
Another style improvement.

Submitted by: Rich Bowen

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

23 years agoAPR returns APR_EOF, not EOF...
Jeff Trawick [Fri, 24 Aug 2001 13:14:19 +0000 (13:14 +0000)]
APR returns APR_EOF, not EOF...

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

23 years agotemporarily back out the buffering of .var files while folks
Jeff Trawick [Fri, 24 Aug 2001 11:35:58 +0000 (11:35 +0000)]
temporarily back out the buffering of .var files while folks
have a chance to get APR ungetc working properly on buffered
files

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

23 years agoprotect const-ness of variant->file_name by using ap_strchr_c() instead
Jeff Trawick [Fri, 24 Aug 2001 10:40:04 +0000 (10:40 +0000)]
protect const-ness of variant->file_name by using ap_strchr_c() instead
of strchr()

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

23 years agossl_var_lookup() is enabled
Doug MacEachern [Fri, 24 Aug 2001 06:58:00 +0000 (06:58 +0000)]
ssl_var_lookup() is enabled
apr optional functions do not need to be unregistered
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agofix bogus include recursion error when q->uri and rr->uri are both:
Doug MacEachern [Fri, 24 Aug 2001 06:47:35 +0000 (06:47 +0000)]
fix bogus include recursion error when q->uri and rr->uri are both:
"INTERNALLY GENERATED file-relative req"

PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoapr_os_thread_current() call needs #if APR_HAS_THREADS protection
Doug MacEachern [Fri, 24 Aug 2001 06:34:26 +0000 (06:34 +0000)]
apr_os_thread_current() call needs #if APR_HAS_THREADS protection
PR:
Obtained from:
Submitted by:    Justin Erenkrantz <jerenkrantz@ebuilt.com>
Reviewed by:

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

23 years agofix prototype
Doug MacEachern [Fri, 24 Aug 2001 06:22:09 +0000 (06:22 +0000)]
fix prototype

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

23 years agoimplement CRYPTO_set_id_callback
Doug MacEachern [Fri, 24 Aug 2001 06:15:39 +0000 (06:15 +0000)]
implement CRYPTO_set_id_callback
PR:
Obtained from:
Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>
Reviewed by: dougm

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

23 years agochange APR_LOCKALL to APR_INTRAPROCESS for crypto locks
Doug MacEachern [Fri, 24 Aug 2001 05:31:51 +0000 (05:31 +0000)]
change APR_LOCKALL to APR_INTRAPROCESS for crypto locks
PR:
Obtained from:
Submitted by: Justin Erenkrantz <jerenkrantz@ebuilt.com>
Reviewed by:

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

23 years agoSanitize all the wacky indentation in this block prior to commiting
Cliff Woolley [Fri, 24 Aug 2001 04:50:49 +0000 (04:50 +0000)]
Sanitize all the wacky indentation in this block prior to commiting
the real fix.  No functional change.

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

23 years agoonly set the crypto locking callback if mpm is threaded
Doug MacEachern [Fri, 24 Aug 2001 04:16:57 +0000 (04:16 +0000)]
only set the crypto locking callback if mpm is threaded
get rid of some warnings introduced by the original patch
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years ago Add the config of the ForceLanguagePriority directive, since we seem
William A. Rowe Jr [Fri, 24 Aug 2001 04:16:29 +0000 (04:16 +0000)]
  Add the config of the ForceLanguagePriority directive, since we seem
  to agree on what it does.  My last question is where do I force this
  behavior without tons of extra filesystem/cpu consumption?

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

23 years agoImplement CRYPTO_set_locking_callback() for mod_ssl
Doug MacEachern [Fri, 24 Aug 2001 04:08:04 +0000 (04:08 +0000)]
Implement CRYPTO_set_locking_callback() for mod_ssl
PR:
Obtained from:
Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>
Reviewed by: dougm

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

23 years ago Will I ever get my str*cmp semantics right? Not at this hour...
William A. Rowe Jr [Fri, 24 Aug 2001 03:45:21 +0000 (03:45 +0000)]
  Will I ever get my str*cmp semantics right?  Not at this hour...

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

23 years ago My initial changes failed to accomodate this faux entry.
William A. Rowe Jr [Fri, 24 Aug 2001 03:40:18 +0000 (03:40 +0000)]
  My initial changes failed to accomodate this faux entry.
  If you didn't see any <Directory > blocks working right, try
  this cvs update.

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

23 years agobuffer .var maps to avoid asking the kernel for one byte at a
Jeff Trawick [Fri, 24 Aug 2001 03:04:44 +0000 (03:04 +0000)]
buffer .var maps to avoid asking the kernel for one byte at a
time

note that a system trace of .var map processing still shows an
extra read() after we hit EOF the first time; we could make
use of the EOF flag in APR to avoid the read() or play with
mod_negotiation

Suggested by: Marc Slemko

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

23 years ago This flag is no more
William A. Rowe Jr [Fri, 24 Aug 2001 03:02:57 +0000 (03:02 +0000)]
  This flag is no more

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

23 years agoSomebody please get me a copy editor.
Joshua Slive [Fri, 24 Aug 2001 02:24:54 +0000 (02:24 +0000)]
Somebody please get me a copy editor.

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

23 years ago Revert this patch. It indicates some fundamental brokenness with the
William A. Rowe Jr [Fri, 24 Aug 2001 01:41:56 +0000 (01:41 +0000)]
  Revert this patch.  It indicates some fundamental brokenness with the
  apr_filepath_root() fn, which should simply return '/' for an absolute
  path on (most) unix, and advance the path pointer to the first non-'/'
  character  [if only Win32 and others were so simple ;-]

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

23 years agoI don't know if this is the Right Way, but it certainly does make things
Cliff Woolley [Fri, 24 Aug 2001 01:26:31 +0000 (01:26 +0000)]
I don't know if this is the Right Way, but it certainly does make things
work better right now.  httpd-test is much much happier with this patch
(ie, we can serve pages again :)  I'm still seeing issues with mod_include,
but that's probably a different problem... will investigate.

Submitted by: Doug MacEachern

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

23 years ago I'm still not 100% certain on this test. Regardless, it doesn't impact
William A. Rowe Jr [Fri, 24 Aug 2001 00:59:08 +0000 (00:59 +0000)]
  I'm still not 100% certain on this test.  Regardless, it doesn't impact
  Unix, and this was the bug that Jeff's (none the less correct) fix masked.

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

23 years agofix what would seem to be a serious problem in
Jeff Trawick [Fri, 24 Aug 2001 00:47:09 +0000 (00:47 +0000)]
fix what would seem to be a serious problem in
split_and_pass_pretag_buckets(): the retcode is not
specified on one of the paths

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

23 years agosupport "SSLVerifyClient optional_no_ca"
Doug MacEachern [Fri, 24 Aug 2001 00:09:30 +0000 (00:09 +0000)]
support "SSLVerifyClient optional_no_ca"

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

23 years agofix fubar with recent commit to ap_core_translate()
Jeff Trawick [Thu, 23 Aug 2001 23:49:41 +0000 (23:49 +0000)]
fix fubar with recent commit to ap_core_translate()

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

23 years agoprevent double lookup of ssl::verify::error
Doug MacEachern [Thu, 23 Aug 2001 23:43:45 +0000 (23:43 +0000)]
prevent double lookup of ssl::verify::error

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

23 years agosc->szPassPhraseDialogPath is now constified, so we have to use
Cliff Woolley [Thu, 23 Aug 2001 22:37:00 +0000 (22:37 +0000)]
sc->szPassPhraseDialogPath is now constified, so we have to use
ap_strchr_c instead of strchr (which == ap_strchr on my system).

Submitted by: Ryan Bloom

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

23 years ago Fix my typo (I invented the silly constant, you would expect me to recall it.)
William A. Rowe Jr [Thu, 23 Aug 2001 22:19:49 +0000 (22:19 +0000)]
  Fix my typo (I invented the silly constant, you would expect me to recall it.)

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

23 years ago Increase security in core.c by testing (as we merge the path) that the
William A. Rowe Jr [Thu, 23 Aug 2001 22:17:19 +0000 (22:17 +0000)]
  Increase security in core.c by testing (as we merge the path) that the
  URI does not go above the DocumentRoot (as defined by the OS, not by
  the URI specification), and give us the true name.

  When we are done, note the name is canonical for directory_walk.

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

23 years ago Whoops. To explain, we won't dup filename unless it really didn't match
William A. Rowe Jr [Thu, 23 Aug 2001 21:58:07 +0000 (21:58 +0000)]
  Whoops.  To explain, we won't dup filename unless it really didn't match
  in the first place.  We are about to abuse test_filename, so don't try
  using that copy.

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

23 years ago Start with the presumption that canonical_filename is not likely to be set.
William A. Rowe Jr [Thu, 23 Aug 2001 21:56:36 +0000 (21:56 +0000)]
  Start with the presumption that canonical_filename is not likely to be set.
  Therefore we will canonicalize it when it doesn't match filename.

  The next optimization should take the path common to canonical_filename
  and filename, and start merging filename from there for canonicalization.

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

23 years ago Another spot we are certain of the canonical_filename
William A. Rowe Jr [Thu, 23 Aug 2001 21:21:17 +0000 (21:21 +0000)]
  Another spot we are certain of the canonical_filename

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

23 years ago We already extract e for subprocess_env, and set SECURE_SERVER_PORT
William A. Rowe Jr [Thu, 23 Aug 2001 21:17:38 +0000 (21:17 +0000)]
  We already extract e for subprocess_env, and set SECURE_SERVER_PORT
  for real.

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

23 years ago Why two ifdef blocks? This is simpler to read
William A. Rowe Jr [Thu, 23 Aug 2001 21:16:05 +0000 (21:16 +0000)]
  Why two ifdef blocks?  This is simpler to read

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

23 years agoAnother small faq change.
Joshua Slive [Thu, 23 Aug 2001 21:06:02 +0000 (21:06 +0000)]
Another small faq change.

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

23 years ago Two cases we are certain of canonical correctness
William A. Rowe Jr [Thu, 23 Aug 2001 21:05:42 +0000 (21:05 +0000)]
  Two cases we are certain of canonical correctness

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

23 years ago Add a canonical_filename value (should remain the r->filename identity)
William A. Rowe Jr [Thu, 23 Aug 2001 21:03:44 +0000 (21:03 +0000)]
  Add a canonical_filename value (should remain the r->filename identity)
  so we can tell if a 3rd party module broke the canonical form of the
  filename by not calling apr_filepath_merge().

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

23 years agowrong url
Joshua Slive [Thu, 23 Aug 2001 21:02:55 +0000 (21:02 +0000)]
wrong url

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

23 years ago Better doc of ap_server_root_relative()
William A. Rowe Jr [Thu, 23 Aug 2001 21:01:11 +0000 (21:01 +0000)]
  Better doc of ap_server_root_relative()

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

23 years agoUpdate support info.
Joshua Slive [Thu, 23 Aug 2001 21:01:02 +0000 (21:01 +0000)]
Update support info.

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

23 years agoplease no // in Apache code... it doesn't compile everywhere
Jeff Trawick [Thu, 23 Aug 2001 20:29:47 +0000 (20:29 +0000)]
please no // in Apache code... it doesn't compile everywhere

a note about why it is commented out would be appropriate too

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

23 years agomake it compile :(
Jeff Trawick [Thu, 23 Aug 2001 20:15:56 +0000 (20:15 +0000)]
make it compile :(

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

23 years agomod_cache cleanup:
Jeff Trawick [Thu, 23 Aug 2001 19:46:55 +0000 (19:46 +0000)]
mod_cache cleanup:

change the module variable from tcache_module to cache_module

clear up various gcc warnings

don't segfault when the silly user (me) configures CACHE_OUT
manually

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

23 years agoos-inline.c is no more (fix from bloom)
Doug MacEachern [Thu, 23 Aug 2001 19:45:17 +0000 (19:45 +0000)]
os-inline.c is no more (fix from bloom)

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

23 years ago Add some appropriate constness to the config
William A. Rowe Jr [Thu, 23 Aug 2001 19:42:44 +0000 (19:42 +0000)]
  Add some appropriate constness to the config

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

23 years agoat least try to compile all the parts of mod_cache when it is
Jeff Trawick [Thu, 23 Aug 2001 19:37:23 +0000 (19:37 +0000)]
at least try to compile all the parts of mod_cache when it is
requested

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

23 years ago Silly compiler, const char* is for text :)
William A. Rowe Jr [Thu, 23 Aug 2001 19:35:23 +0000 (19:35 +0000)]
  Silly compiler, const char* is for text :)

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

23 years ago I _like_ malloca(), but it needs an include
William A. Rowe Jr [Thu, 23 Aug 2001 19:29:45 +0000 (19:29 +0000)]
  I _like_ malloca(), but it needs an include

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

23 years ago Rather than continuing to canonicalize within directory_walk (very time
William A. Rowe Jr [Thu, 23 Aug 2001 19:19:52 +0000 (19:19 +0000)]
  Rather than continuing to canonicalize within directory_walk (very time
  consuming on all but *nix systems) we temporarily canonicalize to compare
  the results of the many merges, and fail on a mismatch.

  The apr_filepath_merge and ap_server_root_relative calls now merge the
  file _by canonicalizing it_.  That includes resolving all /../, /./,
  and // misnomers.

  A minor effort is required to figure out who all munges the r->filename
  in an inappropriate manner.

  The final (return to optimized state) probably involves setting an
  r->goodname argument to r->filename, every time we properly merge
  through ap_server_root_relative or apr_filepath_merge().

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

23 years ago Eliminated ap_os_[systemcase|[case_]canonical]_filename() and
William A. Rowe Jr [Thu, 23 Aug 2001 19:15:13 +0000 (19:15 +0000)]
  Eliminated ap_os_[systemcase|[case_]canonical]_filename() and
  changes for ap_os_is_path_absolute (moved to util.c).

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

23 years ago Overhauled ap_server_root_relative, so that it now changes any path
William A. Rowe Jr [Thu, 23 Aug 2001 19:13:53 +0000 (19:13 +0000)]
  Overhauled ap_server_root_relative, so that it now changes any path
  to canonical form through apr.  Also assures that a change to the
  ServerRoot through a -C option takes effect before locating the
  httpd.conf file.

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

23 years ago Eliminated ap_os_[systemcase|[case_]canonical]_filename() and
William A. Rowe Jr [Thu, 23 Aug 2001 19:10:52 +0000 (19:10 +0000)]
  Eliminated ap_os_[systemcase|[case_]canonical]_filename() and
  changes for ap_os_is_path_absolute

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

23 years ago New ap_os_is_path_absolute() semantics
William A. Rowe Jr [Thu, 23 Aug 2001 19:08:46 +0000 (19:08 +0000)]
  New ap_os_is_path_absolute() semantics

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

23 years agoNew faq for 2.0. Start with a relatively clean slate.
Joshua Slive [Thu, 23 Aug 2001 19:08:43 +0000 (19:08 +0000)]
New faq for 2.0.  Start with a relatively clean slate.
The existing faq will be deleted soon.

Discussion to follow on docs list.

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

23 years ago Eliminated ap_os_[systemcase|[case_]canonical]_filename() and
William A. Rowe Jr [Thu, 23 Aug 2001 19:08:20 +0000 (19:08 +0000)]
  Eliminated ap_os_[systemcase|[case_]canonical]_filename() and
  move ap_os_is_path_absolute() into util.c (now relies on apr.)

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

23 years ago Canonicalization will now occur on all sub_req_lookup_file() calls,
William A. Rowe Jr [Thu, 23 Aug 2001 19:00:07 +0000 (19:00 +0000)]
  Canonicalization will now occur on all sub_req_lookup_file() calls,
  and the ap_server_root_relative() will handle canonicalization as well.

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

23 years ago ap_server_root_relative will take care of this canonical_file call.
William A. Rowe Jr [Thu, 23 Aug 2001 18:57:08 +0000 (18:57 +0000)]
  ap_server_root_relative will take care of this canonical_file call.

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

23 years ago Performance death notices. Note that we shouldn't have EVER coded a
William A. Rowe Jr [Thu, 23 Aug 2001 18:56:13 +0000 (18:56 +0000)]
  Performance death notices.  Note that we shouldn't have EVER coded a
  module with a fixed path ... the config phase should take the proxy/
  path and ap_server_root_relative() it at startup.

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

23 years ago Optimize out what is a very expensive in-request call to
William A. Rowe Jr [Thu, 23 Aug 2001 18:53:27 +0000 (18:53 +0000)]
  Optimize out what is a very expensive in-request call to
  ap_server_root_relative (and is becoming more expensive).
  Now the call happens in the config phase where it belongs.
  Note someone can hop in and transpose the stat and open
  with an open and getfileinfo if you are a performance hound.

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

23 years ago Clear out this optimization till we are prepared for it (not now.)
William A. Rowe Jr [Thu, 23 Aug 2001 18:49:55 +0000 (18:49 +0000)]
  Clear out this optimization till we are prepared for it (not now.)

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

23 years ago Fix most-bogus ap_server_root_relative() cases. These don't include
William A. Rowe Jr [Thu, 23 Aug 2001 18:47:32 +0000 (18:47 +0000)]
  Fix most-bogus ap_server_root_relative() cases.  These don't include
  the cases where we are trying to ap_server_root_relative() a pipe cmd!

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

23 years agoReplace apr_uri_components with apr_uri_t
Bill Stoddard [Thu, 23 Aug 2001 18:27:21 +0000 (18:27 +0000)]
Replace apr_uri_components with apr_uri_t

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

23 years agoOS/2 now uses mpmt_os2 by default.
Brian Havard [Thu, 23 Aug 2001 16:55:23 +0000 (16:55 +0000)]
OS/2 now uses mpmt_os2 by default.

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

23 years ago This was copied as a test of the ap_r[put|putc|write|printf] family of
William A. Rowe Jr [Thu, 23 Aug 2001 16:45:24 +0000 (16:45 +0000)]
  This was copied as a test of the ap_r[put|putc|write|printf] family of
  functions.  Since those don't seem to be going anywhere, this test is
  redundant and a maintance headache.

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

23 years agoFix for mod_include. Ryan's patch to check error
Paul J. Reder [Thu, 23 Aug 2001 15:45:49 +0000 (15:45 +0000)]
Fix for mod_include. Ryan's patch to check error
codes put a return in the wrong place. Also, the
include handler return code wasn't being checked.
I don't like macros with returns, so I converted
SPLIT_AND_PASS_PRETAG_BUCKETS into a function.

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

23 years agowhoops! replace two post 2.0.24 fixes I accidently wiped out yesterday.
Greg Ames [Thu, 23 Aug 2001 15:35:50 +0000 (15:35 +0000)]
whoops!  replace two post 2.0.24 fixes I accidently wiped out yesterday.

Reported by: Jeff Trawick, Paul Reder

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

23 years agoWin32 project file for mod_cache.
Bill Stoddard [Thu, 23 Aug 2001 15:26:58 +0000 (15:26 +0000)]
Win32 project file for mod_cache.

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

23 years agoMy first try at relocating the manual tree outside of the htdocs/ directory.
Martin Kraemer [Thu, 23 Aug 2001 15:17:02 +0000 (15:17 +0000)]
My first try at relocating the manual tree outside of the htdocs/ directory.
It will now reside in the ServerRoot, alongside with .../man/ and .../icons/
and .../htdocs/
-
Please review the config.layout entries for the vendor specific entries,
I supplied sensible defaults but you may disagree.

Reviewed by: William A. Rowe, Jr., Joshua Slive, Rich Bowen

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

23 years agoFix using uninitialized variable.
Bill Stoddard [Thu, 23 Aug 2001 14:56:42 +0000 (14:56 +0000)]
Fix using uninitialized variable.

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

23 years agoExperimental cache based on Graham Leggett's layered cache design. mod_cache
Bill Stoddard [Thu, 23 Aug 2001 14:15:00 +0000 (14:15 +0000)]
Experimental cache based on Graham Leggett's layered cache design.  mod_cache
implements a quick handler, and three filters. The filters are
CACHE_IN for loading the cache, CACHE_OUT for serving content out of the cache
and CACHE_CONDITIONAL, which handles stale entries in the cache.

mod_cache implements code that makes RFC compliant caching decisions. It
interfaces with the actual storage mechanism via calls to functions defined in
cache_storage.c.  This commit includes a simple in memory (malloc'ed memory)
cache implementation that demonstrates autoloading and serving files
keyed on URL.

This is not even close to production ready. You have been warned :-)

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

23 years ago It doesn't get any simpler than this
William A. Rowe Jr [Thu, 23 Aug 2001 13:08:48 +0000 (13:08 +0000)]
  It doesn't get any simpler than this

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

23 years agoremove company name
Lars Eilebrecht [Thu, 23 Aug 2001 12:59:17 +0000 (12:59 +0000)]
remove company name

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

23 years agome too
Jeff Trawick [Thu, 23 Aug 2001 12:20:27 +0000 (12:20 +0000)]
me too

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

23 years agofix part of PR #7528
Doug MacEachern [Thu, 23 Aug 2001 04:15:37 +0000 (04:15 +0000)]
fix part of PR #7528
"UnsetEnv does not work from main body of httpd.conf"
PR also complains:
"also does not unsetenv()", but this fix does not address that
(i doubt unsetenv is portable or threadsafe)
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoregister ssl_var_lookup() as an optional function
Doug MacEachern [Thu, 23 Aug 2001 02:46:23 +0000 (02:46 +0000)]
register ssl_var_lookup() as an optional function

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

23 years agoperformance: change an O(n) while loop to an equivalent O(1) brigade macro
Cliff Woolley [Thu, 23 Aug 2001 02:32:26 +0000 (02:32 +0000)]
performance: change an O(n) while loop to an equivalent O(1) brigade macro

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

23 years agoAnother step in improving legibility by factoring out some redundant code
Cliff Woolley [Thu, 23 Aug 2001 02:23:43 +0000 (02:23 +0000)]
Another step in improving legibility by factoring out some redundant code
(how many times can you test the same condition in one function? :-)

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

23 years ago Revert these from my last commit ... I had no intention of changing
William A. Rowe Jr [Thu, 23 Aug 2001 00:51:03 +0000 (00:51 +0000)]
  Revert these from my last commit ... I had no intention of changing
  them in the first place :(

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

23 years ago Whoops, we would like a whole lot more files, such as images and include
William A. Rowe Jr [Thu, 23 Aug 2001 00:39:50 +0000 (00:39 +0000)]
  Whoops, we would like a whole lot more files, such as images and include

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

23 years agoNit: the lack of brackets was driving me crazy
Cliff Woolley [Thu, 23 Aug 2001 00:23:54 +0000 (00:23 +0000)]
Nit: the lack of brackets was driving me crazy

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

23 years agoSimplify the apr_read_type_e vs. ap_input_mode_t silliness. The two
Cliff Woolley [Thu, 23 Aug 2001 00:21:40 +0000 (00:21 +0000)]
Simplify the apr_read_type_e vs. ap_input_mode_t silliness.  The two
are compatible (due to our early abort when PEEK mode is requested),
so we don't have to go to so much effort to convert from one to the other.

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

23 years agoThis probably falls under the category: if you can't figure it out yourself,
Joshua Slive [Thu, 23 Aug 2001 00:15:37 +0000 (00:15 +0000)]
This probably falls under the category: if you can't figure it out yourself,
you shouldn't be doing it.  But we might as well remove obsolete stuff.

PR: 4685

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

23 years ago Complete the rename of the ssl_scache_status_register and
William A. Rowe Jr [Thu, 23 Aug 2001 00:06:27 +0000 (00:06 +0000)]
  Complete the rename of the ssl_scache_status_register and
  ssl_ext_proxy_register (which has yet to be renamed for it's
  future location, since I'm not going further at the moment
  with implementing it's functionallity, all my focus is on
  the ssl_var_register arm.)

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

23 years agoOops.. removed the more accurate of the two. =-)
Cliff Woolley [Wed, 22 Aug 2001 23:28:35 +0000 (23:28 +0000)]
Oops.. removed the more accurate of the two.  =-)

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

23 years agoremove conflict crud
Cliff Woolley [Wed, 22 Aug 2001 23:24:17 +0000 (23:24 +0000)]
remove conflict crud

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

23 years agoAdd a note about includesnoexec.
Joshua Slive [Wed, 22 Aug 2001 23:13:10 +0000 (23:13 +0000)]
Add a note about includesnoexec.

PR: 5075

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

23 years agoget rid of nuisance log messages due to subrequests failing with EPIPE
Greg Ames [Wed, 22 Aug 2001 23:12:24 +0000 (23:12 +0000)]
get rid of nuisance log messages due to subrequests failing with EPIPE

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

23 years ago Remove a ton o' cruft. Moves the mod_log_config 'var' extensions to
William A. Rowe Jr [Wed, 22 Aug 2001 22:58:07 +0000 (22:58 +0000)]
  Remove a ton o' cruft.  Moves the mod_log_config 'var' extensions to
  ssl_engine_vars.c.

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

23 years agoUpdate mailing list and add myself to another list.
Joshua Slive [Wed, 22 Aug 2001 22:56:05 +0000 (22:56 +0000)]
Update mailing list and add myself to another list.

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

23 years agoAdd a couple windows notes.
Joshua Slive [Wed, 22 Aug 2001 22:34:50 +0000 (22:34 +0000)]
Add a couple windows notes.

PR: 6289, 5786

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