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

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