]> granicus.if.org Git - apache/log
apache
23 years agoFirst cut at authentication tutorial. Need to add section about
Rich Bowen [Wed, 5 Sep 2001 01:40:17 +0000 (01:40 +0000)]
First cut at authentication tutorial. Need to add section about
alternate authentication modules such as mod_auth_db, but this is a
decent start.

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

23 years agoThere's no particular reason to advertise ApacheToday and/or
Rich Bowen [Wed, 5 Sep 2001 01:26:24 +0000 (01:26 +0000)]
There's no particular reason to advertise ApacheToday and/or
Internet.com

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

23 years agoIf the user doesn't specify a layout, then just use the Apache
Ryan Bloom [Tue, 4 Sep 2001 22:32:56 +0000 (22:32 +0000)]
If the user doesn't specify a layout, then just use the Apache
layout.  This means that we don't have to re-specify options that are
already in config.layout.

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

23 years agoJeff pointed out that the character array must be constant.
Justin Erenkrantz [Tue, 4 Sep 2001 16:28:45 +0000 (16:28 +0000)]
Jeff pointed out that the character array must be constant.
Well, it's not, so make it allocated from the correct pool rather than
the heap.

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

23 years agoFix breakage from Brian Pane's util_filter switch to hash tables.
Justin Erenkrantz [Tue, 4 Sep 2001 07:59:55 +0000 (07:59 +0000)]
Fix breakage from Brian Pane's util_filter switch to hash tables.

There were some places that were expecting what you put into frec
would be what frec->name would be.  Not true anymore.

There are enough other places that were already doing the strcasecmp
that it makes more sense to just make it all strcasecmp across the
board rather than changing the UPPERCASE to lowercase.

(None of these with the exception of old_filter look to be in the
critical path anyway...)

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

23 years ago**NO CODE CHANGES**
Justin Erenkrantz [Tue, 4 Sep 2001 06:57:58 +0000 (06:57 +0000)]
**NO CODE CHANGES**
This is a reformat commit *ONLY*
Please drive on through.

(One spelling tpyo fixed...)

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

23 years agoThe ap_add_input_filter/ap_add_output_filter functions do an O(n) scan
Justin Erenkrantz [Tue, 4 Sep 2001 06:50:52 +0000 (06:50 +0000)]
The ap_add_input_filter/ap_add_output_filter functions do an O(n) scan
through the list of registered filters.  This patch replaces the linear
list with a hash table for better performance.
Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Justin Erenkrantz

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

23 years agosilence compiler warnings (these weren't really bugs)
Cliff Woolley [Tue, 4 Sep 2001 02:13:58 +0000 (02:13 +0000)]
silence compiler warnings (these weren't really bugs)

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

23 years agoBack out the 1.45 change to util_script.c. This change made
Ryan Bloom [Tue, 4 Sep 2001 01:38:01 +0000 (01:38 +0000)]
Back out the 1.45 change to util_script.c.  This change made
us set the environment variable REQUEST_URI to the redirected
URI, instead of the originally requested URI.

PR: 7580
Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp>

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

23 years agoFix uninitialized variable warning. (This was a bug.)
Justin Erenkrantz [Mon, 3 Sep 2001 22:09:15 +0000 (22:09 +0000)]
Fix uninitialized variable warning.  (This was a bug.)
Submitted by: Cliff's compiler (warning) and Brian Pane (fix)
Reviewed by: Justin Erenkrantz

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

23 years ago This one has a sharper 16x16 image committed some time ago to apache-1.3
William A. Rowe Jr [Mon, 3 Sep 2001 16:43:10 +0000 (16:43 +0000)]
  This one has a sharper 16x16 image committed some time ago to apache-1.3

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

23 years agoUpdate the DSO docs for Apache 2.0
Ryan Bloom [Mon, 3 Sep 2001 16:31:27 +0000 (16:31 +0000)]
Update the DSO docs for Apache 2.0

PR: 6879

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

23 years agoAdded a little more detail to the docs based on some comments from Bill
Rich Bowen [Mon, 3 Sep 2001 03:45:27 +0000 (03:45 +0000)]
Added a little more detail to the docs based on some comments from Bill
Rowe. More to come, but this clarified a point that I had to track
down earlier, and may save someone some time.

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

23 years agoMake Apache 2.0 install all files in the same location as Apache 1.3
Ryan Bloom [Mon, 3 Sep 2001 03:27:48 +0000 (03:27 +0000)]
Make Apache 2.0 install all files in the same location as Apache 1.3
did.
PR: 7626

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

23 years agoFix the interaction between --prefix and --with-layout. We were
Ryan Bloom [Mon, 3 Sep 2001 03:07:42 +0000 (03:07 +0000)]
Fix the interaction between --prefix and --with-layout.  We were
over-writing the specified prefix during --with-layout processing.  By
keeping a copy of the specified prefix, and resetting it after the
layout processing, this is fixed.
PR: 7755

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

23 years agoMake sure that installbuilddir is always defined.
Ryan Bloom [Mon, 3 Sep 2001 03:06:12 +0000 (03:06 +0000)]
Make sure that installbuilddir is always defined.

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

23 years ago**NO CODE CHANGES**
Justin Erenkrantz [Sun, 2 Sep 2001 17:44:39 +0000 (17:44 +0000)]
**NO CODE CHANGES**
This is a reformat commit *ONLY*
Please drive on through.

(If I have to work with this file any more, I want it in our style...)

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

23 years ago- Remove extra include_module line - dunno how that got there.
Justin Erenkrantz [Sun, 2 Sep 2001 17:12:55 +0000 (17:12 +0000)]
- Remove extra include_module line - dunno how that got there.
- make lazy_eval_sentinel a const
- create #define for &lazy_eval_sentinel (LAZY_VALUE)
- create get_include_var function (get, check, get real value if lazy)
- cleanup the printenv call to be a bit more streamlined (can't use
  get_include_var here since it is iterating through the table here -
  well, you could do that, but I won't...)

Submitted by: Greg Stein (concept)
Reviewed by: Justin Erenkrantz

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

23 years agoMake mod_include do lazy evaluation of potentially expensive to
Justin Erenkrantz [Sun, 2 Sep 2001 08:43:23 +0000 (08:43 +0000)]
Make mod_include do lazy evaluation of potentially expensive to
compute variables.

Tested with httpd-test's printenv.shtml.

(Justin threw in one or two unrelated formatting nits)
Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Justin Erenkrantz

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

23 years agoWe should be copying the filters as well when we perform the extension merge
Justin Erenkrantz [Sun, 2 Sep 2001 08:34:45 +0000 (08:34 +0000)]
We should be copying the filters as well when we perform the extension merge
(which seems to use a ; syntax).

Try:
AddOutputFilter GZ html  (server-level)
AddOutputFilter Includes html  (directory-level)

Oops.

Without this, when you use mod_gz and go to /foobarnotthere/, the error
page isn't handled by mod_include.  Oooops.

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

23 years agoFix logging of bytes sent for HEAD requests. %b and %B should
Ryan Bloom [Sun, 2 Sep 2001 03:21:47 +0000 (03:21 +0000)]
Fix logging of bytes sent for HEAD requests.  %b and %B should
log either - or 0, before this patch, they were both logging
the file size.

PR: 8021
Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp>

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

23 years agoMake mod_include check for BYTE_COUNT_THRESHOLD on a per-bucket basis
Justin Erenkrantz [Sun, 2 Sep 2001 01:09:02 +0000 (01:09 +0000)]
Make mod_include check for BYTE_COUNT_THRESHOLD on a per-bucket basis
rather than on a per-character basis.  A significant amount of time
was spent checking the limit.  A better place to check for the threshold
is when we read the bucket in not as we read each character in the bucket.

If a bucket manages to be 200MB, it is not this code's problem as it
is a mere filter.

I ran this with the mod_include stuff in httpd-test and it looks good
from here.

Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Justin Erenkrantz, Ryan Bloom, Greg Stein, Cliff Woolley,
Paul Reder, etc, etc, etc...

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

23 years ago After some consideration - Location walk is always required (before and
William A. Rowe Jr [Sat, 1 Sep 2001 05:21:16 +0000 (05:21 +0000)]
  After some consideration - Location walk is always required (before and
  after any other map_to_storage operations.)  Therefore, initialize any
  NULL r->per_dir_config at this phase (the earliest necessary point.)

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

23 years ago Finish a thought. I'm hoping this drops the number of obnoxous requests
William A. Rowe Jr [Sat, 1 Sep 2001 04:07:39 +0000 (04:07 +0000)]
  Finish a thought.  I'm hoping this drops the number of obnoxous requests
  to bugs for mime.types changes back down to mostly valid requests.

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

23 years ago I love it when a plan comes together.
William A. Rowe Jr [Sat, 1 Sep 2001 02:38:18 +0000 (02:38 +0000)]
  I love it when a plan comes together.

  We hadn't prepared for this possibility that someone didn't set up the
  r->per_dir_config (which the subreq's didn't).  Since we are first in
  line, we will handle it if need be.

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

23 years ago Move ForceType/SetHandler from mod_mime to core, copy the Set*Filter
William A. Rowe Jr [Sat, 1 Sep 2001 02:25:22 +0000 (02:25 +0000)]
  Move ForceType/SetHandler from mod_mime to core, copy the Set*Filter
  description for Add*Filter in mod_mime, and cross reference them.

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

23 years ago Ahhh, a const headache. Here's a flag that is writeable.
William A. Rowe Jr [Fri, 31 Aug 2001 22:33:24 +0000 (22:33 +0000)]
  Ahhh, a const headache.  Here's a flag that is writeable.

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

23 years ago Since we can preserve and further canonicalize the subreq_file name onto
William A. Rowe Jr [Fri, 31 Aug 2001 22:29:28 +0000 (22:29 +0000)]
  Since we can preserve and further canonicalize the subreq_file name onto
  a canonical r->filename, let's do so.

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

23 years ago Add some notes of things I noticed while proofing. We still need a
William A. Rowe Jr [Fri, 31 Aug 2001 22:07:05 +0000 (22:07 +0000)]
  Add some notes of things I noticed while proofing.  We still need a
  resolution to rnew->chunked = r->chunked in subrequests!

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

23 years ago These no longer work, and even though most of this whole
William A. Rowe Jr [Fri, 31 Aug 2001 21:43:53 +0000 (21:43 +0000)]
  These no longer work, and even though most of this whole
  <IfModule mod_proxy.c> section doesn't work today, at least
  get the syntax right for <Proxy > blocks.

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

23 years agoLet's see if I can commit from win2000 using plink.
Joshua Slive [Fri, 31 Aug 2001 19:54:07 +0000 (19:54 +0000)]
Let's see if I can commit from win2000 using plink.

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

23 years agoAllow us to build APR before APR-util, but clean APR-util before
Ryan Bloom [Fri, 31 Aug 2001 17:02:23 +0000 (17:02 +0000)]
Allow us to build APR before APR-util, but clean APR-util before
APR.  This should fix the build for BeOS.

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

23 years agoInstall the mod_core.h file. Mod_proxy relies on it.
Ryan Bloom [Fri, 31 Aug 2001 15:32:31 +0000 (15:32 +0000)]
Install the mod_core.h file.  Mod_proxy relies on it.
Submitted by: Ian Holsman <ianh@cnet.com>

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

23 years ago Can it be this simple? No, probably not, but this fast-hack will get
William A. Rowe Jr [Fri, 31 Aug 2001 13:45:16 +0000 (13:45 +0000)]
  Can it be this simple?  No, probably not, but this fast-hack will get
  us going again for a while.

  We are currently rejecting some internal file_sub_req()'s in the
  translate phase.  I don't like this hack because of risks it potentially
  exposes, but for today, if we have a filename - and we are a subrequest,
  then let it fly without further mapping.  This allows us to serve up
  the default "/" request (run through mod_dir->mod_negotiation->mod_mime)
  without a 400 error.  The right solution is to set up some traps and
  escapes for the subreq mechanism, possibly with a subreq translate hook,
  and drop the URI entirely for these cases.

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

23 years agoresolve_symlink() is only used if REPLACE_PATH_INFO_METHOD is
Jeff Trawick [Fri, 31 Aug 2001 10:58:47 +0000 (10:58 +0000)]
resolve_symlink() is only used if REPLACE_PATH_INFO_METHOD is
defined

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

23 years agoWith my normal sense of missing the boat :)
David Reid [Fri, 31 Aug 2001 09:47:53 +0000 (09:47 +0000)]
With my normal sense of missing the boat :)

This gets the build working on BeOS again :)  Apologies for the delay :(

Jeff changed the order of apr-util and apr to solve a "cleaning" issue but
that makes me uncomfortable as apr-util is dependant on apr, so if we clean
apr-util we shouldn't be altering anything in apr.  If I decide to rebuild
apr-util then apr should still be buildable.  Sorry Jeff but I think we need
a different solution :(

Submitted by: Peter Schultz <pete@beforever.com>

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

23 years agoUse the full path for libraries. (This has been in my tree for ages...)
David Reid [Fri, 31 Aug 2001 09:12:10 +0000 (09:12 +0000)]
Use the full path for libraries.  (This has been in my tree for ages...)

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

23 years agoAs I understand it, this test is supposed to read like so:
Cliff Woolley [Fri, 31 Aug 2001 05:05:58 +0000 (05:05 +0000)]
As I understand it, this test is supposed to read like so:

----------------------------------------------------
if the base paths are the same
    if (strncmp(rnew->filename, fdir, fdirlen) == 0

and there's more stuff in the new filename than just the base path
        && rnew->filename[fdirlen]

and that stuff contains no slashes
        && ap_strchr_c(rnew->filename + fdirlen, '/') == NULL)
----------------------------------------------------

Assuming that's a correct translation, which I believe to be the case
(and which also seems to jive with the previous version of the test),
then that first part darned well better check == 0, as opposed to != 0.
strncmp returns 0 when they match.  =-)

And voila,
"All tests successful, 1 test skipped."
is the result from httpd-test

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

23 years agoRyan apparently bumped this back DOWN from 2.0.25 to 2.0.25-dev after the
Cliff Woolley [Fri, 31 Aug 2001 04:01:19 +0000 (04:01 +0000)]
Ryan apparently bumped this back DOWN from 2.0.25 to 2.0.25-dev after the
last tag, rather than UP to 2.0.26-dev.  =-)

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

23 years ago Now that stinks, sorry. In moving code - I didn't notice my code
William A. Rowe Jr [Fri, 31 Aug 2001 03:49:42 +0000 (03:49 +0000)]
  Now that stinks, sorry.  In moving code - I didn't notice my code
  now served out (r) info instead of the (rnew) info.  Made for nasty
  cyclic loops in mod_dir :(

  It looks like this works once again.  I'll post completed deltas to
  the list ASAP.

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

23 years ago Much better - sorry - I missed one case of forcing pipeline flush when
William A. Rowe Jr [Fri, 31 Aug 2001 02:46:29 +0000 (02:46 +0000)]
  Much better - sorry - I missed one case of forcing pipeline flush when
  the handler returned a non-OK result.  ergo, 304's weren't sent.

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

23 years ago Invoking the handler must occur at the caller's discression, in order
William A. Rowe Jr [Fri, 31 Aug 2001 02:31:08 +0000 (02:31 +0000)]
  Invoking the handler must occur at the caller's discression, in order
  for the sub_req mechanism to share this code.

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

23 years ago After calling ap_process_request_internal(), the caller must invoke
William A. Rowe Jr [Fri, 31 Aug 2001 02:29:48 +0000 (02:29 +0000)]
  After calling ap_process_request_internal(), the caller must invoke
  the handler themselves.

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

23 years ago Move the ap_run_insert_filters to consistently occur in
William A. Rowe Jr [Fri, 31 Aug 2001 02:23:25 +0000 (02:23 +0000)]
  Move the ap_run_insert_filters to consistently occur in
  ap_process_request_internal.  This allows the sub_req handler
  to alter the filters before the subreq is actually run.

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

23 years ago Normalize all paths to run the same, common code for pre-request setup
William A. Rowe Jr [Fri, 31 Aug 2001 01:50:15 +0000 (01:50 +0000)]
Normalize all paths to run the same, common code for pre-request setup
    from the primary request, redirects and sub-requests.

    This will significantly reduce opporunities for inconsistancy (such
    as Ian observed, and as I repaired only a month ago.)

    This promotes process_request_internal to an ap_ namespace protected
    entity in server/request.c (from it's old home in http/http_request.c)
    since this fn has no http specifics.

Reviewed (in concept): Cliff Woolley, Ian Holsman

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

23 years ago Normalize all paths to run the same, common code for pre-request setup
William A. Rowe Jr [Fri, 31 Aug 2001 01:38:06 +0000 (01:38 +0000)]
  Normalize all paths to run the same, common code for pre-request setup
  from the primary request, redirects and sub-requests.

  This will significantly reduce opporunities for inconsistancy (such
  as Ian observed, and as I repaired only a month ago.)

  This promotes process_request_internal to an ap_ namespace protected
  entity in server/request.c (from it's old home in http/http_request.c)
  since this fn has no http specifics.

Reviewed (in concept): Cliff Woolley, Ian Holsman

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

23 years ago The add-in/strip-off temporary trailing slash logic was really hosed
William A. Rowe Jr [Thu, 30 Aug 2001 23:58:23 +0000 (23:58 +0000)]
  The add-in/strip-off temporary trailing slash logic was really hosed
  in the new (not yet enabled) code path.  Now it's slightly hosed.

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

23 years agogather all of the cflags for compiling with apxs
Doug MacEachern [Thu, 30 Aug 2001 23:18:39 +0000 (23:18 +0000)]
gather all of the cflags for compiling with apxs

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

23 years agoFix a segfault with mod_include when r->path_info is not set
Justin Erenkrantz [Thu, 30 Aug 2001 21:29:15 +0000 (21:29 +0000)]
Fix a segfault with mod_include when r->path_info is not set
(which is the case with mod_proxy).

My only question about this is whether we should place some value
(such as <UNKNOWN>) when path_info isn't set.

Submitted by: Ian Holsman <ianh@cnet.com>
Reviewed by: Justin Erenkrantz

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

23 years agoAdd -X functionality back to httpd.
Justin Erenkrantz [Thu, 30 Aug 2001 20:50:06 +0000 (20:50 +0000)]
Add -X functionality back to httpd.

- Updates upgrading.html
- Reverts Aaron's earlier docco patch (sorry...)
- Adds -X to all mpms in the tree

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

23 years ago Fix the new code (not currently enabled) for directory_walk
William A. Rowe Jr [Thu, 30 Aug 2001 20:48:06 +0000 (20:48 +0000)]
  Fix the new code (not currently enabled) for directory_walk

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

23 years agoAs suggested by Ryan and OtherBill, change the way that
Jeff Trawick [Thu, 30 Aug 2001 20:27:05 +0000 (20:27 +0000)]
As suggested by Ryan and OtherBill, change the way that
mod_charset_lite checks to see if its filter will be
added by another module.  Now, we run our insert-filter
hook really last and look at the actual filter chain.

(Note that http runs even later but it doesn't currently
do anything which would interfere.)

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

23 years ago Undo another int type'ed port (and format a little structure for legibility).
William A. Rowe Jr [Thu, 30 Aug 2001 19:48:02 +0000 (19:48 +0000)]
  Undo another int type'ed port (and format a little structure for legibility).

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

23 years ago Fix a broken declaration (supress type conversion warning on win32).
William A. Rowe Jr [Thu, 30 Aug 2001 19:43:03 +0000 (19:43 +0000)]
  Fix a broken declaration (supress type conversion warning on win32).

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

23 years agowhen we bail out due to a fatal error in apr_shm_init(), be sure
Jeff Trawick [Thu, 30 Aug 2001 15:44:13 +0000 (15:44 +0000)]
when we bail out due to a fatal error in apr_shm_init(), be sure
to print the apr_status_t in numeric form

the old message

lt-httpd: could not open(create) scoreboard: Unknown resolver error

wasn't so useful, but the new, improved message

lt-httpd: could not open(create) scoreboard: (22528)Unknown resolver error

makes it look like a syscall is returning ENOSPC and that apr shmem
is returning (APR_OS_START_SYSERR + errno) instead of simply errno.

off to APR land...

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

23 years ago Same as Jeff Trawick's patch [thank you!] only a tad faster, and error
William A. Rowe Jr [Thu, 30 Aug 2001 14:54:50 +0000 (14:54 +0000)]
  Same as Jeff Trawick's patch [thank you!] only a tad faster, and error
  out on the old Set{Input|Output}Filter onefilter twofilter syntax
  (prior to this patch, only the last filter in a space seperated list
  would be configured.)

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

23 years agoAfter committing Brian Havard's fix to Unix file_io yesterday,
Jeff Trawick [Thu, 30 Aug 2001 13:37:16 +0000 (13:37 +0000)]
After committing Brian Havard's fix to Unix file_io yesterday,
we seem to be reading/seeking .var files fine on Unix even with
buffering turned on.

wrowe reports that they're working on Win32 also.

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

23 years agosince the core now stores the input and output filter lists in a
Jeff Trawick [Thu, 30 Aug 2001 12:29:37 +0000 (12:29 +0000)]
since the core now stores the input and output filter lists in a
different format, mod_charset_lite needs different logic to walk
through it

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

23 years agofix an endless loop (well, until you run out of storage from
Jeff Trawick [Thu, 30 Aug 2001 11:42:59 +0000 (11:42 +0000)]
fix an endless loop (well, until you run out of storage from
tiny apr_pstrdup() calls and your machine crashes) when you
have a filter chain

  ap_getword() returns an empty string, not a NULL string,
  when there are no more words

fix a segfault when you don't have a filter chain

  ap_getword() does not check for a NULL string to search

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

23 years ago Thank you again for the proxy autobuild reports ;)
William A. Rowe Jr [Thu, 30 Aug 2001 08:26:08 +0000 (08:26 +0000)]
  Thank you again for the proxy autobuild reports ;)

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

23 years agoUse the correct macros in unix.h
Ryan Bloom [Thu, 30 Aug 2001 06:36:41 +0000 (06:36 +0000)]
Use the correct macros in unix.h

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

23 years ago * configure.in: added Cygwin specific APR_SETVARs.
William A. Rowe Jr [Thu, 30 Aug 2001 05:52:25 +0000 (05:52 +0000)]
  * configure.in: added Cygwin specific APR_SETVARs.

  * os/config.m4: added Cygwin specific values for $OS and $OS_DIR.
    $OS_DIR will change to "cygwin" as soon as I get the DSO/DLL things
    clean as with 1.3.20.

  * support/logresolve.c: added OS specific #ifdef statement to define
    h_errno as extern __declspec(dllimport); it's imported from the
    cygwin1.dll itself.

Submitted by: Stipe Tolj <tolj@wapme-systems.de>

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

23 years agodont block when handling non-ssl request
Doug MacEachern [Thu, 30 Aug 2001 05:33:57 +0000 (05:33 +0000)]
dont block when handling non-ssl request

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

23 years agofix ap_remove_output_filter; the recent change to use remove_any_filter made
Doug MacEachern [Thu, 30 Aug 2001 05:25:31 +0000 (05:25 +0000)]
fix ap_remove_output_filter; the recent change to use remove_any_filter made
it possible to wipe out the entire filter chain.  and then when
ap_finalize_request_protocol was called, r->output_filters was NULL,
preventing data from being flushed to the client.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years ago No <sys/ipc.h> under cygwin.
William A. Rowe Jr [Thu, 30 Aug 2001 05:11:42 +0000 (05:11 +0000)]
  No <sys/ipc.h> under cygwin.

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

23 years ago Changed syntax of Set{Input|Output}Filter. The list of filters
William A. Rowe Jr [Thu, 30 Aug 2001 05:10:54 +0000 (05:10 +0000)]
 Changed syntax of Set{Input|Output}Filter.  The list of filters
     must be semicolon delimited (if more than one filter is given.)
     The Set{Input|Output}Filter directive now overrides a parent
     container's directive (e.g. SetInputFilter in <Directory /web/foo>
     will override any SetInputFilter directive in <Directory /web>.)
     This new syntax is more consistent with Add{Input|Output}Filter
     directives defined in mod_mime.  Also cures a bug in prior releases
     where the Set{Input|Output}Filter directive would corrupt the
     global configuration if the multiple directives were nested.
     [William Rowe]

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

23 years ago Since the mod_mime patch was applied, here is the rest of the patch to
William A. Rowe Jr [Thu, 30 Aug 2001 04:24:09 +0000 (04:24 +0000)]
  Since the mod_mime patch was applied, here is the rest of the patch to
  introduce the ForceType and SetHandler [absolute references] directly
  into the very top of the fixups phase.  This means these will always
  override _any_ mime module, not just mod_mime.  Ergo, other mime modules
  can continue to set charset, encodings, etc.  Since these are globals,
  they belong in the core.

  This highlights a very serious drawback to the type_checker hook.  By
  using run first, a module that identifies _partial_ information (maybe
  just the content type) won't pass the query on to other modules, like
  mod_mime, that might further define the encoding or charset.  The
  type_checker hook should clearly become a run-all, and the modules should
  decline if they see someone ahead of them answered a question they were
  going to try to figure.

  Which means - if type_checker becomes RUN_ALL - this new override hook
  fn should become a type_checker again - and RUN_REALLY_FIRST, and let
  other modules _choose_ not to override this election.  (We can run it
  again at the end, for a recount ;)  Votes?

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

23 years ago Fix mod_mime skipping over mime.types when some _other_ field was set
William A. Rowe Jr [Thu, 30 Aug 2001 04:11:57 +0000 (04:11 +0000)]
  Fix mod_mime skipping over mime.types when some _other_ field was set
  with mod_mime, but not AddType.

  Why is everybody always breaking my local CHANGES file ;-?

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

23 years agofix suexec's install by invoking some powerful Sascha magic.
Greg Ames [Thu, 30 Aug 2001 03:45:30 +0000 (03:45 +0000)]
fix suexec's install by invoking some powerful Sascha magic.

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

23 years agoMake CACHE_IN and CACHE_CONDITIONAL AP_FTYPE_CONTENT filters. Comtemplating
Bill Stoddard [Thu, 30 Aug 2001 02:55:08 +0000 (02:55 +0000)]
Make CACHE_IN and CACHE_CONDITIONAL AP_FTYPE_CONTENT filters.  Comtemplating
making a new filter type, AP_FTYPE_CACHE.  We need to run CACHE_IN immediately
after the handlers are done and before we run the content through any filters.

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

23 years agoOoops, this should have been committed along with mod_mem_cache changes.
Bill Stoddard [Thu, 30 Aug 2001 02:51:26 +0000 (02:51 +0000)]
Ooops, this should have been committed along with mod_mem_cache changes.
Keep track of the number of body bytes written to the cache.

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

23 years agoThree small changes...
Bill Stoddard [Thu, 30 Aug 2001 02:49:40 +0000 (02:49 +0000)]
Three small changes...
1. Change CACHE_TYPE_MALLOC to CACHE_TYPE_HEAP
2. Enable cacheing content contained in multiple brigades
3. Don't cache an entry more than once.

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

23 years agoUpdate the comments regarding -DONE_PROCESS and -DNO_DETACH since
Cliff Woolley [Thu, 30 Aug 2001 01:00:50 +0000 (01:00 +0000)]
Update the comments regarding -DONE_PROCESS and -DNO_DETACH since
-X doesn't exist anymore.

Submitted by: Aaron Bannert

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

23 years agoAdded some bulletproofing to memory allocation in the LDAP cache
Graham Leggett [Thu, 30 Aug 2001 00:46:25 +0000 (00:46 +0000)]
Added some bulletproofing to memory allocation in the LDAP cache
code.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoRemove the declarations for variables that were moved into the core.
Ryan Bloom [Wed, 29 Aug 2001 23:17:39 +0000 (23:17 +0000)]
Remove the declarations for variables that were moved into the core.

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

23 years agoBump after the tag.
Ryan Bloom [Wed, 29 Aug 2001 18:24:40 +0000 (18:24 +0000)]
Bump after the tag.

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

23 years agoForgot to bump these numbers before the tag. Re-tagging these three
Ryan Bloom [Wed, 29 Aug 2001 18:23:08 +0000 (18:23 +0000)]
Forgot to bump these numbers before the tag.  Re-tagging these three
files only.

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

23 years agoFinish documenting /manual location change
Martin Kraemer [Wed, 29 Aug 2001 12:35:21 +0000 (12:35 +0000)]
Finish documenting /manual location change

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

23 years agoFrom Mark Cox:
Jeff Trawick [Wed, 29 Aug 2001 12:29:36 +0000 (12:29 +0000)]
From Mark Cox:

I've had a couple of emails from users using mod_usertrack for authentication.
Add the equivalent of a "warning: coffee may be hot" label, and fix a broken
email address at the same time.

Submitted by: Mark Cox

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

23 years agoFix some warnings...
Graham Leggett [Tue, 28 Aug 2001 23:45:30 +0000 (23:45 +0000)]
Fix some warnings...
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoupdate from Mr. Slive's comments
Jeff Trawick [Tue, 28 Aug 2001 23:34:30 +0000 (23:34 +0000)]
update from Mr. Slive's comments

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

23 years agoAdd specified user attributes to the environment when using
Graham Leggett [Tue, 28 Aug 2001 23:16:12 +0000 (23:16 +0000)]
Add specified user attributes to the environment when using
mod_auth_ldap. This allows you to use mod_include to embed specified
user attributes in a page like so:
Hello <!--#echo var="AUTHENTICATE_CN"-->, how are you?
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agogross
Jeff Trawick [Tue, 28 Aug 2001 21:00:40 +0000 (21:00 +0000)]
gross

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

23 years ago Fix a typo for documentation consistency.
William A. Rowe Jr [Tue, 28 Aug 2001 19:54:54 +0000 (19:54 +0000)]
  Fix a typo for documentation consistency.

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

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