]> granicus.if.org Git - apache/log
apache
22 years agoThreads on FreeBSD are not my friend.
Aaron Bannert [Wed, 2 Jan 2002 19:34:47 +0000 (19:34 +0000)]
Threads on FreeBSD are not my friend.

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

22 years agoChange the return code from APR_TIMEUP to APR_ECONNABORTED, which seems
Bill Stoddard [Wed, 2 Jan 2002 19:12:40 +0000 (19:12 +0000)]
Change the return code from APR_TIMEUP to APR_ECONNABORTED, which seems
to be a bit more descriptive. Move the check to inside the inner while()
loop and add an additional check for eos. If we get an EOS bucket, there
is no point in going further. Hopefully this will fix the last seg fault
in the function.

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

22 years agoshowstoppers--;
Justin Erenkrantz [Wed, 2 Jan 2002 08:14:47 +0000 (08:14 +0000)]
showstoppers--;

This appears to be due to an API change in LWP 5.61.  A fix has been
committed to httpd-test.  (Works on Linux with prefork and worker now.)

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

22 years agoAdd note about worker MPM weirdness observed on FreeBSD and Cygwin.
Justin Erenkrantz [Wed, 2 Jan 2002 08:13:33 +0000 (08:13 +0000)]
Add note about worker MPM weirdness observed on FreeBSD and Cygwin.
Does anyone else see this?

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

22 years agoshowstoppers--;
Justin Erenkrantz [Wed, 2 Jan 2002 08:05:15 +0000 (08:05 +0000)]
showstoppers--;

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

22 years agoFix LimitRequestBody directive by moving the relevant code from
Justin Erenkrantz [Wed, 2 Jan 2002 07:56:25 +0000 (07:56 +0000)]
Fix LimitRequestBody directive by moving the relevant code from
ap_*_client_block to ap_http_filter (aka HTTP_IN).  This is the
only appropriate place for limit checking to occur (otherwise,
chunked input is not correctly limited).

Also changed the type of limit_req_body to apr_off_t to match the
other types inside of HTTP_IN.  Also made the strtol call for
limit_req_body a bit more robust.

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

22 years agoRemove a needless immortal bucket creation. We can just leave the
Justin Erenkrantz [Wed, 2 Jan 2002 05:29:08 +0000 (05:29 +0000)]
Remove a needless immortal bucket creation.  We can just leave the
brigade as-is.

Suggested by: Cliff

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

22 years agoGeneralized the recent prep_walk_cache optimizations to allow other
Brian Pane [Tue, 1 Jan 2002 20:36:18 +0000 (20:36 +0000)]
Generalized the recent prep_walk_cache optimizations to allow other
modules to register "notes" within the array of working data in
the core_request_config

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

22 years ago Need a null language_priority array for an either/or choice in the
William A. Rowe Jr [Tue, 1 Jan 2002 19:09:05 +0000 (19:09 +0000)]
  Need a null language_priority array for an either/or choice in the
  conf merge.  This does so.  The merges should be significantly quicker.

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

22 years ago Thanks Mr. Trawick, backtraces can be very enlightening.
William A. Rowe Jr [Tue, 1 Jan 2002 19:01:39 +0000 (19:01 +0000)]
  Thanks Mr. Trawick, backtraces can be very enlightening.

  This fixes two bugs, the segfault when researching index numbers,
  and another.  We don't hint anywhere that LanguagePriority is a
  cumulative setting, in fact the syntax doesn't suggest so either.
  Merges are always slow, there is no reason to make this even slower.

  So the patch has the LanguagePriority directive override any existing
  LanguagePriority list from an earlier container.

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

22 years ago Time to commit... before I get lost in the changes
William A. Rowe Jr [Mon, 31 Dec 2001 21:58:42 +0000 (21:58 +0000)]
  Time to commit... before I get lost in the changes

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

22 years agoFix mod_proxy seg fault when the proxied server returns
Bill Stoddard [Mon, 31 Dec 2001 21:03:12 +0000 (21:03 +0000)]
Fix mod_proxy seg fault when the proxied server returns
an HTTP/0.9 response or a bogus status line.

Submitted by: Adam Sussman
Reviewed by: Bill Stoddard

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

22 years agoPrevent mod_proxy from truncating one character off the
Bill Stoddard [Mon, 31 Dec 2001 20:53:28 +0000 (20:53 +0000)]
Prevent mod_proxy from truncating one character off the
end of the status line returned from the proxied server.
Note that buffer is NULL terminated by the call to
ap_proxy_string_read() so there is no need to terminate it
again.

Submitted by: Adam Sussman
Reviewed by: Bill Stoddard

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

22 years agoChange the call to be blocking to eliminate a loop caused when the upstream
Bill Stoddard [Mon, 31 Dec 2001 20:46:22 +0000 (20:46 +0000)]
Change the call to be blocking to eliminate a loop caused when the upstream
host does not send any bytes back our way.

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

22 years agoEliminate loop in ap_proxy_string_read(). Need to be able to handle
Bill Stoddard [Mon, 31 Dec 2001 20:43:59 +0000 (20:43 +0000)]
Eliminate loop in ap_proxy_string_read(). Need to be able to handle
getting an empty brigade from ap_get_brigade(). Also made sure that
we always call ap_get_brigade() in readline mode.

Submitted/Reviewed by: Adam Sussman & Bill Stoddard

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

22 years agoPerformance fix for prep_walk_cache():
Brian Pane [Mon, 31 Dec 2001 08:18:32 +0000 (08:18 +0000)]
Performance fix for prep_walk_cache():

Moved the directory/location/file-walk caches from the
request's pool userdata hash table to the core_request_config
struct.

This change removes about 60% of the processing time from
prep_walk_cache().

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

22 years ago Saw this bug several hours ago, but it slipped my mind. We no longer
William A. Rowe Jr [Mon, 31 Dec 2001 06:47:28 +0000 (06:47 +0000)]
  Saw this bug several hours ago, but it slipped my mind.  We no longer
  skip over the leading '/' character, since the token_re already strips
  the / delimiters.

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

22 years ago Return the correct $n result (assign the val, not the var!)
William A. Rowe Jr [Mon, 31 Dec 2001 06:43:30 +0000 (06:43 +0000)]
  Return the correct $n result (assign the val, not the var!)

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

22 years ago To provide more flexibility in handling quotes, allow the backtick quote
William A. Rowe Jr [Mon, 31 Dec 2001 06:04:45 +0000 (06:04 +0000)]
  To provide more flexibility in handling quotes, allow the backtick quote
  for SSI tag arguments (e.g. <!--#echo val=`foo` -->).  This helps with
  arguments containing both single and double quotes.

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

22 years ago We never test for success in memory allocation
William A. Rowe Jr [Mon, 31 Dec 2001 06:01:09 +0000 (06:01 +0000)]
  We never test for success in memory allocation

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

22 years ago Ever tried to extract some value of QUERY_STRING from within SSI?
William A. Rowe Jr [Mon, 31 Dec 2001 05:58:59 +0000 (05:58 +0000)]
  Ever tried to extract some value of QUERY_STRING from within SSI?
  Now you can :)  Provides $0..$9 results for any regex evaluation,
  and strengthens the expr parser for regex expressions.

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

22 years agoHostNameLookups -> HostnameLookups
kevlo [Mon, 31 Dec 2001 02:29:12 +0000 (02:29 +0000)]
HostNameLookups -> HostnameLookups
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoRemove ConnectionStatus directive. No longer in code.
Joshua Slive [Sun, 30 Dec 2001 19:30:57 +0000 (19:30 +0000)]
Remove ConnectionStatus directive.  No longer in code.

Submitted by: Daniel Lopez <daniel@rawbyte.com>

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

22 years agoRewriteguide typos.
Joshua Slive [Sun, 30 Dec 2001 18:10:36 +0000 (18:10 +0000)]
Rewriteguide typos.

PR: 9315
Submitted by: "John Briggs" <john_briggs@telstra.com>

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

22 years agoI really can't spell negotiation.
Joshua Slive [Sun, 30 Dec 2001 16:08:57 +0000 (16:08 +0000)]
I really can't spell negotiation.

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

22 years agoNow that we are releasing betas, we should have compatibility information in here.
Joshua Slive [Sun, 30 Dec 2001 16:07:09 +0000 (16:07 +0000)]
Now that we are releasing betas, we should have compatibility information in here.

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

22 years agoSome new features updates.
Joshua Slive [Sun, 30 Dec 2001 15:58:32 +0000 (15:58 +0000)]
Some new features updates.

Still lots missing from here, I'm sure.  If you've added a new feature
since 1.3, please check to see if it is here.  (And the same thing
for the "upgrading" doc.)

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

22 years agoAdd the missing SSI... directives to the main directive index.
Joshua Slive [Sun, 30 Dec 2001 15:47:12 +0000 (15:47 +0000)]
Add the missing SSI... directives to the main directive index.

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

22 years agoCleanup the ForceLanguagePriority docs.
Joshua Slive [Sun, 30 Dec 2001 15:45:05 +0000 (15:45 +0000)]
Cleanup the ForceLanguagePriority docs.

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

22 years agoCleanup new directives in mod_include.
Joshua Slive [Sun, 30 Dec 2001 15:34:13 +0000 (15:34 +0000)]
Cleanup new directives in mod_include.

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

22 years agoA little cleanup on the AuthDBMType Directive.
Joshua Slive [Sun, 30 Dec 2001 15:17:48 +0000 (15:17 +0000)]
A little cleanup on the AuthDBMType Directive.

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

22 years agoget rid of an unused variable
Jeff Trawick [Sun, 30 Dec 2001 14:30:44 +0000 (14:30 +0000)]
get rid of an unused variable

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

22 years agoOS/2: Supply the configured libraries to the linker when building loadable
Brian Havard [Sun, 30 Dec 2001 14:05:55 +0000 (14:05 +0000)]
OS/2: Supply the configured libraries to the linker when building loadable
modules. This allows things like mod_deflate to build (needs -lz).

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

22 years agoUpdate OS/2 MPM to allow for run-time configurable scoreboard size.
Brian Havard [Sun, 30 Dec 2001 13:39:42 +0000 (13:39 +0000)]
Update OS/2 MPM to allow for run-time configurable scoreboard size.

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

22 years agoMake calc_scoreboard_size() and init_scoreboard() usable from MPMs.
Brian Havard [Sun, 30 Dec 2001 13:27:48 +0000 (13:27 +0000)]
Make calc_scoreboard_size() and init_scoreboard() usable from MPMs.

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

22 years agoallow mod_include to handle different start/end tags instead of the default
Ian Holsman [Sun, 30 Dec 2001 06:51:21 +0000 (06:51 +0000)]
allow mod_include to handle different start/end tags instead of the default
<!-- --> ones.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agodocument SSIErrorMsg & SSITimeFmt directives
Ian Holsman [Sun, 30 Dec 2001 06:41:14 +0000 (06:41 +0000)]
document SSIErrorMsg & SSITimeFmt directives

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

22 years ago Bad committer! Well, fix everyone else's tabs while I'm in here.
William A. Rowe Jr [Sun, 30 Dec 2001 05:25:26 +0000 (05:25 +0000)]
  Bad committer!  Well, fix everyone else's tabs while I'm in here.

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

22 years ago Gotta have an error doc to serve, even if it's not their favorite
William A. Rowe Jr [Sun, 30 Dec 2001 05:23:36 +0000 (05:23 +0000)]
  Gotta have an error doc to serve, even if it's not their favorite
  language.

  From the http://www.ethnologue.com/ survey of languages, their data
  is, in descending order [in millions, by primary and pri+sec speakers]
  EN  341  508
  ES  322  417
  DE  100  128
  FR   77  128

  So that's the order I chose, and why.

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

22 years ago New directive, new docs
William A. Rowe Jr [Sun, 30 Dec 2001 04:40:40 +0000 (04:40 +0000)]
  New directive, new docs

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

22 years ago Introduce the ForceLanguagePriority options;
William A. Rowe Jr [Sun, 30 Dec 2001 04:14:20 +0000 (04:14 +0000)]
  Introduce the ForceLanguagePriority options;

  Prefer will circumvent a Multiple Choices by electing the first matching
  language from the LanaguagePriority list.

  Fallback will circumvent a None Acceptable by electing the first
  language found from the LanaguagePriority list.

  This breaks [expectedly] the negotiation tests.  They need review.
  My test results will be posted to dev.

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

22 years agoUse r->content_type instead of r->handler to screen out non-html
Brian Pane [Sun, 30 Dec 2001 01:24:14 +0000 (01:24 +0000)]
Use r->content_type instead of r->handler to screen out non-html
requests when doing the xbithack check (thanks to wrowe for the
suggestion)

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

22 years agohandle the disappearance of apr_lock_create_np() and
Jeff Trawick [Sat, 29 Dec 2001 23:16:24 +0000 (23:16 +0000)]
handle the disappearance of apr_lock_create_np() and
apr_proc_mutex_create_np() and the new parameter to
apr_lock_create() and apr_proc_mutex_create()

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

22 years agoFix to make xbithack work again
Brian Pane [Sat, 29 Dec 2001 21:34:04 +0000 (21:34 +0000)]
Fix to make xbithack work again

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

22 years agoDetabify some functions. No functional change.
Bill Stoddard [Sat, 29 Dec 2001 20:32:52 +0000 (20:32 +0000)]
Detabify some functions. No functional change.

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

22 years agotiny cleanup to remove bogus SCOREBOARD_SIZE define
Jeff Trawick [Sat, 29 Dec 2001 19:55:46 +0000 (19:55 +0000)]
tiny cleanup to remove bogus SCOREBOARD_SIZE define

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

22 years ago Improvements to docs [always good]
William A. Rowe Jr [Sat, 29 Dec 2001 17:44:18 +0000 (17:44 +0000)]
  Improvements to docs [always good]

Submitted by: Daniel Lopez <daniel@rawbyte.com>

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

22 years ago mpm_common.c did all this dirty work - cleans up a duplicate symbol error
William A. Rowe Jr [Sat, 29 Dec 2001 17:36:17 +0000 (17:36 +0000)]
  mpm_common.c did all this dirty work - cleans up a duplicate symbol error
  from the OSX.1 build.

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

22 years agoAdd a missing hook run.
Brian Havard [Sat, 29 Dec 2001 09:42:44 +0000 (09:42 +0000)]
Add a missing hook run.

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

22 years ago Close a real GP fault. This is the _wrong_solution_, but stops the
William A. Rowe Jr [Sat, 29 Dec 2001 05:02:10 +0000 (05:02 +0000)]
  Close a real GP fault.  This is the _wrong_solution_, but stops the
  segfaults against very odd RAND_seed errors given garbage in.

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

22 years ago Error feedback, PLEASE!
William A. Rowe Jr [Sat, 29 Dec 2001 03:34:33 +0000 (03:34 +0000)]
  Error feedback, PLEASE!

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

22 years agoroy requested an entry for the various ssl improvements from late november.
Doug MacEachern [Sat, 29 Dec 2001 01:36:59 +0000 (01:36 +0000)]
roy requested an entry for the various ssl improvements from late november.

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

22 years agoget rid of an unused variable
Jeff Trawick [Fri, 28 Dec 2001 22:19:50 +0000 (22:19 +0000)]
get rid of an unused variable

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

22 years ago Improvements suggested by Brian Pane, first assure all OS's get to deal
William A. Rowe Jr [Fri, 28 Dec 2001 17:44:28 +0000 (17:44 +0000)]
  Improvements suggested by Brian Pane, first assure all OS's get to deal
  with handler 'server-parsed', do the xbithack bit tests before testing
  it's string values (protected against a null point).

  And make it [perhaps] more legible.

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

22 years ago Once again, if mod_dir will perform an internal redirect into a
William A. Rowe Jr [Fri, 28 Dec 2001 17:20:41 +0000 (17:20 +0000)]
  Once again, if mod_dir will perform an internal redirect into a
  RESPONSE BODY (as opposed to 'something else' of it's own generation)
  it needs to make the caller aware of the results (e.g. an included
  subrequest) so the caller can decide if the result is suited (e.g.
  including text/html only, but refusing to include other binary results.)

  Since we can know everything about the results of the mod_dir processing
  by the fixups phase, let it perform all resolutions before the caller
  of ap_process_request_internal makes it's decisions.

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

22 years ago Context mustn't be transformed in the insert_filters hook, it merely
William A. Rowe Jr [Fri, 28 Dec 2001 17:12:20 +0000 (17:12 +0000)]
  Context mustn't be transformed in the insert_filters hook, it merely
  provides a point to insert filters already determined.  We can't wait
  for the insert_filters phase to 'redetermine' such things.

  Everything we are doing here can reliably occur in the fixup phase,
  after the types phase has completed.

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

22 years ago Another example, wherein our example in code/conf doesn't match our
William A. Rowe Jr [Fri, 28 Dec 2001 17:09:52 +0000 (17:09 +0000)]
  Another example, wherein our example in code/conf doesn't match our
  recommended practices

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

22 years ago This otherwise ineffectual patch allows modules to perform internal
William A. Rowe Jr [Fri, 28 Dec 2001 17:07:33 +0000 (17:07 +0000)]
  This otherwise ineffectual patch allows modules to perform internal
  redirects of dirs into other resources, while still treating such a
  resource as a dir, based on the original apr_dir_read results.

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

22 years ago Fix the logo bitmap, since I missed this 'hand editing' the .rc file.
William A. Rowe Jr [Fri, 28 Dec 2001 16:40:31 +0000 (16:40 +0000)]
  Fix the logo bitmap, since I missed this 'hand editing' the .rc file.

Submitted by:  Mladen Turk <mturk@mappingsoft.com>

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

22 years agomake note of mod_cgid-suexec fix
Greg Ames [Fri, 28 Dec 2001 15:48:42 +0000 (15:48 +0000)]
make note of mod_cgid-suexec fix

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

22 years agoFix a shadow variable. (c is also declared to be the connection.)
Justin Erenkrantz [Fri, 28 Dec 2001 05:46:21 +0000 (05:46 +0000)]
Fix a shadow variable.  (c is also declared to be the connection.)

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

22 years agoClean up the error checking a little. Make sure we're comparing against
Aaron Bannert [Thu, 27 Dec 2001 23:40:55 +0000 (23:40 +0000)]
Clean up the error checking a little. Make sure we're comparing against
APR_SUCCESS instead of just non-zero. Add some new error checking/reporting.

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

22 years agoStyle changes only. No more tabs, other alignment and braces changes too.
Aaron Bannert [Thu, 27 Dec 2001 21:51:23 +0000 (21:51 +0000)]
Style changes only. No more tabs, other alignment and braces changes too.

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

22 years agoTwo fixes in one:
Aaron Bannert [Thu, 27 Dec 2001 21:36:10 +0000 (21:36 +0000)]
Two fixes in one:

- No longer calls exit() when the secret fails to initialize, instead
  post_config just returns !OK and lets the server bail out.

- No longer fails on DSOs -- since we load-unload-reload DSOs we lose
  any static memory that was initialized during the first load.
  This patch allows us to simply pass on the first call to post_config,
  and then do the initialization in the second call.

Tested to work on Linux from an IE5.0 client.

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

22 years agoif (votes_to_remove_auth_db >= 3)
Justin Erenkrantz [Thu, 27 Dec 2001 20:20:21 +0000 (20:20 +0000)]
if (votes_to_remove_auth_db >= 3)
  --showstoppers;

Assuming there isn't anything else that mod_auth_db does that mod_auth_dbm
doesn't do.

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

22 years agoshowstoppers--
Aaron Bannert [Thu, 27 Dec 2001 20:14:49 +0000 (20:14 +0000)]
showstoppers--

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

22 years agochange ap_unix_create_privileged_process() to allocate enough space in
Greg Ames [Thu, 27 Dec 2001 19:53:37 +0000 (19:53 +0000)]
change ap_unix_create_privileged_process() to allocate enough space in
the newargs array to allow for a null terminator.  This allows suexec and
mod_cgid to work together reliably.

Apparently, rounding up the size to a multiple of 8 bytes in apr_palloc
hid the problem sometimes.  At other times, suexec would complain
about a null command name.

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

22 years agoStyle changes only. Lots of tab alignment issues, and added lots of
Aaron Bannert [Thu, 27 Dec 2001 19:40:15 +0000 (19:40 +0000)]
Style changes only. Lots of tab alignment issues, and added lots of
extra {} blocks. I first ran it through M-x untabify, then went through
the whole thing by hand, then compiled/tested it. This is a preemptive
style-strike.

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

22 years agoGet rid of identifiers called 'stat' so we don't conflict with the libc
Aaron Bannert [Thu, 27 Dec 2001 18:12:15 +0000 (18:12 +0000)]
Get rid of identifiers called 'stat' so we don't conflict with the libc
'stat' symbol.

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

22 years agoJust style changes. Really just 's/\t/ /' since the tabstop alignment
Aaron Bannert [Thu, 27 Dec 2001 18:07:22 +0000 (18:07 +0000)]
Just style changes. Really just 's/\t/    /' since the tabstop alignment
was pretty good. Added a couple braces and spaces here and there.

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

22 years agoTake advantage of the new usable apr_thread_exit().
Aaron Bannert [Thu, 27 Dec 2001 17:06:40 +0000 (17:06 +0000)]
Take advantage of the new usable apr_thread_exit().

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

22 years agoavoid some ugly sockaddr comparisons in do_double_reverse() by using
Jeff Trawick [Thu, 27 Dec 2001 13:28:42 +0000 (13:28 +0000)]
avoid some ugly sockaddr comparisons in do_double_reverse() by using
apr_sockaddr_equal()

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

22 years agoremove the tabs
Ian Holsman [Thu, 27 Dec 2001 06:12:44 +0000 (06:12 +0000)]
remove the tabs
no justin, I didn't add them in the last commit ;)

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

22 years agodoes anyone need/use ndbm?
Ian Holsman [Thu, 27 Dec 2001 06:08:12 +0000 (06:08 +0000)]
does anyone need/use ndbm?
if so should we make it a apr_util_dbm DB type?
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoadd a 'AuthDBMType' so that users can select what type of DBM they want to
Ian Holsman [Thu, 27 Dec 2001 06:03:13 +0000 (06:03 +0000)]
add a 'AuthDBMType' so that users can select what type of DBM they want to
use to authenticate users.
I think this removes a 'showstopper' (deprecating mod_auth_db)

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

22 years agoWhoops, didn't mean to get rid of the whole line.
Aaron Bannert [Thu, 27 Dec 2001 02:28:38 +0000 (02:28 +0000)]
Whoops, didn't mean to get rid of the whole line.

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

22 years agoThis old variable does not appear to be in use any longer.
Aaron Bannert [Thu, 27 Dec 2001 02:18:58 +0000 (02:18 +0000)]
This old variable does not appear to be in use any longer.

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

22 years agoremove unneeded include
Ian Holsman [Wed, 26 Dec 2001 22:00:01 +0000 (22:00 +0000)]
remove unneeded include

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

22 years agouse a new APR function to perform socket address comparison so
Jeff Trawick [Wed, 26 Dec 2001 21:25:54 +0000 (21:25 +0000)]
use a new APR function to perform socket address comparison so
that we don't have to handle v4-mapped IPv6 addresses here

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

22 years agoThere's snow on the ground! It's cold. It's windy. Must be Michigan!!
David Reid [Wed, 26 Dec 2001 17:54:38 +0000 (17:54 +0000)]
There's snow on the ground! It's cold.  It's windy. Must be Michigan!!

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

22 years agoRelated to Brian's commit to fix the XXX comments I'd added a while back.
Cliff Woolley [Wed, 26 Dec 2001 17:31:48 +0000 (17:31 +0000)]
Related to Brian's commit to fix the XXX comments I'd added a while back.
These lines were broken too, I just hadn't commented them.

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

22 years agoFix matching of vhosts by ip address so we find IPv4
Jeff Trawick [Wed, 26 Dec 2001 15:51:08 +0000 (15:51 +0000)]
Fix matching of vhosts by ip address so we find IPv4
vhost address when target address is v4-mapped form of
that address.

This problem was reported by Don Hughes.

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

22 years agoUpdated the release showstoppers list to include a couple of
Brian Pane [Wed, 26 Dec 2001 13:20:02 +0000 (13:20 +0000)]
Updated the release showstoppers list to include a couple of
outstanding problems

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

22 years agoRearranged the code in mod_include's BNDM string-search function
Brian Pane [Wed, 26 Dec 2001 12:07:55 +0000 (12:07 +0000)]
Rearranged the code in mod_include's BNDM string-search function
for faster execution.

This new code short-circuits out of the inner scanning loop
after a single comparison when it hits a character not in the
"<!--#" pattern.  Compared to the previous code, this version
does more work for characters in the pattern and less work for
characters not in the pattern.  In practice, the net result
seems to be a speedup for typical shtml files, where characters
in the pattern are less common than characters not in the pattern.

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

22 years agoAdded an update covering misc performance fixes in 2.0.30
Brian Pane [Wed, 26 Dec 2001 10:02:20 +0000 (10:02 +0000)]
Added an update covering misc performance fixes in 2.0.30

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

22 years agoRemoved a large (8KB) buffer from the stack in ap_invoke_handler()
Brian Pane [Wed, 26 Dec 2001 09:52:53 +0000 (09:52 +0000)]
Removed a large (8KB) buffer from the stack in ap_invoke_handler()

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

22 years agoFixed calculation of bucket lengths
Brian Pane [Wed, 26 Dec 2001 08:58:55 +0000 (08:58 +0000)]
Fixed calculation of bucket lengths

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

22 years agoadd a comment about the need to check for a host after returning
Jeff Trawick [Tue, 25 Dec 2001 21:46:10 +0000 (21:46 +0000)]
add a comment about the need to check for a host after returning
from apr_parse_addr_port()

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

22 years agoFixed a segfault that occurred during startup if a VirtualHost
Brian Pane [Tue, 25 Dec 2001 21:41:59 +0000 (21:41 +0000)]
Fixed a segfault that occurred during startup if a VirtualHost
directive had a port but no address
Reported by: Don Hughes <support@sannotes.org>

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

22 years agoAdd ap_os_killpg as well as unixd_killpg and beosd_killpg.
David Reid [Tue, 25 Dec 2001 12:24:14 +0000 (12:24 +0000)]
Add ap_os_killpg as well as unixd_killpg and beosd_killpg.

Move the worker MPM to use ap_os_killpg in place of unixd_killpg as
this makes it more portable.

Ryan notes that really we should be using the POD mechanism to
control death of the child processes, so this is temporary until
we have that change in place.  Note added to STATUS to that effect.

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

22 years agounixd.h is included in mpm.h so shouldn't need to be included here as well.
David Reid [Tue, 25 Dec 2001 02:34:29 +0000 (02:34 +0000)]
unixd.h is included in mpm.h so shouldn't need to be included here as well.

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

22 years agoThis allows platforms without the _NP locking palaver to build
David Reid [Tue, 25 Dec 2001 02:30:53 +0000 (02:30 +0000)]
This allows platforms without the _NP locking palaver to build
the worker MPM.

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

22 years agofix a horrible bug which caused scoreboard initialation to always exit
Jeff Trawick [Mon, 24 Dec 2001 21:00:18 +0000 (21:00 +0000)]
fix a horrible bug which caused scoreboard initialation to always exit

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

22 years agomention an ugly problem with scoreboard creation
Jeff Trawick [Mon, 24 Dec 2001 13:24:30 +0000 (13:24 +0000)]
mention an ugly problem with scoreboard creation

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

22 years agoThe scoreboard is no longer created while we can write to
Jeff Trawick [Mon, 24 Dec 2001 13:18:44 +0000 (13:18 +0000)]
The scoreboard is no longer created while we can write to
stderr, so call ap_log_error() to note problems allocating
the scoreboard.

apr_shm_malloc() doesn't set any kind of error code, so don't
try to reference errno.

setup_shared() now returns an error code to its caller rather
than exiting directly.  This isn't a complete fix, as
ap_create_scoreboard() needs to do the same thing.  Currently,
when we can't allocate the scoreboard we leave the mod_cgid
daemon process stranded.

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

22 years agoallow htdbm to work with multiple DBM types by using a new option
Ian Holsman [Mon, 24 Dec 2001 07:05:19 +0000 (07:05 +0000)]
allow htdbm to work with multiple DBM types by using a new option
'-T'

ps..
why doesn't this program use apr_getopt??

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

22 years agoFirst cut an an all inclusive LICENSE file. Please feel free to format
Bill Stoddard [Sun, 23 Dec 2001 17:39:41 +0000 (17:39 +0000)]
First cut an an all inclusive LICENSE file. Please feel free to format
it differently and add any missing components.

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

22 years agoFix link.
Joshua Slive [Sun, 23 Dec 2001 16:50:06 +0000 (16:50 +0000)]
Fix link.
Submitted by: Stas Bekman <stas@stason.org>

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

22 years agoadd ThreadLimit/ServerLimit to perchild
Jeff Trawick [Sun, 23 Dec 2001 14:22:36 +0000 (14:22 +0000)]
add ThreadLimit/ServerLimit to perchild

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

22 years agoAdd a beosd_accept function. If the worker MPM is used this is
David Reid [Sun, 23 Dec 2001 14:13:07 +0000 (14:13 +0000)]
Add a beosd_accept function.  If the worker MPM is used this is
needed.

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