]> granicus.if.org Git - apache/log
apache
23 years agoSince binbuild is currently doing a static build, the install-bindist.sh
Greg Ames [Tue, 28 Aug 2001 18:23:57 +0000 (18:23 +0000)]
Since binbuild is currently doing a static build, the install-bindist.sh
script it generates shouldn't expect to find a modules directory.

Also, tee binbuild's output into build.log (rather than redirect it) so you can
see what's going on with the build.

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

23 years agoFix a performance problem with the worker MPM. We now create
Ryan Bloom [Tue, 28 Aug 2001 18:09:36 +0000 (18:09 +0000)]
Fix a performance problem with the worker MPM.  We now create
transaction pools once, and re-use them for each connection.

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

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

23 years agoRemove some debug code that I had in apxs.in.
Ryan Bloom [Tue, 28 Aug 2001 17:41:53 +0000 (17:41 +0000)]
Remove some debug code that I had in apxs.in.
Submitted by: Karl Fogel <kfogel@collab.net>

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

23 years ago This is the same granularity of control as mod_mime gave to set handlers
William A. Rowe Jr [Tue, 28 Aug 2001 15:45:01 +0000 (15:45 +0000)]
  This is the same granularity of control as mod_mime gave to set handlers
  (and now AddInputFilter and AddOutputFilter by extension) so this seems
  entirely appropriate in the core as well.  Options FileInfo is required
  to change the processing behavior of files.

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

23 years ago Also in the prior commit (1.338)
William A. Rowe Jr [Tue, 28 Aug 2001 15:31:08 +0000 (15:31 +0000)]
  Also in the prior commit (1.338)

  *) Modfied mod_mime to prevent mod_negotation from serving a multiview
     of a 'handler' or 'filter', so that any filename extension that does
     not contribute to the negotiated metadata can't be served without
     an explicit request.  E.g., if the .Z extension is associated with
     an unzip filter, the user request somefile.Z.html, mod_negotiation
     won't serve it.  It can serve somefile.Z.html when somefile.Z is
     requested, since the .Z extension is explictly requested, if the
     .html extension is associated with ContentType text/html.

    See changes for a complete description.  Because (in the example) the
    .Z extension doesn't affect negotiated behavior, the files index.html
    and index.Z.html couldn't be distinguished, and the user would get an
    error 406 NOT ACCEPTABLE, which is the _wrong_ answer.

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

23 years ago Someone pointed out that we were running the images through the INCLUDE
William A. Rowe Jr [Tue, 28 Aug 2001 15:29:21 +0000 (15:29 +0000)]
  Someone pointed out that we were running the images through the INCLUDE
  filter.  This fixes it, in a sort of hackish way.
  I don't remember who noticed this, sorry :(

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

23 years ago Version 1.338 of mod_mime also tightened the mod_negotiation behavior.
William A. Rowe Jr [Tue, 28 Aug 2001 15:15:21 +0000 (15:15 +0000)]
  Version 1.338 of mod_mime also tightened the mod_negotiation behavior.
  See changes for a complete description.  Because (in the example) the
  .Z extension doesn't affect negotiated behavior, the files index.html
  and index.Z.html couldn't be distinguished, and the user would get an
  error 406 NOT ACCEPTABLE, which is the _wrong_ answer.

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

23 years ago Introduces mod_mime AddInputFilter and AddOutputFilter filter ext syntax.
William A. Rowe Jr [Tue, 28 Aug 2001 15:07:11 +0000 (15:07 +0000)]
  Introduces mod_mime AddInputFilter and AddOutputFilter filter ext syntax.

  Significantly refactored the code to maintain single functions for the
  add_extension_info hash and remove_extension_info table processing.

  The AddInputFilter/AddOutputFilter could have been plural, as they accept
  a semicolon delimited list of filters (e.g. you need to stack two different
  filters based on a single extension.)  I expect that the plural could
  confuse users, though, as they might expect AddInputFilters foo bar var
  to add foo and bar to the extension var, which it definately doesn't do!

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

23 years ago Clip a duplicate appearance
William A. Rowe Jr [Tue, 28 Aug 2001 13:06:34 +0000 (13:06 +0000)]
  Clip a duplicate appearance

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

23 years ago This small patch I committed last week broke the transparent negotiation
William A. Rowe Jr [Tue, 28 Aug 2001 03:08:31 +0000 (03:08 +0000)]
  This small patch I committed last week broke the transparent negotiation
  behavior.  I hope this is now settled.

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

23 years agoRemove an obsolete function from fdqueue. The worker MPM now uses the
Ryan Bloom [Mon, 27 Aug 2001 23:50:12 +0000 (23:50 +0000)]
Remove an obsolete function from fdqueue.  The worker MPM now uses the
fdqueue functions in a different way.
Submitted by: Aaron Bannert <aaron@clove.org>

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

23 years agoAs the worker MPM is really an alternative to the threaded MPM ...
Justin Erenkrantz [Mon, 27 Aug 2001 20:55:09 +0000 (20:55 +0000)]
As the worker MPM is really an alternative to the threaded MPM                  (and hopefully it'll be a replacement), the httpd.conf settings                 are identical.
Submitted by: Aaron Bannert <aaron@clove.org>
Reviewed by: Justin Erenkrantz

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

23 years agoFix a case where on restart, an admin started logging, and the logging
Victor J. Orlikowski [Mon, 27 Aug 2001 20:50:01 +0000 (20:50 +0000)]
Fix a case where on restart, an admin started logging, and the logging
code waited to start until the second pass (assuming we were just starting
up) to open the log file. Also fix a typo.

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

23 years agoFix a growing connection pool in core_output_filter() for
Jeff Trawick [Mon, 27 Aug 2001 20:48:00 +0000 (20:48 +0000)]
Fix a growing connection pool in core_output_filter() for
keepalive requests.  We were allocating a brigade out of the
connection pool; the number of these brigades allocated
per connection was theoretically unlimited.

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

23 years agoMoved split_and_pass_pretag_buckets back to being a
Paul J. Reder [Mon, 27 Aug 2001 20:25:42 +0000 (20:25 +0000)]
Moved split_and_pass_pretag_buckets back to being a
macro at Ryans's request. Removed the return from it
by setting and returning a return code instead. Updated
the code to check the return code from teh macro and
do the right thing.

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

23 years agoFix a segfault when a numeric host (e.g., "Host: 123") was specified.
Jeff Trawick [Mon, 27 Aug 2001 19:51:34 +0000 (19:51 +0000)]
Fix a segfault when a numeric host (e.g., "Host: 123") was specified.

apr_parse_addr_port() assumes that if there is just a number it must
be a port, but here we need to assume that it is a host.

todo: pass a flag into apr_parse_addr_port()?  unclear whether or
      not that is cleaner overall

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

23 years agoRemove some warnings from the perchild MPM
Ryan Bloom [Mon, 27 Aug 2001 19:34:34 +0000 (19:34 +0000)]
Remove some warnings from the perchild MPM

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

23 years ago- allows empty $val from httpd-2.0/build/config_vars.mk
Ryan Bloom [Mon, 27 Aug 2001 17:21:29 +0000 (17:21 +0000)]
- allows empty $val from httpd-2.0/build/config_vars.mk
- make code more perlish.
- read and parse the config file only once
- use a hash instead of array for the list of internal config vars to
  test against
- added -h option (just print usage)
- wrapped numerous print STDERR calls into a simpler error() and
  notice() subs
- simplified some of the logic in if's using perl constructs.

Submitted by: Stas Bekman <stas@stason.org>

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

23 years ago Solve a bug I introduced this weekend, we want to compare core_*->r
William A. Rowe Jr [Mon, 27 Aug 2001 16:35:43 +0000 (16:35 +0000)]
  Solve a bug I introduced this weekend, we want to compare core_*->r
  as a boolean, not by value.

  Reported by: Barrie Slaymaker <barries@slaysys.com>

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

23 years agoThe consensus now is that mod_include should just butt out of any decisions
Cliff Woolley [Mon, 27 Aug 2001 14:43:19 +0000 (14:43 +0000)]
The consensus now is that mod_include should just butt out of any decisions
about what to do with different request methods.  It's true that mod_include
in 1.3.x did not allow POST, but back then it was a handler.  Now it's a
filter and can be used to filter the output of dynamically generated responses,
even ones resulting from a POST request.  So if mod_include is in the filter
stack, it should just blindly parse the brigade regardless of request method.

This still fixes the security problem, it just fixes it by being more flexible
rather than less so.

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

23 years agoAdd information on backwards-compatible handler and magic-mime-types
Joshua Slive [Mon, 27 Aug 2001 14:23:30 +0000 (14:23 +0000)]
Add information on backwards-compatible handler and magic-mime-types
for mod_include.

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

23 years agoremove_any_filter() and ap_remove_foo_filter() are void; how can you
Jeff Trawick [Mon, 27 Aug 2001 12:36:07 +0000 (12:36 +0000)]
remove_any_filter() and ap_remove_foo_filter() are void; how can you
return a value?

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

23 years agofix some calls to apr_pool_userdata_get()
Jeff Trawick [Mon, 27 Aug 2001 10:23:11 +0000 (10:23 +0000)]
fix some calls to apr_pool_userdata_get()

(foo** just doesn't work the way we sometimes might want :( )

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

23 years agoAllow mod_ssl to send back an error message if an HTTP request is sent
Ryan Bloom [Mon, 27 Aug 2001 06:00:51 +0000 (06:00 +0000)]
Allow mod_ssl to send back an error message if an HTTP request is sent
over an HTTPS connection.  This also adds an ap_remove_input_filter
function, which should be used to remove the SSL input filter in this
case, as soon as this code is stressed a bit more.

For right now, we are sending the same message that we used to send in
mod_ssl for Apache 1.3.

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

23 years ago Regroup some of the headers in the win32 module, to make the distinction
William A. Rowe Jr [Mon, 27 Aug 2001 05:33:30 +0000 (05:33 +0000)]
  Regroup some of the headers in the win32 module, to make the distinction
  between modules/http and server/ a bit clearer.

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

23 years ago Final additional comments (for the moment) about the new optimization.
William A. Rowe Jr [Mon, 27 Aug 2001 04:51:58 +0000 (04:51 +0000)]
  Final additional comments (for the moment) about the new optimization.

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

23 years agoRemove some unneeded autoconf checks. We now have no duplicate libraries
Justin Erenkrantz [Mon, 27 Aug 2001 04:47:17 +0000 (04:47 +0000)]
Remove some unneeded autoconf checks.  We now have no duplicate libraries
in the generated EXTRA_LIBS in config_vars.mk (at least on Linux 2.4).

APR already determines if we need nsl, socket - checking for it in httpd
is merely redundant.

None of the code in httpd-2.0 seems to deal with HAVE_GMTOFF as all of
that code was moved to APR a long time ago.

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

23 years ago Further optimization to location_walk() and clean up unused variables.
William A. Rowe Jr [Mon, 27 Aug 2001 04:37:40 +0000 (04:37 +0000)]
  Further optimization to location_walk() and clean up unused variables.

  We will note the end result of the merge, and if remains the same through
  the second pass, we have nothing whatsoever to do :)

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

23 years ago Clean up location_walk, so that this step performs a minimum
William A. Rowe Jr [Mon, 27 Aug 2001 04:29:09 +0000 (04:29 +0000)]
  Clean up location_walk, so that this step performs a minimum
  amount of redundant effort (it must be run twice, but it will no
  longer reparse all <Location > blocks when the request uri
  hadn't changed.)

  The location walk block is refactored, with some significant changes
  in variable names for legibility.  Cooler still, it uses pool data
  instead of 'notes' for the important cache info :)

  Note the patch builds the <Location > per dir config from _nothing_,
  and then merges it into the per_dir_config.  When the underlying
  per_dir_config changes between passes, the location_walk can simply
  tack back on this preconstruct onto the new per_dir_config.

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

23 years agoFix a typo.
Ryan Bloom [Mon, 27 Aug 2001 03:35:51 +0000 (03:35 +0000)]
Fix a typo.

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

23 years ago I think this statement makes more sense, please ask if it isn't clear.
William A. Rowe Jr [Mon, 27 Aug 2001 02:57:54 +0000 (02:57 +0000)]
  I think this statement makes more sense, please ask if it isn't clear.

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

23 years agobacking out the ap_set_keepalive uncheck for Content-Length header
Doug MacEachern [Sun, 26 Aug 2001 20:09:52 +0000 (20:09 +0000)]
backing out the ap_set_keepalive uncheck for Content-Length header

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

23 years agoap_content_length_filter has already set Content-Length
Doug MacEachern [Sun, 26 Aug 2001 18:57:16 +0000 (18:57 +0000)]
ap_content_length_filter has already set Content-Length
before ap_set_keepalive is called.  need to remove this check
in order for keepalives to work.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoapr_pstrcat args were not NULL terminated
Doug MacEachern [Sun, 26 Aug 2001 17:38:14 +0000 (17:38 +0000)]
apr_pstrcat args were not NULL terminated

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

23 years agoMore fixes for APXS. APXS now works with httpd-test again
Ryan Bloom [Sun, 26 Aug 2001 16:28:19 +0000 (16:28 +0000)]
More fixes for APXS.  APXS now works with httpd-test again

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

23 years agoImprovements to APXS. It now uses the config_vars.mk variables to
Ryan Bloom [Sun, 26 Aug 2001 06:25:00 +0000 (06:25 +0000)]
Improvements to APXS.  It now uses the config_vars.mk variables to
figure out how to build stuff.  It uses the Apache build system for
the generated module, but not for command line builds.  Maybe I'll fix
that one day.  If somebody wants to beat me to it, that would be cool.

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

23 years agothese modules were never built and had not been ported to 2.0
Doug MacEachern [Sun, 26 Aug 2001 06:01:59 +0000 (06:01 +0000)]
these modules were never built and had not been ported to 2.0
they have been ported and moved to httpd-test
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoAnother generated file to ignore.
Brian Havard [Sun, 26 Aug 2001 05:25:31 +0000 (05:25 +0000)]
Another generated file to ignore.

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

23 years ago Toggle the /Zi flag to allow all supportd versions of VC (5, 6, 7) to
William A. Rowe Jr [Sun, 26 Aug 2001 05:21:50 +0000 (05:21 +0000)]
  Toggle the /Zi flag to allow all supportd versions of VC (5, 6, 7) to
  build 'out of the box' in debugging mode.

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

23 years ago That last round calls for a bump.
William A. Rowe Jr [Sun, 26 Aug 2001 05:15:09 +0000 (05:15 +0000)]
  That last round calls for a bump.

  bump.

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

23 years ago Eliminate proxy: (and all other 'special') processing from the
William A. Rowe Jr [Sun, 26 Aug 2001 05:10:17 +0000 (05:10 +0000)]
  Eliminate proxy: (and all other 'special') processing from the
  ap_directory_walk() phase.  Modules that want to use special
  walk logic should refer to the mod_proxy map_to_location example,
  with it's proxy_walk and proxysection implementation.  This makes
  either directory_walk flavor much more legible, since that phase
  only runs against real <Directory > blocks.

  On a technical note, this patch also forces the Directory to be
  canonical (unless it is "/" or a regex.)  It also allows us to
  be more explicit when declaring <Directory > block errors.

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

23 years ago Readded "downgrade-1.0" which I (inadvertantly) pulled with the
William A. Rowe Jr [Sun, 26 Aug 2001 04:59:37 +0000 (04:59 +0000)]
  Readded "downgrade-1.0" which I (inadvertantly) pulled with the
  map_to_storage patch.  I knew it had to have a better home, and
  it sure looks like this is it.

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

23 years ago Split proxy: space using <Proxy[Match] > directive blocks from
William A. Rowe Jr [Sun, 26 Aug 2001 04:39:35 +0000 (04:39 +0000)]
  Split proxy: space using <Proxy[Match] > directive blocks from
  the <Directory[Match] > and <Files[Match] > blocks.  Mod_proxy
  now bypasses the directory and files testing phase (and skips
  the http TRACE default handler on it's own, as well).  Note that
  <Location > blocks continue to be processed for proxy: requests.

  Remaining questions include canonicalization and case folding
  of proxied uri space, prior to the proxy_walk testing and the
  second <Location > walk.

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

23 years ago Change _only_ the debug build to recognize the /Zi flag (which is portable
William A. Rowe Jr [Sun, 26 Aug 2001 03:58:52 +0000 (03:58 +0000)]
  Change _only_ the debug build to recognize the /Zi flag (which is portable
  for debugging between VC 5.0/6.0/7.0) instead of the VC 6.0+ specific /ZI.

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

23 years agoWe have to initialize the error_bucket before we can destroy it.
Ryan Bloom [Sun, 26 Aug 2001 03:13:36 +0000 (03:13 +0000)]
We have to initialize the error_bucket before we can destroy it.

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

23 years agodidt pay attention to the first question; pretty sure answer is no
Doug MacEachern [Sun, 26 Aug 2001 01:24:41 +0000 (01:24 +0000)]
didt pay attention to the first question; pretty sure answer is no

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

23 years agoi think the answer to aaron's question is "a typo". otherwise there is
Doug MacEachern [Sun, 26 Aug 2001 01:17:32 +0000 (01:17 +0000)]
i think the answer to aaron's question is "a typo".  otherwise there is
actually 1 less thread available to serve requests than configured.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoFix a security problem which would allow an SSI document
Cliff Woolley [Sun, 26 Aug 2001 00:00:39 +0000 (00:00 +0000)]
Fix a security problem which would allow an SSI document
to be passed to the client unparsed.

Reported by: Brian Pane

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

23 years ago Introduce the map_to_storage hook, which allows modules to bypass
William A. Rowe Jr [Sat, 25 Aug 2001 23:43:19 +0000 (23:43 +0000)]
  Introduce the map_to_storage hook, which allows modules to bypass
  the directory_walk and file_walk for non-file requests.  TRACE
  shortcut moved to http_protocol.c as APR_HOOK_MIDDLE, and the
  directory_walk/file_walk happen as APR_HOOK_VERY_LAST in core.c.

  A seperate patch to mod_proxy is required to short circuit both the
  TRACE and directory_walk/file_walk stuff.  That patch is next.

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

23 years agoBUCKETS SMS PHASE 1
Cliff Woolley [Sat, 25 Aug 2001 22:56:22 +0000 (22:56 +0000)]
BUCKETS SMS PHASE 1

Update to match apr-util

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

23 years agoAdded documentation of RemoveCharset, RemoveLanguage to mod_mime.html.
Rich Bowen [Sat, 25 Aug 2001 18:46:16 +0000 (18:46 +0000)]
Added documentation of RemoveCharset, RemoveLanguage to mod_mime.html.
Added links to directives.html.

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

23 years ago Downgrade must occur before we attempt to TRACE, e.g., for clients with
William A. Rowe Jr [Sat, 25 Aug 2001 17:48:52 +0000 (17:48 +0000)]
  Downgrade must occur before we attempt to TRACE, e.g., for clients with
  broken chunking.

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

23 years agoAdditional details in mod_mime about what all this stuff means.
Rich Bowen [Sat, 25 Aug 2001 13:27:12 +0000 (13:27 +0000)]
Additional details in mod_mime about what all this stuff means.
Reviewed by: Joshua Slive

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

23 years agoos-inline.c is no more...
Brian Havard [Sat, 25 Aug 2001 10:19:51 +0000 (10:19 +0000)]
os-inline.c is no more...

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

23 years agoAdd the ability for mod_include to add the INCLUDES filter
Ryan Bloom [Sat, 25 Aug 2001 05:26:05 +0000 (05:26 +0000)]
Add the ability for mod_include to add the INCLUDES filter
if the file is configured for the server-parsed handler.
This makes the configuration for .shtml files much easier
to understand, and allows mod_include to honor Apache 1.3
config files.   Based on Doug MacEachern's patch to PHP
to do the same thing.

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

23 years agoforce OpenSSL to ignore process local-caching and to always
Doug MacEachern [Fri, 24 Aug 2001 23:25:14 +0000 (23:25 +0000)]
force OpenSSL to ignore process local-caching and to always
get/set/delete sessions using mod_ssl's callbacks
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@90654 13f79535-47bb-0310-9956-ffa450edef68

23 years agothese #ifs were really confusing emacs indentation, easier for humans to parse this...
Doug MacEachern [Fri, 24 Aug 2001 23:17:22 +0000 (23:17 +0000)]
these #ifs were really confusing emacs indentation, easier for humans to parse this way too

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

23 years agolook for config.guess in apr's build dir
Greg Ames [Fri, 24 Aug 2001 21:45:28 +0000 (21:45 +0000)]
look for config.guess in apr's build dir

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

23 years agoJust a little extra commentary...
Cliff Woolley [Fri, 24 Aug 2001 20:38:27 +0000 (20:38 +0000)]
Just a little extra commentary...

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

23 years agoFix a double-free condition when byterange requests are made on brigades
Cliff Woolley [Fri, 24 Aug 2001 20:27:40 +0000 (20:27 +0000)]
Fix a double-free condition when byterange requests are made on brigades
containing any bucket that cannot be copied natively (ie, pipe or socket
buckets).

Before, we were reading that bucket to morph it to a heap bucket and then
taking the str that heap bucket points to and placing it in a second,
completely separate heap bucket.  That means we'd have two apr_bucket/
apr_bucket_heap pairs each with a refcount of 1 (rather than two apr_buckets
and a single apr_bucket_heap with a refcount of 2).  str would then be
doubly-freed when the second of those two buckets was destroyed.

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

23 years ago sec, sec, who's got a sec? This gave me a headache, but I had to clear
William A. Rowe Jr [Fri, 24 Aug 2001 18:12:02 +0000 (18:12 +0000)]
  sec, sec, who's got a sec?  This gave me a headache, but I had to clear
  out the last patch before I rearranged this to be _readable_.

  Next step for everyone's sanity, provide <Proxy > directives ;)

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

23 years agoenable i/o debugging
Doug MacEachern [Fri, 24 Aug 2001 18:06:47 +0000 (18:06 +0000)]
enable i/o debugging

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

23 years ago Commit this code before another patch becomes to difficult to follow.
William A. Rowe Jr [Fri, 24 Aug 2001 18:01:25 +0000 (18:01 +0000)]
  Commit this code before another patch becomes to difficult to follow.

  This patch does one thing, it changes the root path "/" to reflect an
  element count of Zero (0).  directory_walk will always accept the zero
  element (which sorts first, thankfully) on it's first go around.

  So, Unix will accept "/" when it's parsing it's first element "/".

  Dos/Win32 will accept "/" and "C:/" when they parse their first element,
  "C:/".  The root sorted first, so it behaves as users expect.

  The syntax "//" or "//machine" will be depreciated for now, the user
  needs to set up the extact "//machine/share/" that they want served
  on Win32.

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

23 years agoOne thing done.
Joshua Slive [Fri, 24 Aug 2001 17:27:42 +0000 (17:27 +0000)]
One thing done.

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

23 years agoFix seg fault when requesting a page that returns a 'don't cache' header.
Bill Stoddard [Fri, 24 Aug 2001 17:21:39 +0000 (17:21 +0000)]
Fix seg fault when requesting a page that returns a 'don't cache' header.

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

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