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

22 years ago A little loopy commit. Refer mod_cgid users to the mod_cgi docs for
William A. Rowe Jr [Thu, 13 Dec 2001 18:19:21 +0000 (18:19 +0000)]
  A little loopy commit.  Refer mod_cgid users to the mod_cgi docs for
  extra info, document the AcceptPathInfo impact in the PATH_INFO comments
  of mod_cgi, and document it's configuration in core.

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

22 years ago Ya know, the language here wasn't all that explicit. We are testing for
William A. Rowe Jr [Thu, 13 Dec 2001 17:42:18 +0000 (17:42 +0000)]
  Ya know, the language here wasn't all that explicit.  We are testing for
  content-type text/html, so we better spell that out up front.

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

22 years ago Not really an XXX here
William A. Rowe Jr [Thu, 13 Dec 2001 17:24:27 +0000 (17:24 +0000)]
  Not really an XXX here

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

22 years ago Apply the converse of the AcceptPathInfo patch for isapi's/cgi's.
William A. Rowe Jr [Thu, 13 Dec 2001 17:22:20 +0000 (17:22 +0000)]
  Apply the converse of the AcceptPathInfo patch for isapi's/cgi's.
  The default behavior remains, accept PATH_INFO, but it may be expressly
  revoked with AcceptPathInfo Off

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

22 years ago Address a signedness warning. No cleaner solutions here.
William A. Rowe Jr [Thu, 13 Dec 2001 16:41:43 +0000 (16:41 +0000)]
  Address a signedness warning.  No cleaner solutions here.

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

22 years ago While contemplating a cast to (char) for the c arg to trie_node_link,
William A. Rowe Jr [Thu, 13 Dec 2001 16:39:08 +0000 (16:39 +0000)]
  While contemplating a cast to (char) for the c arg to trie_node_link,
  I decided it's more plesant to let the cpu not to think so hard (no
  wasted space, the c member will by word aligned anyways.)

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

22 years ago If dconf->accept_path_info is tristate, why not r->used_path_info?
William A. Rowe Jr [Thu, 13 Dec 2001 16:11:41 +0000 (16:11 +0000)]
  If dconf->accept_path_info is tristate, why not r->used_path_info?
  This patch allows us to force path_info off in mod_cgi[d] etc, patch
  forthcoming.  It also allows includes, php, etc to change the undefined
  value in the early handler or late fixup phases to Accept'ed.

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

22 years ago Jeff's guess, right on. [Thought I committed it all... gotta grab a
William A. Rowe Jr [Thu, 13 Dec 2001 14:50:36 +0000 (14:50 +0000)]
  Jeff's guess, right on.  [Thought I committed it all... gotta grab a
  clean parallel tree, all my parallel trees are dirty again.]

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

22 years agohack up core_dir_config so that server/core.c compiles again
Jeff Trawick [Thu, 13 Dec 2001 13:15:56 +0000 (13:15 +0000)]
hack up core_dir_config so that server/core.c compiles again

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

22 years agoModified for clarity.
Aaron Bannert [Thu, 13 Dec 2001 08:32:48 +0000 (08:32 +0000)]
Modified for clarity.

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

22 years ago Now all should be well. AcceptPathInfo on will give us a document with
William A. Rowe Jr [Thu, 13 Dec 2001 05:49:27 +0000 (05:49 +0000)]
  Now all should be well.  AcceptPathInfo on will give us a document with
  path_info served from the core handler.  Any filters can then manipulate
  all the usual CGI envvars [as proven with this little excerpt with a
  <!--#printenv --> document...

<FilesMatch ".*\.shtml.*">
    Options +Includes
    SetOutputFilter INCLUDES
    AcceptPathInfo on
</FilesMatch>

  a potentially questionable config, but effective.

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

22 years agoRolled back w3c tidy diffs that corrupted japanese translations.
Rich Bowen [Thu, 13 Dec 2001 03:24:20 +0000 (03:24 +0000)]
Rolled back w3c tidy diffs that corrupted japanese translations.

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

22 years ago Give the request_rec some information about path_info allowance.
William A. Rowe Jr [Thu, 13 Dec 2001 02:40:34 +0000 (02:40 +0000)]
  Give the request_rec some information about path_info allowance.
  If some unnamed filter will consume the path_info, it may set up
  used_path_info to a non-zero value, and core.c will consume the
  request with path_info.

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

22 years ago Kill some redundancy (why test PUT when we disallow all but GET/POST?)
William A. Rowe Jr [Thu, 13 Dec 2001 02:35:31 +0000 (02:35 +0000)]
  Kill some redundancy (why test PUT when we disallow all but GET/POST?)
  and add some thoughts.

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

22 years ago . unwind MORE redundant code [wasn't I just here six months ago???]
William A. Rowe Jr [Thu, 13 Dec 2001 02:26:18 +0000 (02:26 +0000)]
  . unwind MORE redundant code [wasn't I just here six months ago???]

  . fix a redundant return [how no compilers caught a code-not-reachable
    is beyond me :]

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

22 years ago Periods aren't commas. Clear out some inappropriate casts while
William A. Rowe Jr [Thu, 13 Dec 2001 00:46:40 +0000 (00:46 +0000)]
  Periods aren't commas.  Clear out some inappropriate casts while
  we are at it.

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

22 years ago Whatever this was doing, it looks most unholy.
William A. Rowe Jr [Thu, 13 Dec 2001 00:43:13 +0000 (00:43 +0000)]
  Whatever this was doing, it looks most unholy.

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

22 years agoFix a bug in how we select the IP for the POD to connect to for dummy
Aaron Bannert [Wed, 12 Dec 2001 23:56:46 +0000 (23:56 +0000)]
Fix a bug in how we select the IP for the POD to connect to for dummy
connects (dislodging a doomed child from the accept mutex). No longer
do we assume that the child is listening to 127.0.0.1, but instead
we just pick the first hostname/port from the listen rec.

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

22 years agochange Apache/apr/apr-util to use run-time linking on AIX
Jeff Trawick [Wed, 12 Dec 2001 19:39:55 +0000 (19:39 +0000)]
change Apache/apr/apr-util to use run-time linking on AIX

currently, a kludge (-uXML_Parse) is needed to get a reference to expat
in the Apache executable programs; I think this is related to the fact
that expat libtool is getting generated a little differently than apr
libtool and is choosing to build a different flavor of shared library

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

22 years agoOh, FreeBSD, you don't like having multiple children, do you?
Justin Erenkrantz [Wed, 12 Dec 2001 10:09:58 +0000 (10:09 +0000)]
Oh, FreeBSD, you don't like having multiple children, do you?

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

22 years agoMerged NetWare into the standard conf file
Bradley Nicholes [Tue, 11 Dec 2001 19:37:59 +0000 (19:37 +0000)]
Merged NetWare into the standard conf file

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

22 years agoExcluding macros from the export list output
Bradley Nicholes [Tue, 11 Dec 2001 19:37:11 +0000 (19:37 +0000)]
Excluding macros from the export list output

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

22 years agoClean up GNU compiler issues on NetWare
Bradley Nicholes [Tue, 11 Dec 2001 19:36:05 +0000 (19:36 +0000)]
Clean up GNU compiler issues on NetWare
Submitted by: Pavel Novy

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

22 years agorevert back to using a "links" downloaded version of our FAQ with an
Greg Ames [Tue, 11 Dec 2001 19:28:38 +0000 (19:28 +0000)]
revert back to using a "links" downloaded version of our FAQ with an
up-to-date URL.  The FAQ included in httpd-2_0_28 isn't very pretty
because it wasn't parsed by mod_include as part of the roll script.
Add a comment explaining why this is necessary.

with this change, there's no reason to run expand.pl twice.

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

22 years agoFixed a few typos.
Chris Pepper [Tue, 11 Dec 2001 01:49:46 +0000 (01:49 +0000)]
Fixed a few typos.
Fixed some HTML tags (case, href/name/id)
Added a mention of multiple 'arguments' to allow/deny, and an example. This should probably be more explicit, but I'm not sure of the details (should we show with leading/trailing periods, and explain that IPs are assumed to be the left side, but hostnames are assumed to be the right side?).
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoAnother fix for VPATH builds.
Aaron Bannert [Mon, 10 Dec 2001 23:53:23 +0000 (23:53 +0000)]
Another fix for VPATH builds.

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

22 years agoget worker MPM to respect the LockFile setting
Jeff Trawick [Mon, 10 Dec 2001 20:17:36 +0000 (20:17 +0000)]
get worker MPM to respect the LockFile setting

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

22 years agofix a problem with graceful restart. If you look at daedalus early in the
Greg Ames [Mon, 10 Dec 2001 20:10:05 +0000 (20:10 +0000)]
fix a problem with graceful restart.  If you look at daedalus early in the
morning, you will usually see lots ( >50 ) of old generation processes
happily serving requests with yesterday's config.  Late in the afternoon, they
are usually gone due to MaxRequestsPerChild and perform_idle_server_maintenance.

ap_mpm_pod_signal can time out during connect(), causing it to exit with an
error.  If it was called by ap_mpm_pod_killpg during graceful restart,
ap_mpm_pod_killpg will exit immediately.  This can cause us to not write
enough characters to the pod to kill off all the old generation children.

This fix decouples the loop which writes to the pod from the loop which
generates dummy connect()s.  The connect()s aren't as important as
writing to the pod when there is a steady stream of inbound connections.

also, close the socket and destroy the temporary pool if the connect()
fails.

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

22 years agoget rid of an ancient requirement that APACHE_XLATE be defined;
Jeff Trawick [Mon, 10 Dec 2001 19:07:32 +0000 (19:07 +0000)]
get rid of an ancient requirement that APACHE_XLATE be defined;
get rid of an ancient work-around for a problem with apr_heap_create

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

22 years agoStyle reformat. Tabs->spaces, etc, etc, etc.
Justin Erenkrantz [Sun, 9 Dec 2001 18:08:08 +0000 (18:08 +0000)]
Style reformat.  Tabs->spaces, etc, etc, etc.

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

22 years agoReduce magic levels.
Ben Laurie [Sun, 9 Dec 2001 17:48:52 +0000 (17:48 +0000)]
Reduce magic levels.

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

22 years agoAdd -I for the zlib include dir to the right flag variable
Jeff Trawick [Sun, 9 Dec 2001 03:32:02 +0000 (03:32 +0000)]
Add -I for the zlib include dir to the right flag variable

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

22 years agoUpdate wording of the error README file.
Lars Eilebrecht [Sat, 8 Dec 2001 18:09:35 +0000 (18:09 +0000)]
Update wording of the error README file.

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

22 years agoMove file to 'error' directory as the directory is no longer a
Lars Eilebrecht [Sat, 8 Dec 2001 17:50:50 +0000 (17:50 +0000)]
Move file to 'error' directory as the directory is no longer a
subdirectory of docroot.

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

22 years agoFix wrong german text about proxy(?).
Lars Eilebrecht [Sat, 8 Dec 2001 16:56:33 +0000 (16:56 +0000)]
Fix wrong german text about proxy(?).
Add more native texts for variants where we send REDIRECT_ERROR_NOTES.

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

22 years agoclean up some signed/unsigned discrepancies, hopefully with the absolute
Jeff Trawick [Sat, 8 Dec 2001 13:05:56 +0000 (13:05 +0000)]
clean up some signed/unsigned discrepancies, hopefully with the absolute
minimum of casting; it wouldn't compile with AIX xlc otherwise (experience
says that Tru64 and HP-UX native compilers would be extremely unhappy too,
though I didn't try yet)

get rid of unused function deflate_insert_filter (trivial to put back
so no reason to #if 0)

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

22 years agoSwitched from heap bucket to pool bucket for SSI echo directive
Brian Pane [Sat, 8 Dec 2001 03:14:50 +0000 (03:14 +0000)]
Switched from heap bucket to pool bucket for SSI echo directive

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

22 years ago[indentation fixes only]
Brian Pane [Sat, 8 Dec 2001 02:04:51 +0000 (02:04 +0000)]
[indentation fixes only]

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

22 years agoReduced the number of times that we scan through each string
Brian Pane [Sat, 8 Dec 2001 02:00:42 +0000 (02:00 +0000)]
Reduced the number of times that we scan through each string
looking for invalid characters in analyze_ct()

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

22 years agoFix segfault when restarting worker MPM. We can not examine the POD as
Justin Erenkrantz [Sat, 8 Dec 2001 01:38:05 +0000 (01:38 +0000)]
Fix segfault when restarting worker MPM.  We can not examine the POD as
a normal listener.

There was an additional bug than what Ian submitted to fix listen.c
(i.e. check sa for null): make_pipe_of_death does not zero out
lr->bind_addr (since it uses apr_palloc).  So, on Solaris, the first
time through, bind_addr was probably 0, but the second time, not (pools!).
(This caused Aaron's analysis that the patch worked the first time,
but not the second time.)

Submitted by: Ian Holsman
Reviewed by: Justin Erenkrantz, Aaron Bannert

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

22 years agoClean up style (tabs->spaces, etc, etc, etc.).
Justin Erenkrantz [Sat, 8 Dec 2001 01:22:00 +0000 (01:22 +0000)]
Clean up style (tabs->spaces, etc, etc, etc.).

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

22 years ago AFAICT - these symbols are unused.
William A. Rowe Jr [Fri, 7 Dec 2001 22:19:38 +0000 (22:19 +0000)]
  AFAICT - these symbols are unused.

  The right solution, once required, is to wrap the FRAMING requirement
  into the mmap logic so we can always ask for a n byte mmap, only to be
  given a n + (pg - (n % pg)) byte region without consumer hassles.

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

22 years agoHere's another one: IPv6.
Joshua Slive [Fri, 7 Dec 2001 19:54:00 +0000 (19:54 +0000)]
Here's another one: IPv6.
How does it work?  I don't see any docs.

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

22 years agoAgain, someone really needs to update the mod_proxy docs.
Joshua Slive [Fri, 7 Dec 2001 19:49:28 +0000 (19:49 +0000)]
Again, someone really needs to update the mod_proxy docs.

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

22 years agostatus update...
Joshua Slive [Fri, 7 Dec 2001 19:45:10 +0000 (19:45 +0000)]
status update...
we definitely need some input from dev@httpd on things like mod_proxy,
worker mpm, etc.

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

22 years agoProvide an accessor function for the global_score portion of the scoreboard.
Aaron Bannert [Fri, 7 Dec 2001 19:08:50 +0000 (19:08 +0000)]
Provide an accessor function for the global_score portion of the scoreboard.

Submitted by: Harrie Hazewinkel <harrie@covalent.net>
Reviewed by: Aaron Bannert

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

22 years agomake sure mod_foo.so is installed by apxs -i
Jeff Trawick [Fri, 7 Dec 2001 19:06:58 +0000 (19:06 +0000)]
make sure mod_foo.so is installed by apxs -i

also, it is the .so file that needs to be executable, not the .la file

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

22 years agoExport ap_get_parent_scoreboard and ap_get_servers_scoreboard to be
Aaron Bannert [Fri, 7 Dec 2001 19:06:29 +0000 (19:06 +0000)]
Export ap_get_parent_scoreboard and ap_get_servers_scoreboard to be
usable on Win32 and friends.

Submitted by: Harrie Hazewinkel <harrie@covalent.net>
Reviewed by: Aaron Bannert

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

22 years agoFix bug that could potentially prevent perchild from working with
Aaron Bannert [Fri, 7 Dec 2001 18:19:16 +0000 (18:19 +0000)]
Fix bug that could potentially prevent perchild from working with
more than one vhost/uid.

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

22 years agoOne thing I learned from the worker MPM was that the style changes
Aaron Bannert [Fri, 7 Dec 2001 18:14:43 +0000 (18:14 +0000)]
One thing I learned from the worker MPM was that the style changes
need to come first, lest they never be applied.

No funtional changes, merely tabs/alignment issues and a few added blocks
for clarity. (The good stuff comes later.)

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

22 years agoWow, it just got really windy outside, and warm!
Aaron Bannert [Fri, 7 Dec 2001 18:10:25 +0000 (18:10 +0000)]
Wow, it just got really windy outside, and warm!

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

22 years agoAny release that goes out that doesn't have this fixed is getting vetoed
Justin Erenkrantz [Fri, 7 Dec 2001 18:02:47 +0000 (18:02 +0000)]
Any release that goes out that doesn't have this fixed is getting vetoed
by me as anything other than alpha.

I'm sick of this - it's been a pain for a long time and just hit me
hard when one of the other admins on my 2.0 site tried to send SIGHUP
and the thing died - it confused the hell out of him.  =)

Let's start tracking this down.

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

22 years agoDo special install processing for Apache DSO modules on HP-UX, Tru64,
Jeff Trawick [Fri, 7 Dec 2001 17:48:36 +0000 (17:48 +0000)]
Do special install processing for Apache DSO modules on HP-UX, Tru64,
and AIX so that we get mod_foo.so installed instead of the stuff that
libtool installed.

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

22 years agochange binbuild.sh to use --enable-mods-shared=most. This adds 13 modules
Greg Ames [Fri, 7 Dec 2001 15:55:23 +0000 (15:55 +0000)]
change binbuild.sh to use --enable-mods-shared=most.  This adds 13 modules
to the build.

Thanks again to Aaron for fixing this configure option.

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

22 years agoAdded a string "class" to the Apache 3.0 wishlist
Brian Pane [Fri, 7 Dec 2001 15:53:19 +0000 (15:53 +0000)]
Added a string "class" to the Apache 3.0 wishlist

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

22 years agoAdd a note about terminating the server.
Ryan Bloom [Fri, 7 Dec 2001 15:41:00 +0000 (15:41 +0000)]
Add a note about terminating the server.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoPeople are asking for this..
Ken Coar [Fri, 7 Dec 2001 15:33:58 +0000 (15:33 +0000)]
People are asking for this..

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

22 years agofix a const-ness problem caused by calling the wrong strchr()
Jeff Trawick [Fri, 7 Dec 2001 12:29:04 +0000 (12:29 +0000)]
fix a const-ness problem caused by calling the wrong strchr()

--enable-maintainer-mode and a decent compiler is *so* important!

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

22 years agoRemoved one more strdup in the content-type processing
Brian Pane [Fri, 7 Dec 2001 08:48:17 +0000 (08:48 +0000)]
Removed one more strdup in the content-type processing

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