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

22 years agoget proxy in sync with the update to ap_run_create_connection
Jeff Trawick [Tue, 18 Dec 2001 20:29:27 +0000 (20:29 +0000)]
get proxy in sync with the update to ap_run_create_connection

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

22 years agotag a few of the key httpd pools
Jeff Trawick [Tue, 18 Dec 2001 20:26:15 +0000 (20:26 +0000)]
tag a few of the key httpd pools

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

22 years agoStyle and formatting changes only. Removed tabs, reduced long lines,
Aaron Bannert [Tue, 18 Dec 2001 19:42:20 +0000 (19:42 +0000)]
Style and formatting changes only. Removed tabs, reduced long lines,
aligned parameters, added braces around some single-statement basic
blocks.

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

22 years agofix some references to the wrong constant (HARD_SERVER_LIMIT vs.
Jeff Trawick [Tue, 18 Dec 2001 14:18:28 +0000 (14:18 +0000)]
fix some references to the wrong constant (HARD_SERVER_LIMIT vs.
HARD_THREAD_LIMIT)

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

22 years agoChange core code to allow an MPM to set hard thread/server
Jeff Trawick [Tue, 18 Dec 2001 13:48:54 +0000 (13:48 +0000)]
Change core code to allow an MPM to set hard thread/server
limits at startup.

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

22 years agoStop using HARD_SERVER_LIMIT/HARD_THREAD_LIMIT all over the place
Jeff Trawick [Tue, 18 Dec 2001 04:59:13 +0000 (04:59 +0000)]
Stop using HARD_SERVER_LIMIT/HARD_THREAD_LIMIT all over the place
and instead use the mpm query function to retrieve those limits and
use those dynamically-retrieved values when walking the scoreboard.

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

22 years agoNo point in linking the proxy objects with the submodules.
Victor J. Orlikowski [Mon, 17 Dec 2001 23:57:46 +0000 (23:57 +0000)]
No point in linking the proxy objects with the submodules.
However, proxy is not working on AIX since the rtl changes.

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

22 years agoRemove old kludge for AIX, since the rtl flags handles this nicely now.
Victor J. Orlikowski [Mon, 17 Dec 2001 23:34:35 +0000 (23:34 +0000)]
Remove old kludge for AIX, since the rtl flags handles this nicely now.

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

22 years agoShowstoppers and something not to be forgotten..
Ken Coar [Mon, 17 Dec 2001 22:05:58 +0000 (22:05 +0000)]
Showstoppers and something not to be forgotten..

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

22 years agoAIX: don't set LDR_CNTRL environment variable for 64-bit build
Jeff Trawick [Mon, 17 Dec 2001 18:48:19 +0000 (18:48 +0000)]
AIX: don't set LDR_CNTRL environment variable for 64-bit build

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

22 years agoWin32: The async AcceptEx() event should be autoreset upon
Bill Stoddard [Mon, 17 Dec 2001 14:02:59 +0000 (14:02 +0000)]
Win32: The async AcceptEx() event should be autoreset upon
successful completion of a wait (WaitForSingleObject). This
eliminates a number of spurious
setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed." messages.

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

22 years ago My typo - the least I can do is commit the patch to fix the
William A. Rowe Jr [Mon, 17 Dec 2001 13:35:30 +0000 (13:35 +0000)]
  My typo - the least I can do is commit the patch to fix the
  content-language, s/jp/ja/.

Submitted by: Nobuyuki Morita <apache@norizo.jp>

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

22 years agoReplaced an instance of apr_pool_userdata_setn() with apr_pool_userdata_set()..
Brian Pane [Sun, 16 Dec 2001 09:54:14 +0000 (09:54 +0000)]
Replaced an instance of apr_pool_userdata_setn() with apr_pool_userdata_set()..
the value of "userdata_key" is an address on the stack when compiled with
gcc 2.95.3 on Solaris/Sparc, so storing the address directly in the hash
table is unsafe.

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

22 years agocleaned up bucket types and removed the extraneous clearing of a buffer
Brian Pane [Sun, 16 Dec 2001 08:58:14 +0000 (08:58 +0000)]
cleaned up bucket types and removed the extraneous clearing of a buffer

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

22 years agoRemoved the comment suggesting the use of apr_table_overlap()
Brian Pane [Sun, 16 Dec 2001 08:50:30 +0000 (08:50 +0000)]
Removed the comment suggesting the use of apr_table_overlap()
in add_include_vars() (because I just tried it, and it made the
function slower)

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

22 years agoget binbuild to do the right thing with envvars (install/edit as
Jeff Trawick [Sat, 15 Dec 2001 21:50:19 +0000 (21:50 +0000)]
get binbuild to do the right thing with envvars (install/edit as
appropriate)

fix a problem in the load-library-path setting (wrong kind of
quotes were used)

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

22 years agosome acts of stupidity are better left undescribed
Jeff Trawick [Sat, 15 Dec 2001 18:32:29 +0000 (18:32 +0000)]
some acts of stupidity are better left undescribed

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

22 years agohandle the envvar file properly in install-bindist.sh
Jeff Trawick [Sat, 15 Dec 2001 18:15:52 +0000 (18:15 +0000)]
handle the envvar file properly in install-bindist.sh

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

22 years agomention an easy but important problem in case I forget about it
Jeff Trawick [Sat, 15 Dec 2001 14:40:57 +0000 (14:40 +0000)]
mention an easy but important problem in case I forget about it

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

22 years agoMove any load library path environment variables out of
Jeff Trawick [Sat, 15 Dec 2001 13:56:36 +0000 (13:56 +0000)]
Move any load library path environment variables out of
apachectl and into a separate environment variable file which
can be more easily tailored by the admin.  The environment
variable file as built by Apache may have additional system-
specific settings.  For example, on OS/390 we tailor the heap
settings to allow lots of threads.

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

22 years agoFixed the logic for detecting sentinel or EOS in send_parsed_content
Brian Pane [Sat, 15 Dec 2001 03:53:59 +0000 (03:53 +0000)]
Fixed the logic for detecting sentinel or EOS in send_parsed_content

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

22 years agoFix for segfault that happened upon reaching EOS in an
Brian Pane [Sat, 15 Dec 2001 03:22:24 +0000 (03:22 +0000)]
Fix for segfault that happened upon reaching EOS in an
intermediate SSI parsing state
Submitted by: Justin Erenkrantz

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

22 years agoDetabify the chunk filter. No function change.
Bill Stoddard [Fri, 14 Dec 2001 21:30:16 +0000 (21:30 +0000)]
Detabify the chunk filter. No function change.

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

22 years agoUse the new APR pool code to reduce pool-related lock
Brian Pane [Fri, 14 Dec 2001 16:29:43 +0000 (16:29 +0000)]
Use the new APR pool code to reduce pool-related lock
contention in the worker MPM.
Submitted by: Sander Striker
Reviewed by: Brian Pane

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

22 years agoUse the new pool API to eliminate pool locking in the prefork MPM
Brian Pane [Fri, 14 Dec 2001 16:20:48 +0000 (16:20 +0000)]
Use the new pool API to eliminate pool locking in the prefork MPM

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

22 years agoChange the beos mpm to use the new pools creation call to try and
David Reid [Fri, 14 Dec 2001 13:42:17 +0000 (13:42 +0000)]
Change the beos mpm to use the new pools creation call to try and
improve performance a little.  Tidy up a comment.

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

22 years agotake over DSO installation from libtool on all platforms, for both
Jeff Trawick [Fri, 14 Dec 2001 12:29:37 +0000 (12:29 +0000)]
take over DSO installation from libtool on all platforms, for both
"make install" and "apxs -i"

since we don't link with Apache DSOs we don't need the .la files

since we load Apache DSOs with explicit path information we don't
need any other system-specific magic to be performed

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

22 years agoStyle change. Convert tabs->spaces, shorten long lines, etc, etc, etc.
Justin Erenkrantz [Fri, 14 Dec 2001 06:10:38 +0000 (06:10 +0000)]
Style change.  Convert tabs->spaces, shorten long lines, etc, etc, etc.

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

22 years ago Move the insert_filter hook from the prepare request phase to the
William A. Rowe Jr [Fri, 14 Dec 2001 03:30:23 +0000 (03:30 +0000)]
  Move the insert_filter hook from the prepare request phase to the
  invoke handler phase, since it can't fail, and contributes nothing
  to the request 'character', but everything to it's invocation.

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

22 years ago A style change for ken :)
William A. Rowe Jr [Fri, 14 Dec 2001 03:29:13 +0000 (03:29 +0000)]
  A style change for ken :)

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

22 years agoinclude directories should be added to INCLUDES, not CPPFLAGS
Jeff Trawick [Fri, 14 Dec 2001 02:48:23 +0000 (02:48 +0000)]
include directories should be added to INCLUDES, not CPPFLAGS
(like it was origintally)...  since AC_TRY_LINK() references
CPPFLAGS but not INCLUDES, we'll add the zlib include directory
to CPPFLAGS *temporarily*

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

22 years ago Master dictionary entry for the new directive
William A. Rowe Jr [Fri, 14 Dec 2001 02:13:49 +0000 (02:13 +0000)]
  Master dictionary entry for the new directive

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

22 years agoFix links.
Joshua Slive [Thu, 13 Dec 2001 21:46:05 +0000 (21:46 +0000)]
Fix links.

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

22 years agoUpdate the AcceptPathInfo docs and add references from upgrading and
Joshua Slive [Thu, 13 Dec 2001 21:39:28 +0000 (21:39 +0000)]
Update the AcceptPathInfo docs and add references from upgrading and
mod_include docs.

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

22 years ago Whoops, that's quadstate, the value 3 is not-present.
William A. Rowe Jr [Thu, 13 Dec 2001 19:44:45 +0000 (19:44 +0000)]
  Whoops, that's quadstate, the value 3 is not-present.

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

22 years ago As suggested by Josh Slive, add the explicit 'default' to AcceptPathInfo.
William A. Rowe Jr [Thu, 13 Dec 2001 19:13:23 +0000 (19:13 +0000)]
  As suggested by Josh Slive, add the explicit 'default' to AcceptPathInfo.
  I'll leave docs up to him.  The conf becomes a quadstate (undef != default)
  but other than that, it should make things cleaner for the user.

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