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

22 years agoThis fixes a segfault that showed up on BeOS and may catch other systems.
David Reid [Sun, 23 Dec 2001 13:56:49 +0000 (13:56 +0000)]
This fixes a segfault that showed up on BeOS and may catch other systems.

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

22 years agoThe connection can be aborted in the preconnection hook. If that happens,
Bill Stoddard [Sun, 23 Dec 2001 03:49:46 +0000 (03:49 +0000)]
The connection can be aborted in the preconnection hook. If that happens,
there is no need to run the process_connection hook.

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

22 years agofix a nasty bug which periodically led to segfaults trying to
Jeff Trawick [Sat, 22 Dec 2001 23:53:49 +0000 (23:53 +0000)]
fix a nasty bug which periodically led to segfaults trying to
access the scoreboard

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

22 years ago Resync a few documentation stanzas [all I have time for today], but
William A. Rowe Jr [Sat, 22 Dec 2001 18:03:29 +0000 (18:03 +0000)]
  Resync a few documentation stanzas [all I have time for today], but
  MOST SIGNIFICANTLY;

  Unwind '_' characters from ALL of our example IP names.  Since we waste
  oodles of time stating 'Underscores are invalid in DNS entries' - why
  have examples that contradict the RFC?

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

22 years agoSH_LDFLAGS wasn't getting evaluated properly when it included
Jeff Trawick [Sat, 22 Dec 2001 04:17:56 +0000 (04:17 +0000)]
SH_LDFLAGS wasn't getting evaluated properly when it included
makefile variables

but, we stopped needing SH_LDFLAGS in apxs on AIX since we switched
to run-time linking and I never found out for sure that the use of
SH_LDFLAGS actually helped BeOS or OS/390, so I'm yanking out the
reference to SH_LDFLAGS

if/when we need such a thing in apxs, we'll have a new variable so
we can distinguish between special flags needed for Apache core
DSOs (which might have stuff specific to some Apache core DSO that
was discovered during Apache configurat) vs. special flags needed
by any DSO

PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoignore some generated files
Jeff Trawick [Fri, 21 Dec 2001 17:19:24 +0000 (17:19 +0000)]
ignore some generated files

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

22 years agoget mod_disk_cache to compile
Jeff Trawick [Fri, 21 Dec 2001 17:17:26 +0000 (17:17 +0000)]
get mod_disk_cache to compile

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

22 years agoOn AIX, DSOs which reference external libraries need those libraries
Jeff Trawick [Fri, 21 Dec 2001 16:18:02 +0000 (16:18 +0000)]
On AIX, DSOs which reference external libraries need those libraries
available to ld when the DSO is linked.

This gets mod_deflate, which needs zlib, to work as a DSO on AIX.

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

22 years ago Clean up a compiler emit for signedness
William A. Rowe Jr [Fri, 21 Dec 2001 15:20:20 +0000 (15:20 +0000)]
  Clean up a compiler emit for signedness

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

22 years agoPick up Brad Nicholes' old fix so that make_exports.awk can handle
Jeff Trawick [Fri, 21 Dec 2001 13:50:41 +0000 (13:50 +0000)]
Pick up Brad Nicholes' old fix so that make_exports.awk can handle
AP_HOOK invocations which span lines.

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

22 years agoFixed a bug in ap_rgetline()
Brian Pane [Fri, 21 Dec 2001 04:21:15 +0000 (04:21 +0000)]
Fixed a bug in ap_rgetline()
When an input line required more than one read, each subsequent
block of data was copied on top of the previous one.  So if a
request line got split into multiple packets, the data would be
corrupted.  The new code uses a power-of-two allocator to expand
the buffer and properly append the next block of data at the end
of the previous one.

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

22 years agoUse aplibtool to install modules on OS/2 as it contains some required magic
Brian Havard [Fri, 21 Dec 2001 01:47:50 +0000 (01:47 +0000)]
Use aplibtool to install modules on OS/2 as it contains some required magic
to handle DLL naming restrictions.

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

22 years agoAdd note to CHANGES about apr_sendfile fix in APR. This will likly fix several
Bill Stoddard [Thu, 20 Dec 2001 20:25:47 +0000 (20:25 +0000)]
Add note to CHANGES about apr_sendfile fix in APR.  This will likly fix several
bugs reported against Apache 2.0.28 on Windows 98

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

22 years agoget proxy-as-DSO to load on AIX by fixing up some of our symbol grokking
Jeff Trawick [Thu, 20 Dec 2001 16:19:50 +0000 (16:19 +0000)]
get proxy-as-DSO to load on AIX by fixing up some of our symbol grokking

make_exports.awk didn't handle AP_CORE_DECLARE and it didn't look in
modules/http/*.h

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

22 years agofix the value of the _CEE_RUNOPTS envvar on OS/390
Jeff Trawick [Wed, 19 Dec 2001 20:19:25 +0000 (20:19 +0000)]
fix the value of the _CEE_RUNOPTS envvar on OS/390

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

22 years agoAdd some documentation on the ServerLimit and ThreadLimit
Jeff Trawick [Wed, 19 Dec 2001 18:16:40 +0000 (18:16 +0000)]
Add some documentation on the ServerLimit and ThreadLimit
directives.

Both were added to mpm_common.html even though ThreadLimit
is used only by worker at the moment.  It is expected that
ThreadLimit will be supported by WinNT and perchild MPMs
in the future.

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

22 years agoThis gets perchild compiling and serving pages again. It does NOT
Ryan Bloom [Wed, 19 Dec 2001 17:50:38 +0000 (17:50 +0000)]
This gets perchild compiling and serving pages again.  It does NOT
pass file descriptors yet.  That is a much bigger project.

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

22 years agoRemove an extra semi-colon.
Ryan Bloom [Wed, 19 Dec 2001 16:32:01 +0000 (16:32 +0000)]
Remove an extra semi-colon.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agofor the netware MPM, move HARD_THREAD_LIMIT back to mpm_default.h where
Jeff Trawick [Wed, 19 Dec 2001 16:23:34 +0000 (16:23 +0000)]
for the netware MPM, move HARD_THREAD_LIMIT back to mpm_default.h where
the other user-tunable compile-time parameters are

HARD_SERVER_LIMIT stays in mpm_netware.c since it can't really be changed

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

22 years agoReworked the select/accept loop to try to rely less on select to determine
Bradley Nicholes [Wed, 19 Dec 2001 16:19:00 +0000 (16:19 +0000)]
Reworked the select/accept loop to try to rely less on select to determine
if there is work to do.

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

22 years agojump on the "add my name" bandwagon
Greg Ames [Wed, 19 Dec 2001 15:04:53 +0000 (15:04 +0000)]
jump on the "add my name" bandwagon

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

22 years agoAdd directives to worker and preform MPMs so that the admin can set
Jeff Trawick [Wed, 19 Dec 2001 14:49:22 +0000 (14:49 +0000)]
Add directives to worker and preform MPMs so that the admin can set
the equivalent of HARD_SERVER_LIMIT/HARD_THREAD_LIMIT at startup.

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

22 years agomight as well add my name
Ian Holsman [Wed, 19 Dec 2001 03:33:53 +0000 (03:33 +0000)]
might as well add my name
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoAdd a comment about the passoff logic.
Aaron Bannert [Wed, 19 Dec 2001 01:22:03 +0000 (01:22 +0000)]
Add a comment about the passoff logic.

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

22 years agoClean up some of these magic numbers in perchild. Still doesn't actually
Aaron Bannert [Wed, 19 Dec 2001 01:04:10 +0000 (01:04 +0000)]
Clean up some of these magic numbers in perchild. Still doesn't actually
fix the build problems, but makes it more readable for me.

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

22 years agoBeen meaning to put this in here.
Aaron Bannert [Wed, 19 Dec 2001 00:54:32 +0000 (00:54 +0000)]
Been meaning to put this in here.

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

22 years agoSkip the setting of Last-Modified in the response header on
Brian Pane [Tue, 18 Dec 2001 23:57:36 +0000 (23:57 +0000)]
Skip the setting of Last-Modified in the response header on
requests or subrequests for which no response header will be
generated (a performance improvement for mod_include)

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

22 years agoWin32: Fix bug that could cause CGI scripts with QUERY_STRINGS
Bill Stoddard [Tue, 18 Dec 2001 21:56:16 +0000 (21:56 +0000)]
Win32: Fix bug that could cause CGI scripts with QUERY_STRINGS
to fail.

Gotta allocate enough space for that NULL string terminator :-)

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

22 years agoleaving the pipe-of-death in the ap_listeners list led to segfaults
Jeff Trawick [Tue, 18 Dec 2001 21:33:27 +0000 (21:33 +0000)]
leaving the pipe-of-death in the ap_listeners list led to segfaults
during sighup processing since the pipe-of-death listen_rec was
allocated from a short-lived pool

simply allocating the pipe-of-death listen_rec from the right pool
isn't a complete fix since at that point we no longer get the
proper cleanup and we're left with a file descriptor leak

the simplest overall fix seems to be to keep the pipe-of-death out
of the ap_listeners list for now

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