]> granicus.if.org Git - apache/log
apache
22 years agoCorrect SSI time format reference.
Joshua Slive [Thu, 25 Apr 2002 19:00:20 +0000 (19:00 +0000)]
Correct SSI time format reference.

Submitted by: masao@ulis.ac.jp (Masao Takaku)
PR: 8449

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

22 years agoAllow mod_unique_id to work on systems with no IPv4 address
Jeff Trawick [Thu, 25 Apr 2002 18:04:40 +0000 (18:04 +0000)]
Allow mod_unique_id to work on systems with no IPv4 address
corresponding to their host name.

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

22 years ago Trade one signedness mismatch for another, but choose the one that is
William A. Rowe Jr [Thu, 25 Apr 2002 18:03:41 +0000 (18:03 +0000)]
  Trade one signedness mismatch for another, but choose the one that is
  known to be a positive value.

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

22 years ago Not yet added to the default build, but curious if they build and run.
William A. Rowe Jr [Thu, 25 Apr 2002 18:01:44 +0000 (18:01 +0000)]
  Not yet added to the default build, but curious if they build and run.
  mod_deflate tested with both zlib 1.1.3/1.1.4, unpacked in srclib/zlib/.
  Zlib only seems to have .dll builds, not very efficient when a single
  binary is built against sources, so we compile the appropriate sources.
  Your mileage may vary.

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

22 years agoI just posted a few bug fixes that need to go into the worker MPM, so
Aaron Bannert [Thu, 25 Apr 2002 17:29:19 +0000 (17:29 +0000)]
I just posted a few bug fixes that need to go into the worker MPM, so
I'm -1 here until those are fixed. I also think we need to do a lot more
load/soak/burn testing on worker before we switch it to be the default.
(and maybe by that time we'll have a better candidate for the hybrid
MP/MT MPM).

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

22 years agoBrain dump and a vote
Bill Stoddard [Thu, 25 Apr 2002 17:20:59 +0000 (17:20 +0000)]
Brain dump and a vote

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

22 years agodemote the Content-Range/416/SSI problem to non-showstopper.
Greg Ames [Thu, 25 Apr 2002 17:05:56 +0000 (17:05 +0000)]
demote the Content-Range/416/SSI problem to non-showstopper.

It's been happening for ages, there are no PRs I'm aware of, and the core
dumps that happened as a side effect in 2.0.35 seem to be resolved.

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

22 years agoBump after the tag.
Sander Striker [Thu, 25 Apr 2002 12:15:53 +0000 (12:15 +0000)]
Bump after the tag.

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

22 years agoBump for the tag
Sander Striker [Thu, 25 Apr 2002 12:04:34 +0000 (12:04 +0000)]
Bump for the tag

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

22 years agoDuring the 1.3->2.0 migragrion; ab its #defined VERSION own string was replaced
Dirk-Willem van Gulik [Thu, 25 Apr 2002 08:31:13 +0000 (08:31 +0000)]
During the 1.3->2.0 migragrion; ab its #defined VERSION own string was replaced
by that of the base server distribution it sits in. Propably by accident.

This is propably not a good idea - as ideally one would like to be able to compare
ab runs as much as possible - even across releases of apache 2.0 - assuming ab or
the dependent APR has not changed (note to self: we do not track APR in our version
structure). This commit decouples the version strings for now. Though the actual
value may be nicely confusing.

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

22 years agoFix suexec invocations from userdir - the ~ was not being prepended to the
Justin Erenkrantz [Thu, 25 Apr 2002 07:18:40 +0000 (07:18 +0000)]
Fix suexec invocations from userdir - the ~ was not being prepended to the
uid per our convention.  Therefore, bad things would happen (like we
wouldn't cd to the right directory).

Add a flag to the ap_unix_identity_t structure to indicate if we are in
a userdir - if so, prefix the ~.

(Modified by Justin, but Colm's patch pointed me in the right direction.)

PR: 7810
Submitted by: Colm <colmmacc@redbrick.dcu.ie>
Reviewed by: Justin Erenkrantz

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

22 years agoSince UserDir is a raw argument, our config system allows it to be blank.
Justin Erenkrantz [Thu, 25 Apr 2002 06:16:06 +0000 (06:16 +0000)]
Since UserDir is a raw argument, our config system allows it to be blank.
To save us all the hassle, just flat out reject this silliness.  We could
treat blank as ".", but let the user shoot themselves in the foot
explicitly (and don't give them any ideas on how to do it).

PR: 8472

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

22 years agoWe must always use case-insensitive comparisons in mod_mime even if
Justin Erenkrantz [Thu, 25 Apr 2002 05:40:15 +0000 (05:40 +0000)]
We must always use case-insensitive comparisons in mod_mime even if
our platform is not "case-blind."  This matches 1.3 behavior and our
docs say that the extension argument is case-insensitive anyway.

This is case where the code fix is easier than the doc fix.  =)

PR: 8223

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

22 years agoGet proxy protocol modules to build on OS/2. This adds the mod_proxy dll's
Brian Havard [Thu, 25 Apr 2002 03:16:44 +0000 (03:16 +0000)]
Get proxy protocol modules to build on OS/2. This adds the mod_proxy dll's
import library to the link, making the public symbols in it available to the
protocol modules at build time.

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

22 years agoDocument the recent AB changes since they have the potential to change
Aaron Bannert [Wed, 24 Apr 2002 23:28:38 +0000 (23:28 +0000)]
Document the recent AB changes since they have the potential to change
the meaning of test results.

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

22 years agoOooops!
Graham Leggett [Wed, 24 Apr 2002 17:43:53 +0000 (17:43 +0000)]
Oooops!
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoAdd an intelligent error message should no proxy submodules be
Graham Leggett [Wed, 24 Apr 2002 17:40:48 +0000 (17:40 +0000)]
Add an intelligent error message should no proxy submodules be
valid to handle a request.
PR: 8407
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoMention my AB fixes.
Aaron Bannert [Wed, 24 Apr 2002 17:24:43 +0000 (17:24 +0000)]
Mention my AB fixes.

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

22 years agoMajor improvement in concurrent processing for AB:
Aaron Bannert [Wed, 24 Apr 2002 17:09:59 +0000 (17:09 +0000)]
Major improvement in concurrent processing for AB:
- Enable non-blocking connects.
- Prevent quasi-blocking mode apr_recv (which would prevent AB from
  multiplexing over the entire descriptor set).
- Catch other fatal apr_recv() errors.

[This patch is slightly different than the one posted to the dev list,
but regardless thanks to the many people who reviewed this.]

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

22 years agodefault_handler: short circuit the method checks. Move the code to deal
Greg Ames [Wed, 24 Apr 2002 14:31:28 +0000 (14:31 +0000)]
default_handler: short circuit the method checks.  Move the code to deal
with unusual methods to the end of function to reduce i-cache clutter.

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

22 years agoAdd a configuration block for the OS/2 MPM.
Brian Havard [Wed, 24 Apr 2002 14:24:35 +0000 (14:24 +0000)]
Add a configuration block for the OS/2 MPM.

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

22 years ago A nice end to a crazy day... laptop's fixed and life goes on.
William A. Rowe Jr [Wed, 24 Apr 2002 04:34:37 +0000 (04:34 +0000)]
  A nice end to a crazy day... laptop's fixed and life goes on.

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

22 years ago A bug affecting any platform that had pre-lstat'ed the file or directory
William A. Rowe Jr [Wed, 24 Apr 2002 04:20:10 +0000 (04:20 +0000)]
  A bug affecting any platform that had pre-lstat'ed the file or directory
  in question.  We neglected to clear the FINFO_LINK bit that told us this
  was lstat()ed, but also causes stat() to follow an lstat() approach.
  This is part 2 of 2 to correct the NTFS Junction (symlink) bug.

  Bugz report 8014, identified by Sam Morris <sam@netcity.co.uk>

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

22 years ago Formatting irk grinding at me while stepping code
William A. Rowe Jr [Wed, 24 Apr 2002 03:52:59 +0000 (03:52 +0000)]
  Formatting irk grinding at me while stepping code

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

22 years agoFixed the NetWare AWK script that produces the httpd.conf file so that it
Bradley Nicholes [Tue, 23 Apr 2002 23:32:33 +0000 (23:32 +0000)]
Fixed the NetWare AWK script that produces the httpd.conf file so that it
understands the new macros.

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

22 years agoThere were multiple PR's about this one
Cliff Woolley [Tue, 23 Apr 2002 23:24:47 +0000 (23:24 +0000)]
There were multiple PR's about this one

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

22 years agoformatting buglet
Cliff Woolley [Tue, 23 Apr 2002 22:52:16 +0000 (22:52 +0000)]
formatting buglet

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

22 years agoSwitch to using new exp_* macros to fix disjointedness problems.
Justin Erenkrantz [Tue, 23 Apr 2002 22:42:03 +0000 (22:42 +0000)]
Switch to using new exp_* macros to fix disjointedness problems.

PR: 8227
Reviewed by: Sander Striker (concept), Aaron Bannert (concept)

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

22 years agoWhoops, NULL is a macro, hence not available here
Cliff Woolley [Tue, 23 Apr 2002 22:15:56 +0000 (22:15 +0000)]
Whoops, NULL is a macro, hence not available here

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

22 years agoThe force-response-1.0 and downgrade-1.0 checks were swapped. This
Justin Erenkrantz [Tue, 23 Apr 2002 22:15:09 +0000 (22:15 +0000)]
The force-response-1.0 and downgrade-1.0 checks were swapped.  This
would mean that downgraded requests were ineligible for force-response
checks.

Previously, 1.3 would do the downgrade in process_request_internal and
then the force-response later on in basic_http_header.

PR: 8357

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

22 years agoI seem to recall this about FreeBSD
Jim Jagielski [Tue, 23 Apr 2002 12:38:51 +0000 (12:38 +0000)]
I seem to recall this about FreeBSD

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

22 years agoJust add a file to use to house some platform dependent knowledge...
Jim Jagielski [Tue, 23 Apr 2002 12:18:35 +0000 (12:18 +0000)]
Just add a file to use to house some platform dependent knowledge...
Right now, just some Darwin notes.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoSync to the latest English version.
Yoshiki Hayashi [Tue, 23 Apr 2002 10:21:22 +0000 (10:21 +0000)]
Sync to the latest English version.

Submitted by: Nobuyuki Morita <marika@plum.freemail.ne.jp>
Reviewd by: Yoshiki Hayashi

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

22 years agoSync to the latest English version.
Yoshiki Hayashi [Tue, 23 Apr 2002 10:20:00 +0000 (10:20 +0000)]
Sync to the latest English version.

Submitted by: Nobuyuki Morita <marika@plum.freemail.ne.jp>, Yoshiki Hayashi

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

22 years agos/.html.html/.html/
Yoshiki Hayashi [Tue, 23 Apr 2002 10:01:38 +0000 (10:01 +0000)]
s/.html.html/.html/

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

22 years agoClarify the remaining problems with Range: headers. The seg faults went away
Greg Ames [Mon, 22 Apr 2002 20:37:34 +0000 (20:37 +0000)]
Clarify the remaining problems with Range: headers.  The seg faults went away
when we changed ap_send_error_response to get rid of resource filters.

This was triggered because we generate a lot of invalid 416 responses for SSI.
That happens because the complete length of the entity body (response) isn't
known accurately until after the C/L filter runs.  That's C/L's job, after all.

Flipping the order of the byterange and C/L filters fixes the invalid
Content-Range headers and 416's.  But then the Content-Length header contains
the full length, rather than the sum of the returned ranges.  That's wrong, but
doesn't seem too hard to fix.

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

22 years agoThis one appears to have been fixed by Greg and Jeff in http_protocol.c
Cliff Woolley [Mon, 22 Apr 2002 19:41:41 +0000 (19:41 +0000)]
This one appears to have been fixed by Greg and Jeff in http_protocol.c
rev 1.408.

showstoppers--;

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

22 years agoFix perchild MPM so that it can be configured with the move to the
Ryan Bloom [Mon, 22 Apr 2002 18:57:12 +0000 (18:57 +0000)]
Fix perchild MPM so that it can be configured with the move to the
experimental directory.  Fix perchild MPM so that it uses ap_gname2id
for groups instead of ap_uname2id.

Submitted by: Scott Lamb <slamb@slamb.org>

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

22 years ago Fix this optimization. We will skip along so long as we aren't at the
William A. Rowe Jr [Mon, 22 Apr 2002 17:33:28 +0000 (17:33 +0000)]
  Fix this optimization.  We will skip along so long as we aren't at the
  right number of components, -or- we mismatch on the current component.

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

22 years ago Small optimization, if we are behind (at the 5th segment, for example),
William A. Rowe Jr [Mon, 22 Apr 2002 16:43:46 +0000 (16:43 +0000)]
  Small optimization, if we are behind (at the 5th segment, for example),
  catch up the segment-count-sorted directory list without string compares.
  Mostly affects win32 which jumps from seg 0 (root) to 4 for UNC path names.

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

22 years agoUpdate for APR rename of apr_get_groupname to apr_group_name_get.
Sander Striker [Mon, 22 Apr 2002 10:27:01 +0000 (10:27 +0000)]
Update for APR rename of apr_get_groupname to apr_group_name_get.

Submitted by: Thom May <thom@planetarytramp.net>

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

22 years agoAcceptPathInfo was totally backwards... it would reject when set to on and
Cliff Woolley [Mon, 22 Apr 2002 08:08:38 +0000 (08:08 +0000)]
AcceptPathInfo was totally backwards... it would reject when set to on and
by default and accept when set to off for the default handler, and would
reject only if set to accept for mod_cgi(d) and mod_isapi.

PR: 8234

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

22 years agoOptimization: short-circuit out of ap_set_byterange() more quickly if the
Brian Pane [Mon, 22 Apr 2002 05:05:50 +0000 (05:05 +0000)]
Optimization: short-circuit out of ap_set_byterange() more quickly if the
client isn't requesting a range

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

22 years agoSkip a potentially heavyweight call to sysconf, plus some
Brian Pane [Mon, 22 Apr 2002 04:48:11 +0000 (04:48 +0000)]
Skip a potentially heavyweight call to sysconf, plus some
local variable initializations, in the common case where the
request is not for the server status page

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

22 years agoAdded the APLOG_TOCLIENT flag to ap_log_rerror() to
Bill Stoddard [Mon, 22 Apr 2002 03:25:40 +0000 (03:25 +0000)]
Added the APLOG_TOCLIENT flag to ap_log_rerror() to
explicitly tell the server that warning messages should be sent
to the client in addition to being recorded in the error log.
Prior to this change, ap_log_rerror() always sent warning
messages to the client. In one case, a faulty CGI script caused
the server to send a warning message to the client that contained
the full path to the CGI script. This could be considered a
minor security exposure.

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

22 years agoFailure to fork cgid is a shooting offense.
Bill Stoddard [Mon, 22 Apr 2002 01:36:49 +0000 (01:36 +0000)]
Failure to fork cgid is a shooting offense.

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

22 years agoIgnore stuff
Cliff Woolley [Sun, 21 Apr 2002 21:09:16 +0000 (21:09 +0000)]
Ignore stuff

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

22 years agoFix HTML 3.2 validation error: &O is not a valid entity. Should be &amp;O
Cliff Woolley [Sun, 21 Apr 2002 19:10:07 +0000 (19:10 +0000)]
Fix HTML 3.2 validation error: &O is not a valid entity.  Should be &amp;O

Reported by: validator.w3.org

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

22 years agoFix mod_autoindex output with SuppressRules turned on.
Cliff Woolley [Sun, 21 Apr 2002 18:35:26 +0000 (18:35 +0000)]
Fix mod_autoindex output with SuppressRules turned on.

PR: 8016
Submitted by: David Shane Holden <dpejesh@yahoo.com>

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

22 years agoUse the day and month names exported from APR, rather than duplicating them
Brian Pane [Sun, 21 Apr 2002 08:41:01 +0000 (08:41 +0000)]
Use the day and month names exported from APR, rather than duplicating them

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

22 years agoAdded ap_recent_rfc822_date(), which uses the recent timestamp cache
Brian Pane [Sun, 21 Apr 2002 07:55:50 +0000 (07:55 +0000)]
Added ap_recent_rfc822_date(), which uses the recent timestamp cache
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoWorkaround to get leader/follower compiling on recent Linuxes:
Brian Pane [Sat, 20 Apr 2002 20:41:33 +0000 (20:41 +0000)]
Workaround to get leader/follower compiling on recent Linuxes:
apr_atomic.h includes some <asm/*.h> header files that clash
with stdlib.h, so I've moved apr_atomic.h so that it's included
after all the other header files.

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

22 years agoPropogate the change to insert "bucket_" into the names of the
Cliff Woolley [Sat, 20 Apr 2002 05:02:30 +0000 (05:02 +0000)]
Propogate the change to insert "bucket_" into the names of the
static functions that operate on various bucket types to make
backtraces more sensible-looking.

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

22 years agoum, one too many negatives in that paragraph. :)
Cliff Woolley [Fri, 19 Apr 2002 23:32:58 +0000 (23:32 +0000)]
um, one too many negatives in that paragraph.  :)

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

22 years agoshowstoppers--;
Cliff Woolley [Fri, 19 Apr 2002 23:31:35 +0000 (23:31 +0000)]
showstoppers--;

showstoppers+=2;  :-(  ...but these might have already been fixed, I just
                       never got a response on-list about them and wanted
                       to note them somewhere where they wouldn't be
                       forgotten

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

22 years agosomebody just wrote a PR on something Paul fixed earlier today;
Jeff Trawick [Fri, 19 Apr 2002 21:30:20 +0000 (21:30 +0000)]
somebody just wrote a PR on something Paul fixed earlier today;
mention that PR in the changelog

PR:      8314

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

22 years agoAdded the NetWare make files to build the proxy modules
Bradley Nicholes [Fri, 19 Apr 2002 21:01:16 +0000 (21:01 +0000)]
Added the NetWare make files to build the proxy modules

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

22 years agoAdded the NetWare .def files to build the proxy modules
Bradley Nicholes [Fri, 19 Apr 2002 21:00:27 +0000 (21:00 +0000)]
Added the NetWare .def files to build the proxy modules

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

22 years agoCorrected the NLM names for the proxy modules
Bradley Nicholes [Fri, 19 Apr 2002 20:57:52 +0000 (20:57 +0000)]
Corrected the NLM names for the proxy modules

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

22 years agoAdded new targets to the project build file to build the separate proxy modules
Bradley Nicholes [Fri, 19 Apr 2002 20:57:01 +0000 (20:57 +0000)]
Added new targets to the project build file to build the separate proxy modules

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

22 years ago Fix Restart and Stop from the service taskbar list.
William A. Rowe Jr [Fri, 19 Apr 2002 19:19:44 +0000 (19:19 +0000)]
  Fix Restart and Stop from the service taskbar list.

PR: 7930
Obtained from: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7930
Submitted by: David Shane Holden <dpejesh@yahoo.com>
Reviewed by: Mladen Turk, William Rowe

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

22 years ago Moved the call to apr_mmap_dup outside the error branch so
Paul J. Reder [Fri, 19 Apr 2002 19:16:23 +0000 (19:16 +0000)]
 Moved the call to apr_mmap_dup outside the error branch so
 that it would actually get called. This fixes a core dump
 at init everytime you use the MMapFile directive. [Paul J. Reder]

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

22 years agoTrigger an error when a LoadModule directive attempts to
Jeff Trawick [Fri, 19 Apr 2002 18:31:20 +0000 (18:31 +0000)]
Trigger an error when a LoadModule directive attempts to
load a module which is built-in.  This is a common error when
switching from a DSO build to a static build.

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

22 years agohot hot hot
Jeff Trawick [Fri, 19 Apr 2002 18:21:45 +0000 (18:21 +0000)]
hot hot hot

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

22 years ago SOCKETs are HANDLEs, but they type mismatch. This fix has now been
William A. Rowe Jr [Fri, 19 Apr 2002 17:51:31 +0000 (17:51 +0000)]
  SOCKETs are HANDLEs, but they type mismatch.  This fix has now been
  verified by the vast majority of folks complaining about the "Not a
  handle" failures in WSADuplicateHandle, later in the code flow.

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

22 years agofix a spelling error in a comment
Jeff Trawick [Fri, 19 Apr 2002 16:04:24 +0000 (16:04 +0000)]
fix a spelling error in a comment

Submitted by: Stas Bekman
Reviewed by: Jeff Trawick

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

22 years agoChange instdso.sh to use libtool --install everywhere and then
Jeff Trawick [Fri, 19 Apr 2002 14:04:30 +0000 (14:04 +0000)]
Change instdso.sh to use libtool --install everywhere and then
clean up some stray files and symlinks that libtool leaves around
on some platforms.  This gets subversion building properly since
it needed a re-link to be performed by libtool at install time,
and the old instdso.sh logic to simply cp the DSO didn't handle
that requirement.

Submitted by: Sander Striker
Reviewed by:  Jeff Trawick

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

22 years agofix a typo in a comment for ap_get_client_block()
Jeff Trawick [Fri, 19 Apr 2002 11:33:29 +0000 (11:33 +0000)]
fix a typo in a comment for ap_get_client_block()

Submitted by: Stas Bekman
Reviewed by: Jeff Trawick

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

22 years agoSome code transformations to improve the generated assembly
Brian Pane [Fri, 19 Apr 2002 08:02:00 +0000 (08:02 +0000)]
Some code transformations to improve the generated assembly
code within the critical region inside the spin locks.  (Shortening
this code path reduces the probability that we'll have to spin.)

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

22 years agoReplaced the mutex around the idle worker stack with
Brian Pane [Fri, 19 Apr 2002 06:33:08 +0000 (06:33 +0000)]
Replaced the mutex around the idle worker stack with
atomic compare-and-swap loops

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

22 years agoSwitch ap_http_filter to use ap_get_brigade and apr_brigade_flatten
Justin Erenkrantz [Thu, 18 Apr 2002 22:50:54 +0000 (22:50 +0000)]
Switch ap_http_filter to use ap_get_brigade and apr_brigade_flatten
instead of ap_getline - this prevents some odd looping issues that
can cause problems.

Also, when we call get_mime_headers to read the trailers, we need
to reset our ctx->state to BODY_NONE - there should only be MIME-header
information (followed by a blank CRLF line) - and we don't know
how much data there will be - so it is by definition BODY_NONE.

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

22 years agoSimplify last commit by only calling cat once (this should hopefully resolve
Justin Erenkrantz [Thu, 18 Apr 2002 18:44:03 +0000 (18:44 +0000)]
Simplify last commit by only calling cat once (this should hopefully resolve
rbb's concern about maintainability and still address mine about annoying /s).

Don't call mkdir when we are the top-level directory.  We *have* to have
been created before hand.

Also add this fix to the bsd_makefile section.

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

22 years agoReplace this bogus check with something that actually works. I have no
Justin Erenkrantz [Thu, 18 Apr 2002 17:51:54 +0000 (17:51 +0000)]
Replace this bogus check with something that actually works.  I have no
idea what this line is attempting to do, but it doesn't work in the
top-level Makefile - causing an error.  Therefore, take the line we use
in APR to check if a file exists.

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

22 years agoThe pedant in me wishes to see all extraneous trailing / go away.
Justin Erenkrantz [Thu, 18 Apr 2002 17:49:41 +0000 (17:49 +0000)]
The pedant in me wishes to see all extraneous trailing / go away.
So, if we are in the top-level makefile, don't add an extra trailing
slash to srcdir, builddir, or VPATH.  It's annoying.

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

22 years agoback out ill-conceived attempt to fix a segfault during
Jeff Trawick [Thu, 18 Apr 2002 17:46:20 +0000 (17:46 +0000)]
back out ill-conceived attempt to fix a segfault during
graceless termination

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

22 years agoMove the mkdir_p check outside of the cache check so that we will always
Justin Erenkrantz [Thu, 18 Apr 2002 17:29:59 +0000 (17:29 +0000)]
Move the mkdir_p check outside of the cache check so that we will always
set that variable.

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

22 years agoAllow VPATH builds to succeed when configured from an empty directory.
Justin Erenkrantz [Thu, 18 Apr 2002 09:01:31 +0000 (09:01 +0000)]
Allow VPATH builds to succeed when configured from an empty directory.

(Justin removed some unneeded changes in Makefile.in.)

Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz

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

22 years agoFix so that we can compile with OpenSSL 0.9.8-dev.
Justin Erenkrantz [Thu, 18 Apr 2002 08:45:34 +0000 (08:45 +0000)]
Fix so that we can compile with OpenSSL 0.9.8-dev.

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

22 years agoFix 'control reaches end of non-void function' warning
Justin Erenkrantz [Thu, 18 Apr 2002 08:27:28 +0000 (08:27 +0000)]
Fix 'control reaches end of non-void function' warning

Submitted by: Ben Collins-Sussman <sussman@collab.net>
Tweaked by:     Justin Erenkrantz

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

22 years agoCcccccchanges.
Justin Erenkrantz [Thu, 18 Apr 2002 08:24:22 +0000 (08:24 +0000)]
Ccccccchanges.

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

22 years agoPerchild has been deemed experimental and has been moved to
Justin Erenkrantz [Thu, 18 Apr 2002 08:16:56 +0000 (08:16 +0000)]
Perchild has been deemed experimental and has been moved to
server/mpm/experimental/perchild.

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

22 years agoPerchild has been deemed experimental and has been moved to
Justin Erenkrantz [Thu, 18 Apr 2002 08:04:57 +0000 (08:04 +0000)]
Perchild has been deemed experimental and has been moved to
server/mpm/experimental/perchild.

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

22 years agoSync up to the latest English version (convert to XHTML).
Yoshiki Hayashi [Thu, 18 Apr 2002 07:42:05 +0000 (07:42 +0000)]
Sync up to the latest English version (convert to XHTML).

Submitted by: Nobuyuki Morita <marika@@plum.freemail.ne.jp>
Reviewed by: Yoshiki Hayashi

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

22 years agoSync up to the latest English version (convert to XHTML).
Yoshiki Hayashi [Thu, 18 Apr 2002 07:09:12 +0000 (07:09 +0000)]
Sync up to the latest English version (convert to XHTML).

Submitted by: Nobuyuki Morita <marika@plum.freemail.ne.jp>
Reviewed by: Yoshiki Hayashi

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

22 years agoTypo.
Martin Kraemer [Thu, 18 Apr 2002 06:26:17 +0000 (06:26 +0000)]
Typo.

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

22 years agoRemove images that are no longer needed.
Joshua Slive [Wed, 17 Apr 2002 21:28:52 +0000 (21:28 +0000)]
Remove images that are no longer needed.

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

22 years ago- reference has been moved to the modules directory
Joshua Slive [Wed, 17 Apr 2002 21:23:06 +0000 (21:23 +0000)]
- reference has been moved to the modules directory
- overview is no longer needed

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

22 years agoContinuing wml removal.
Joshua Slive [Wed, 17 Apr 2002 21:21:42 +0000 (21:21 +0000)]
Continuing wml removal.

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

22 years agoRemoving old WML stuff from the ssl directory. These files are now just plain
Joshua Slive [Wed, 17 Apr 2002 21:20:25 +0000 (21:20 +0000)]
Removing old WML stuff from the ssl directory.  These files are now just plain
old html.

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

22 years agoFix seg fault when garbage collecting an expired entry. remove_entity
Bill Stoddard [Wed, 17 Apr 2002 18:52:32 +0000 (18:52 +0000)]
Fix seg fault when garbage collecting an expired entry.  remove_entity
should just remove the object from the cache and set the cleanup flag
in the object. decrement_refcount will clean the object up when the refcount
goes to zero.

Defect reported by Jean-Jacques Clar at Novell.

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

22 years ago Experimental patch that may mitigate (but not eliminate) the errors in
William A. Rowe Jr [Wed, 17 Apr 2002 16:39:12 +0000 (16:39 +0000)]
  Experimental patch that may mitigate (but not eliminate) the errors in
  [crit] (32538)An operation was attempted on something that is not a socket.
       : Parent: WSADuplicateSocket failed for socket ...
  if the particular stacks' bug is that it won't associate a handle as a
  socket if that handle was duped with DuplicateHandle().  Other bugs with
  unimplemented WSADuplicateSocket are not addressed by this patch.

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

22 years ago Introduced -E startup_logfile_name option to httpd to allow admins
William A. Rowe Jr [Wed, 17 Apr 2002 16:36:28 +0000 (16:36 +0000)]
 Introduced -E startup_logfile_name option to httpd to allow admins
     to begin logging errors immediately.  This provides Win32 users
     an alternative to sending startup errors to the event viewer, and
     allows other daemon tool authors an alternative to logging to stderr.

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

22 years agouse an independent pool for threads so that when we abandon them
Jeff Trawick [Wed, 17 Apr 2002 15:45:27 +0000 (15:45 +0000)]
use an independent pool for threads so that when we abandon them
during graceless termination the cleanups on pchild won't mess with
stuff they are still referencing

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

22 years agoWhen an exception in a worker thread initiates a child shutdown, get things
Brian Havard [Wed, 17 Apr 2002 14:55:20 +0000 (14:55 +0000)]
When an exception in a worker thread initiates a child shutdown, get things
moving sooner by sending a SIGHUP to the accept thread, breaking it out
of its accept/poll.

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

22 years agodon't call strchr(); we have a safer version -- ap_strchr_c()
Jeff Trawick [Wed, 17 Apr 2002 13:06:32 +0000 (13:06 +0000)]
don't call strchr(); we have a safer version -- ap_strchr_c()

Submitted by: Stas Bekman
Reviewed by: Jeff Trawick

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

22 years agoFix subreqs with non-defined Content-Types being served improperly.
Justin Erenkrantz [Wed, 17 Apr 2002 04:09:07 +0000 (04:09 +0000)]
Fix subreqs with non-defined Content-Types being served improperly.

If we do not know a C-T for a subreq, we *must* propogate that
non-knowledge upwards to the main request.

Previously, if you used a DirectoryIndex with a file without a C-T (say
.shtml without AddType), the r->content_type will be kept as
httpd/unix-directory when we promoted the subreq in mod_dir.  Since there
would be no handler on this file, ap_invoke_handler (config.c:355) would
set the handler to be httpd/unix-directory (which was the old C-T of the
dir).  This would then trigger the handler to become httpd/unix-directory.
mod_autoindex would then try to serve the request.  But, the filename
was propogated upwards by mod_dir's DirectoryIndex via
internal_fast_redirect - it would then return a 403 trying to generate a
mod_autoindex page for a file.

Now, we will use ap_default_type() which is correct.

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

22 years ago Tired of 'foo.h not found' messages in the build. Checked ms's docs,
William A. Rowe Jr [Wed, 17 Apr 2002 03:02:02 +0000 (03:02 +0000)]
  Tired of 'foo.h not found' messages in the build.  Checked ms's docs,
  seems xcopy's /y arg goes all the way back to Win95.  This shouldn't
  introduce any hassles.

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

22 years agoAdd warning message when selecting an experimental MPM.
Justin Erenkrantz [Tue, 16 Apr 2002 23:44:56 +0000 (23:44 +0000)]
Add warning message when selecting an experimental MPM.

While this message will scroll by without their reading it, we can
reasonably say that we warned them if they report errors.

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

22 years agoAdded support for the threadpool MPM
Brian Pane [Tue, 16 Apr 2002 23:39:09 +0000 (23:39 +0000)]
Added support for the threadpool MPM

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

22 years agoAnother experimental MPM derived from worker:
Brian Pane [Tue, 16 Apr 2002 23:37:06 +0000 (23:37 +0000)]
Another experimental MPM derived from worker:

The threadpool MPM implements Aaron Bannert's "time-space tradeoff"
design managing idle workers.  Rather than putting accepted connections
into a queue, the threadpool MPM keeps idle worker threads in a stack.
Its dedicated listener thread retrieves an idle worker from the stack
before accepting a connection.  If there are no idle workers, the
listener blocks until a worker becomes available before doing an accept.

In many ways, threadpool is also a variant of leader/follower.  They
both maintain a stack of idle threads.  The difference is that threadpool
has a dedicated listener thread, and leader/follower rotates the listening
responsibility among its worker threads.  In my initial testing, the
leader/follower MPM performs very well on multiprocessor Solaris 8 when
listening on a single port, but poorly when listening on multiple ports.
(I don't know why this is happening.  What I've found so far is that
when you add a poll on the listen socket(s) before the accept in the
leader/follower MPM, all the socket-related syscalls in the httpd get
slower.  My hypothesis is that the thread scheduler is making an optimal
decision about where (on what CPU) to run the newly awakened thread if
its first syscall is an accept, and a nonoptimal decision if its first
syscall is a poll.)  The threadpool MPM performs better with multiple
listener ports, and in my testing so far it looks competitive with
leader/follower when running with a single listener.

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