]> granicus.if.org Git - apache/log
apache
22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

23 years agoThere's only one way for bb to be non-NULL, so these two
Cliff Woolley [Wed, 22 Aug 2001 22:25:14 +0000 (22:25 +0000)]
There's only one way for bb to be non-NULL, so these two
cases can be combined.

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

23 years agoreverting to sterlings original segv fix when extension_mappings is NULL
Doug MacEachern [Wed, 22 Aug 2001 22:03:01 +0000 (22:03 +0000)]
reverting to sterlings original segv fix when extension_mappings is NULL

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

23 years agoremove #if 0-ed ssl_hook_NewConnection code; was only left for reference,
Doug MacEachern [Wed, 22 Aug 2001 21:37:15 +0000 (21:37 +0000)]
remove #if 0-ed ssl_hook_NewConnection code; was only left for reference,
no longer needed
remove #if 0-ed ssl_hook_TimeoutConnection code; ssl no longer talks directly
to the socket
PR:
Obtained from:
Submitted by:    madhu
Reviewed by:  dougm

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

23 years agov2 of sterlings segv fix
Doug MacEachern [Wed, 22 Aug 2001 20:43:30 +0000 (20:43 +0000)]
v2 of sterlings segv fix
always initialize the extension_info hash rather than checking that it is
!= NULL
PR:
Obtained from:
Submitted by: John Sterling <sterling@covalent.net>
Reviewed by: dougm

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

23 years agoanother update from madhu
Doug MacEachern [Wed, 22 Aug 2001 20:41:23 +0000 (20:41 +0000)]
another update from madhu

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

23 years agoWe always need to include the openssl specific directory in the INCLUDES
Ryan Bloom [Wed, 22 Aug 2001 20:34:40 +0000 (20:34 +0000)]
We always need to include the openssl specific directory in the INCLUDES
variable.

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

23 years agoFollow the leader...
Cliff Woolley [Wed, 22 Aug 2001 20:25:24 +0000 (20:25 +0000)]
Follow the leader...

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

23 years agofix segv in mod_mime if no AddTypes are configured
Doug MacEachern [Wed, 22 Aug 2001 20:03:47 +0000 (20:03 +0000)]
fix segv in mod_mime if no AddTypes are configured
PR:
Obtained from:
Submitted by: John Sterling <sterling@covalent.net>
Reviewed by: dougm

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

23 years agoclient auth is enabled
Doug MacEachern [Wed, 22 Aug 2001 19:49:23 +0000 (19:49 +0000)]
client auth is enabled

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

23 years agomove some code duplication into ssl_abort() function
Doug MacEachern [Wed, 22 Aug 2001 19:40:07 +0000 (19:40 +0000)]
move some code duplication into ssl_abort() function

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

23 years agoEnable ssl client authentication at SSL_accept time
Doug MacEachern [Wed, 22 Aug 2001 19:37:03 +0000 (19:37 +0000)]
Enable ssl client authentication at SSL_accept time
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@90503 13f79535-47bb-0310-9956-ffa450edef68

23 years agoignore generated file rules.mk
Jeff Trawick [Wed, 22 Aug 2001 19:00:08 +0000 (19:00 +0000)]
ignore generated file rules.mk

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

23 years agosimplify some code in output_results() just a bit to avoid a
Jeff Trawick [Wed, 22 Aug 2001 18:58:36 +0000 (18:58 +0000)]
simplify some code in output_results() just a bit to avoid a
bug in gcc 2.7.2.3 on FreeBSD 3.4; didn't hit the problem with
-O2; did hit the problem with no -O

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

23 years agosome updated pointed out by madhu
Doug MacEachern [Wed, 22 Aug 2001 18:36:51 +0000 (18:36 +0000)]
some updated pointed out by madhu

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

23 years agoYet another place to stick my name.
Justin Erenkrantz [Wed, 22 Aug 2001 18:29:45 +0000 (18:29 +0000)]
Yet another place to stick my name.
(Are there any other files that have the contributors listing?)

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

23 years agoChange the new-httpd@apache.org references to dev@httpd.apache.org.
Justin Erenkrantz [Wed, 22 Aug 2001 18:27:53 +0000 (18:27 +0000)]
Change the new-httpd@apache.org references to dev@httpd.apache.org.
There are some references just to "new-httpd" throughout - I left
these intact as I'm not sure what the nickname for the new list is
(dev@httpd?).

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

23 years agorather than creating small 1024 byte buckets of output data,
Doug MacEachern [Wed, 22 Aug 2001 16:59:26 +0000 (16:59 +0000)]
rather than creating small 1024 byte buckets of output data,
create a transient bucket pointing directly to the BIO mem buff.
this makes for a dramatic increase in performance. previously,
downloading large files (2Mb-5Mb-ish) made my laptop start to
smoke from the fan spinning so fast to cool the cpu.
also, apache stylize churn_output()
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years ago Explicitly fix some types, and opt-out on macro conflicts
William A. Rowe Jr [Wed, 22 Aug 2001 16:21:40 +0000 (16:21 +0000)]
  Explicitly fix some types, and opt-out on macro conflicts

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

23 years agoEnsure that libtool does the installation for us. This way we will actually
Justin Erenkrantz [Wed, 22 Aug 2001 15:58:05 +0000 (15:58 +0000)]
Ensure that libtool does the installation for us.  This way we will actually
copy over the binaries rather than libtool wrapper scripts which would
copy the binaries to .libs/lt-* at first execution.
Reviewed by:  Greg Stein

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

23 years agoUse uniform wrapping for unistd.h, and don't include it if it's aready included via...
Martin Kraemer [Wed, 22 Aug 2001 15:40:29 +0000 (15:40 +0000)]
Use uniform wrapping for unistd.h, and don't include it if it's aready included via fileio.h

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

23 years agodestroy the brigade when we are done with it, rather than remove
Doug MacEachern [Wed, 22 Aug 2001 15:30:37 +0000 (15:30 +0000)]
destroy the brigade when we are done with it, rather than remove
one bucket at a time.  prevents a problem when downloading large files.
also change ssl_io_filter_Output to apache style
and change some variable names that should make the code easier to
read/understand, e.g. pbbIn -> bb, pbktIn -> bucket
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoIn absence of an explicit --with-ssl= path,
Martin Kraemer [Wed, 22 Aug 2001 15:27:45 +0000 (15:27 +0000)]
In absence of an explicit --with-ssl= path,
use the PATH order before trying hard-coded /usr/local paths

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

23 years agoAdd rules.mk back to the substitute list. I forgot to add the rules.mk.in
Ryan Bloom [Wed, 22 Aug 2001 13:37:26 +0000 (13:37 +0000)]
Add rules.mk back to the substitute list.  I forgot to add the rules.mk.in
files last night, but they are there now.

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

23 years agoAdd rules.mk.in, and remove the old rules.mk. This finishes the
Ryan Bloom [Wed, 22 Aug 2001 13:34:01 +0000 (13:34 +0000)]
Add rules.mk.in, and remove the old rules.mk.  This finishes the
libtool patch from yesterday.

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

23 years agoFix a segfault in mod_include when the original request has no
Jeff Trawick [Wed, 22 Aug 2001 12:07:40 +0000 (12:07 +0000)]
Fix a segfault in mod_include when the original request has no
associated filename (e.g., we're filtering the error document for
a bad URI).

Reported by: Joshua Slive

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

23 years agoWe don't have rules.mk.in, so autoconf/m4/sed will overwrite the good
Justin Erenkrantz [Wed, 22 Aug 2001 07:52:35 +0000 (07:52 +0000)]
We don't have rules.mk.in, so autoconf/m4/sed will overwrite the good
rules.mk with a blank file.

This gets us building again.  From what I see of rbb's libtool 1.4 commit,
I didn't see any change to rules.mk that would require variable
substitution.  Ryan?

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

23 years agoBringing 2.0 docs up to date with the 1.3 docs.
Rich Bowen [Wed, 22 Aug 2001 02:22:46 +0000 (02:22 +0000)]
Bringing 2.0 docs up to date with the 1.3 docs.

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

23 years agoBase template for Apache module documentation
Rich Bowen [Wed, 22 Aug 2001 01:42:44 +0000 (01:42 +0000)]
Base template for Apache module documentation

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

23 years agoWe finally got a little bit of rain.
Joshua Slive [Wed, 22 Aug 2001 00:16:23 +0000 (00:16 +0000)]
We finally got a little bit of rain.

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