]> granicus.if.org Git - apache/log
apache
23 years agonamespace-protect accept_lock_mech
Jeff Trawick [Tue, 14 Aug 2001 12:30:50 +0000 (12:30 +0000)]
namespace-protect accept_lock_mech

fix a bug in the worker MPM which effectively disabled the AcceptMutex
directive

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

23 years agoFix build of OS/2 MPM after recent move of common code.
Brian Havard [Tue, 14 Aug 2001 12:20:54 +0000 (12:20 +0000)]
Fix build of OS/2 MPM after recent move of common code.
Cody did well to limit breakage to just this :)

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

23 years agoOS/2: Allow mod_dav_fs to build as a DLL. It needs special treatment as it
Brian Havard [Tue, 14 Aug 2001 12:15:04 +0000 (12:15 +0000)]
OS/2: Allow mod_dav_fs to build as a DLL. It needs special treatment as it
makes calls to mod_dav. This links it against mod_dav's exports.

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

23 years agoClean up several parsing errors in find_ct that may or may not be causing
Roy T. Fielding [Tue, 14 Aug 2001 02:35:55 +0000 (02:35 +0000)]
Clean up several parsing errors in find_ct that may or may not be causing
a seg fault.  In any case, it was butt ugly code.

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

23 years agoAdd contact info to README (was in INSTALL in 1.3)
Joshua Slive [Mon, 13 Aug 2001 23:59:26 +0000 (23:59 +0000)]
Add contact info to README (was in INSTALL in 1.3)

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

23 years agoInstall the SSL header files.
Ryan Bloom [Mon, 13 Aug 2001 23:06:06 +0000 (23:06 +0000)]
Install the SSL header files.
Submitted by: John Sterling <sterling@covalent.net>

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

23 years agoLots of small config file changes including:
Joshua Slive [Mon, 13 Aug 2001 20:23:21 +0000 (20:23 +0000)]
Lots of small config file changes including:

- Beat everything down to less than 80 character lines.

- Revise the comments for the DSO section to eliminate mention
of ordering problems.

- Add LoadModule lines for all extension modules, commented out.
Note that it is very difficult in the current ./configure
system to make the base modules DSOs, so I didn't include those.

- Remove ServerType comments.

- Add "deny from all" to the root directory container.  The comments
indicate that it should be there.

- Delete a little (in my opinion) excess verbosity in the
description of the .htacess download blocker.

- Remove the CacheNegotiatedDocs directive.  It was wrong,
and is obscure enough that people should probably just look
it up in the docs.

- Make the example for Redirect a little more explicit

- Change the examples and descriptions for READMENAME/HEADERNAME
since, if multiviews are off, they haven't worked as described
since 1.3.something.

- Remove the phf trap example.  This is very old and probably
worthless.

- Remove MetDir/MetSuffix.  These are rarely used.

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

23 years agochange the name of AP_MPM_NEEDS_RECLAIM_CHILD_PROCESSES to
Jeff Trawick [Mon, 13 Aug 2001 18:24:53 +0000 (18:24 +0000)]
change the name of AP_MPM_NEEDS_RECLAIM_CHILD_PROCESSES to
be more consistent with similar names added recently; this
also cleans up an #if/#ifdef discrepency

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

23 years ago(hopefully) get WinNT MPM to build using mpm_common.c code; a few notes:
Jeff Trawick [Mon, 13 Aug 2001 16:42:13 +0000 (16:42 +0000)]
(hopefully) get WinNT MPM to build using mpm_common.c code; a few notes:

. the selection of ap_sock_disable() is certainly ugly, but that may
  need to be cleaned up in a different manner...
. the directive functions couldn't be AP_DECLARE() if they are to be
  compatible with AP_INIT_TAKExxx(); this is an old restriction

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

23 years agoallow non-Unix MPMs to use mpm_common.c by not automatically
Jeff Trawick [Mon, 13 Aug 2001 15:44:00 +0000 (15:44 +0000)]
allow non-Unix MPMs to use mpm_common.c by not automatically
building in Unix-specific code

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

23 years agoget threaded to compile again by fixing a lock_fname/ap_lock_fname mixup
Jeff Trawick [Mon, 13 Aug 2001 14:58:24 +0000 (14:58 +0000)]
get threaded to compile again by fixing a lock_fname/ap_lock_fname mixup

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

23 years agoBegin to sanitize the MPM configuration directives. Now, all
Ryan Bloom [Mon, 13 Aug 2001 04:57:35 +0000 (04:57 +0000)]
Begin to sanitize the MPM configuration directives.  Now, all
MPMs use the same functions for all common MPM directives.  This
should make it easier to catch all bugs in these directives once.

Everybody should check their favorite MPM to ensure that it still
compiles, and that these directives work.  This is a big patch, and
although it looks good, and things compiled for me, that is no
garauntee that it will work on all platforms.  :-)

Submitted by: Cody Sherr <csherr@covalent.net>

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

23 years agoClose a major resource leak. Everytime we had issued a
Ryan Bloom [Mon, 13 Aug 2001 04:25:43 +0000 (04:25 +0000)]
Close a major resource leak.  Everytime we had issued a
graceful restart, we leaked a socket descriptor.

The listening sockets should not be set inheritable, at least
not at this point.  We only want some of the httpd children to
inherit the socket.  Namely, those that will be actually serving
requests.  Any other child process (piped logs), should not be
inheriting the sockets.

PR: 7891

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

23 years agoRemove a warning from mod_echo.
Ryan Bloom [Mon, 13 Aug 2001 02:06:05 +0000 (02:06 +0000)]
Remove a warning from mod_echo.
Submitted by: Ian Holsman <ianh@cnet.com>

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

23 years agoMake the body read in proxy http handler nonblocking. There's no sense
Chuck Murcko [Sun, 12 Aug 2001 21:24:35 +0000 (21:24 +0000)]
Make the body read in proxy http handler nonblocking. There's no sense
in serializing 4-8 client connections into a single origin server
connection, as is the blocking behavior.

Added instrumentation that we don't want compiled in normally to assist in
debugging chunking problems. apr_get_brigade is apparently blocking during
chunked body fetch, or proxy_http_handler is getting deadlocked with
the dechunk filter. Show PID for prefork debugging. We'll figure out
getting TIDs later.

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

23 years agoChange the MaxSpareThreads to 150 for threaded MPM. This mirrors the new
Justin Erenkrantz [Sun, 12 Aug 2001 18:00:03 +0000 (18:00 +0000)]
Change the MaxSpareThreads to 150 for threaded MPM.  This mirrors the new
prefork setting and removes the default case where we would spawn three
children, but kill two of them immediately because MaxSpareThreads was
set to 10 (only one children can be supported with the old value).

Please note that I don't have email access as eBuilt's servers are AWOL
this weekend (none of us have the desire to go in a fix the servers for
semi-obvious reasons).  I'm trying to keep up on posts via apachelabs.org.
So, if you want to change this, just go ahead and commit the changes...

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

23 years agoPut the MaxClients setting for prefork back to its 1.3 level.
Joshua Slive [Sun, 12 Aug 2001 15:44:18 +0000 (15:44 +0000)]
Put the MaxClients setting for prefork back to its 1.3 level.

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

23 years agoFix the macro expansion problem in the hook declaration.
Ryan Bloom [Sat, 11 Aug 2001 18:03:28 +0000 (18:03 +0000)]
Fix the macro expansion problem in the hook declaration.
Submitted by: Ian Holsman <ianh@cnet.com>

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

23 years agoFix the proxy when the origin server sends back a 100
Ryan Bloom [Sat, 11 Aug 2001 05:10:23 +0000 (05:10 +0000)]
Fix the proxy when the origin server sends back a 100
Continue response.  [John Barbee <barbee@veribox.net>]

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

23 years agoForgot the CHANGES comment with my last commit.
Ryan Bloom [Sat, 11 Aug 2001 04:09:45 +0000 (04:09 +0000)]
Forgot the CHANGES comment with my last commit.

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

23 years agoFix the new method code. We need to cast 1 to an apr_int64_t or it will
Ryan Bloom [Sat, 11 Aug 2001 04:04:13 +0000 (04:04 +0000)]
Fix the new method code.  We need to cast 1 to an apr_int64_t or it will
be treated as a 32-bit integer, and it will wrap after being shifted
32 times.
Submitted by: Cody Sherr <csherr@covalent.net> and
Ryan Morgan <rmorgan@covalent.net>

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

23 years agohot and muggy in Raleigh (i.e., it's August)
Greg Ames [Fri, 10 Aug 2001 20:16:54 +0000 (20:16 +0000)]
hot and muggy in Raleigh (i.e., it's August)

De-emphasize some daedalus problems that don't seem so important any more.
I haven't tried the mod_cgid/suexec thing in ages.

<knocks on wood> We haven't seen a core dump on daedalus since the 2.0.22
tarball went live over a week ago.  It's got an APR circumvention for
an apparent FreeBSD sendfile bug.  Once I'm 100% confident we've nailed
the problem, I'll post this patch to the APR list.

The 0x30303030 seg fault after restart problem is just gone.  OtherBill may
have fixed this one with the inherit stuff...dunno.

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

23 years agoWipe out a couple suspended bugs.
Joshua Slive [Fri, 10 Aug 2001 19:30:43 +0000 (19:30 +0000)]
Wipe out a couple suspended bugs.

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

23 years agoMove things to the docs/STATUS file and reference the various
Joshua Slive [Fri, 10 Aug 2001 19:02:02 +0000 (19:02 +0000)]
Move things to the docs/STATUS file and reference the various
STATUS files sprinkled throughout the tree.

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

23 years agoHot and sunny again in Montreal.
Joshua Slive [Fri, 10 Aug 2001 18:54:09 +0000 (18:54 +0000)]
Hot and sunny again in Montreal.

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

23 years agoClarify what %U will log.
Joshua Slive [Fri, 10 Aug 2001 18:51:04 +0000 (18:51 +0000)]
Clarify what %U will log.

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

23 years agoThis should fix the remaining problems with POST. Basically, we
Ryan Bloom [Fri, 10 Aug 2001 18:35:08 +0000 (18:35 +0000)]
This should fix the remaining problems with POST.  Basically, we
add a new macro, called APR_BRIGADE_NORMALIZE.  This macro searches
all the buckets, and removes any zero length bucket.  They we can
just use APR_BRIGADE_EMPTY to determine if our brigade has any data,
and we can quickly call ap_get_brigade if it doesn't.

Doug, please throw your battery of tests at this to make sure it works.

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

23 years agoEliminate duplicate info and add references to logs.html.
Joshua Slive [Fri, 10 Aug 2001 15:58:16 +0000 (15:58 +0000)]
Eliminate duplicate info and add references to logs.html.

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

23 years agoBring forward new logs.html doc from 1.3.
Joshua Slive [Fri, 10 Aug 2001 15:54:09 +0000 (15:54 +0000)]
Bring forward new logs.html doc from 1.3.

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

23 years agoFix a bug in mod_expires. Previous to this patch, if you
Ryan Bloom [Fri, 10 Aug 2001 05:29:09 +0000 (05:29 +0000)]
Fix a bug in mod_expires.  Previous to this patch, if you
told mod_expires to add 604800 seconds to the last-modified
time, it actually added 604800 usec's to the last-modified time,
so that when looking at the response it looked like nothing
had been done.  The root of the problem was that we always compute
time in usec's, but we ask users to input sec's.  This means we
need to convert to usec's before using those values.
CS: Obtained from:

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

23 years agoThe worker MPM now handles shutdown and restart requests. It
Ryan Bloom [Fri, 10 Aug 2001 05:00:27 +0000 (05:00 +0000)]
The worker MPM now handles shutdown and restart requests.  It
definately isn't perfect, but we do stop the servers correctly.
The biggest problem right now is that SIGHUP causes the server to
just die.

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

23 years agorecord something in the error log if the parent process seg faults
Greg Ames [Fri, 10 Aug 2001 01:34:11 +0000 (01:34 +0000)]
record something in the error log if the parent process seg faults

Submitted by: Jeff Trawick

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

23 years agoWe want to use mod_cgid with the worker MPM as well.
Ryan Bloom [Thu, 9 Aug 2001 20:59:00 +0000 (20:59 +0000)]
We want to use mod_cgid with the worker MPM as well.

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

23 years agoThis change was moved into 2.0.23. The problem therefore both began and
Cliff Woolley [Thu, 9 Aug 2001 15:56:20 +0000 (15:56 +0000)]
This change was moved into 2.0.23.  The problem therefore both began and
was fixed in 2.0.23, so no CHANGES entry is necessary.

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

23 years agoFix a restart problem when cgid is used. Code in the parent
Jeff Trawick [Thu, 9 Aug 2001 15:10:58 +0000 (15:10 +0000)]
Fix a restart problem when cgid is used.  Code in the parent
httpd process was trying to clear a pool which is now only
initialized in the child.

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

23 years agoIf we are going to get the length of a brigade, it helps if that
Ryan Bloom [Thu, 9 Aug 2001 04:56:23 +0000 (04:56 +0000)]
If we are going to get the length of a brigade, it helps if that
brigade has data.  To that end, if we have just expanded ctx->b, we need
to concat ctx->b to the end of b, so that b has something to pass
back to the previous filter.

This fixes the problem with the proxy not proxying non-keepalive
connections.

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

23 years agoAdd a comment so that the next poor fool who re-writes this section
Ryan Bloom [Thu, 9 Aug 2001 04:25:46 +0000 (04:25 +0000)]
Add a comment so that the next poor fool who re-writes this section
of code will know about this case.

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

23 years agoHandle the -1 case in ap_http_filter. -1 means that we have to read
Ryan Bloom [Thu, 9 Aug 2001 04:21:26 +0000 (04:21 +0000)]
Handle the -1 case in ap_http_filter.  -1 means that we have to read
all data from the socket until the socket is closed.  This has been
used to proxy www.google.com successfully, but it doesn't return anything
when used with www.yahoo.com.  Still debugging that problem.

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

23 years agoRemove the block argument from apr_brigade_partition. This looked good
Ryan Bloom [Wed, 8 Aug 2001 22:24:04 +0000 (22:24 +0000)]
Remove the block argument from apr_brigade_partition.  This looked good
in theory, but in reality, we should just rely on the timeouts to handle
this.

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

23 years agofrom madhu: no longer need to force eReadType and eMode
Doug MacEachern [Wed, 8 Aug 2001 15:49:07 +0000 (15:49 +0000)]
from madhu: no longer need to force eReadType and eMode

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

23 years agoRe-apply the patch from yesterday that makes ap_http_filter use
Ryan Bloom [Wed, 8 Aug 2001 15:42:08 +0000 (15:42 +0000)]
Re-apply the patch from yesterday that makes ap_http_filter use
apr_brigade_partition.  In order to do this cleanly, I had to make
some changes to the apr_brigade_partition API, so this also adds fixes
all of the calls to that function throughout the server.

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

23 years agoUpdate httpd to reflect change with free() pointer in buckets code
Cliff Woolley [Wed, 8 Aug 2001 06:04:07 +0000 (06:04 +0000)]
Update httpd to reflect change with free() pointer in buckets code

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

23 years agoget POST requests working with mod_ssl
Doug MacEachern [Wed, 8 Aug 2001 05:11:33 +0000 (05:11 +0000)]
get POST requests working with mod_ssl

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

23 years agoApache Monitor's tray code does not notify Windows to remove it from the
Roy T. Fielding [Wed, 8 Aug 2001 02:26:05 +0000 (02:26 +0000)]
Apache Monitor's tray code does not notify Windows to remove it from the
tray when the process is destroyed. Just needed to add a call to remove
the tray icon before PostQuitMessage(0).

Also show "MS Windows XP" instead of "Whistler".

Submitted by: Jerry Baker <jerrybaker@weirdness.com>

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

23 years agodrop a brace inside #if 0 so emacs can indent properly
Doug MacEachern [Wed, 8 Aug 2001 02:10:51 +0000 (02:10 +0000)]
drop a brace inside #if 0 so emacs can indent properly

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

23 years agos/apr_size_t/apr_off_t/ for input filter
Doug MacEachern [Wed, 8 Aug 2001 02:09:26 +0000 (02:09 +0000)]
s/apr_size_t/apr_off_t/ for input filter

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

23 years agoBump to 2.0.24-dev after tag
Cliff Woolley [Wed, 8 Aug 2001 00:04:21 +0000 (00:04 +0000)]
Bump to 2.0.24-dev after tag

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

23 years agoBump for 2.0.23 tag
Cliff Woolley [Wed, 8 Aug 2001 00:01:41 +0000 (00:01 +0000)]
Bump for 2.0.23 tag

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

23 years agoclean up the scoreboard properly after threaded processes die gracefully.
Greg Ames [Tue, 7 Aug 2001 22:28:51 +0000 (22:28 +0000)]
clean up the scoreboard properly after threaded processes die gracefully.

find_child_by_pid() failed to do its job, because ap_max_daemons_used was
too low.  There was some recent breakage in threaded that contributes to
the problem.

However, find_child_by_pid() should not be using the current number of
daemons.  It could have been recently reduced, which makes it fail to
find the exiting process.

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

23 years agoHopefully it's marked as binary this time around...
Cliff Woolley [Tue, 7 Aug 2001 21:59:20 +0000 (21:59 +0000)]
Hopefully it's marked as binary this time around...

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

23 years agoThis file should have been marked -kb ... it's getting CRLF translated
Cliff Woolley [Tue, 7 Aug 2001 21:57:50 +0000 (21:57 +0000)]
This file should have been marked -kb ... it's getting CRLF translated
by CVS on Windows.  I'll re-add it as -kb in the next commit.

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

23 years agochange readbytes from a apr_size_t to a apr_off_t to match the parameter
Ian Holsman [Tue, 7 Aug 2001 21:46:47 +0000 (21:46 +0000)]
change readbytes from a apr_size_t to a apr_off_t to match the parameter
required in ap_get_brigade
Submitted by:  barbee@veribox.net
Reviewed by:  ianh@apache.org

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

23 years agochange the parameter to ap_get_brigade from apr_site_t to apr_off_t, due to
Ian Holsman [Tue, 7 Aug 2001 21:18:03 +0000 (21:18 +0000)]
change the parameter to ap_get_brigade from apr_site_t to apr_off_t, due to
a parameter change in the original filter.
PR:
Submitted by: barbee@veribox.net
Reviewed by: ianh@apache.org

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

23 years agoUpdate .rc file to fix build
Cliff Woolley [Tue, 7 Aug 2001 20:57:39 +0000 (20:57 +0000)]
Update .rc file to fix build

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

23 years agoprefork is default.
Joshua Slive [Tue, 7 Aug 2001 20:34:47 +0000 (20:34 +0000)]
prefork is default.

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

23 years agoUse the prefork MPM by default on Unix.
Jeff Trawick [Tue, 7 Aug 2001 20:13:58 +0000 (20:13 +0000)]
Use the prefork MPM by default on Unix.

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

23 years agoI accidentally committed the DOS line endings in that last commit. This
Cliff Woolley [Tue, 7 Aug 2001 20:01:18 +0000 (20:01 +0000)]
I accidentally committed the DOS line endings in that last commit.  This
strips them back out again.  Diff this against v1.1 for the real changes.

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

23 years agoOops, missed the .mak file update. [Again, I'm flying blind... somebody
Cliff Woolley [Tue, 7 Aug 2001 19:58:35 +0000 (19:58 +0000)]
Oops, missed the .mak file update.  [Again, I'm flying blind... somebody
please check this.]

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

23 years agoThis is a nearly blind commit of an update posted by Mladen Turk just
Cliff Woolley [Tue, 7 Aug 2001 19:54:10 +0000 (19:54 +0000)]
This is a nearly blind commit of an update posted by Mladen Turk just
after the initial import.  Mladen, please check this to see if I got it
right.

Submitted by: Mladen Turk

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

23 years agothis change breaks POST, backing out for the moment
Doug MacEachern [Tue, 7 Aug 2001 19:54:06 +0000 (19:54 +0000)]
this change breaks POST, backing out for the moment

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

23 years agomod_rewrite: Fix the line ending on some non-Unix systems for
Jeff Trawick [Tue, 7 Aug 2001 19:34:58 +0000 (19:34 +0000)]
mod_rewrite: Fix the line ending on some non-Unix systems for
messages written to the rewrite log.

Submitted by: Richard Labennett <rlabenn@us.ibm.com>
Reviewed by:  Jeff Trawick

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

23 years ago Must return something in the 2^32 domain (preferably one, as shown here),
William A. Rowe Jr [Tue, 7 Aug 2001 18:37:04 +0000 (18:37 +0000)]
  Must return something in the 2^32 domain (preferably one, as shown here),
  not in the 2^64 domain.

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

23 years agoGreatly simplify the ap_http_filter logic, by using the
Ryan Bloom [Tue, 7 Aug 2001 17:57:44 +0000 (17:57 +0000)]
Greatly simplify the ap_http_filter logic, by using the
apr_brigade_partition function.  This should also remove a warning from
the Windows build, because apr_off_t and apr_size_t aren't the same
size.

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

23 years ago Update for the 2.0.23 tag
William A. Rowe Jr [Tue, 7 Aug 2001 17:21:21 +0000 (17:21 +0000)]
  Update for the 2.0.23 tag

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

23 years ago Include ApacheMonitor/wintty in the build.
William A. Rowe Jr [Tue, 7 Aug 2001 17:19:04 +0000 (17:19 +0000)]
  Include ApacheMonitor/wintty in the build.

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

23 years agoUpdate the README so that it reflects just what Apache is today, and so
Ryan Bloom [Tue, 7 Aug 2001 16:56:32 +0000 (16:56 +0000)]
Update the README so that it reflects just what Apache is today, and so
that it is correct about where things reside.
Submitted by: Joshua Slive <joshua@slive.ca>

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

23 years ago Just cleaning up some indents
William A. Rowe Jr [Tue, 7 Aug 2001 16:40:29 +0000 (16:40 +0000)]
  Just cleaning up some indents

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

23 years agoBack out a patch that wasn't ready for inclusion. Thanks to OtherBill
Ryan Bloom [Tue, 7 Aug 2001 16:40:25 +0000 (16:40 +0000)]
Back out a patch that wasn't ready for inclusion.  Thanks to OtherBill
for pointing out that this was committed when it shouldn't have been.

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

23 years agoRemove all warnings from the input filtering stack.
Ryan Bloom [Tue, 7 Aug 2001 16:19:03 +0000 (16:19 +0000)]
Remove all warnings from the input filtering stack.

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

23 years ago The solution for an icon monitor app has arrived :)
William A. Rowe Jr [Tue, 7 Aug 2001 15:51:29 +0000 (15:51 +0000)]
  The solution for an icon monitor app has arrived :)

  Contributed by Mladen Turk <mturk@mappingsoft.com>

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

23 years ago Eliminate emits
William A. Rowe Jr [Tue, 7 Aug 2001 15:50:25 +0000 (15:50 +0000)]
  Eliminate emits

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

23 years ago Thanks rbb, and the modproxy-dev autobuild report for pointing these out.
William A. Rowe Jr [Tue, 7 Aug 2001 15:15:53 +0000 (15:15 +0000)]
  Thanks rbb, and the modproxy-dev autobuild report for pointing these out.

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

23 years ago Here today, gone yesterday.
William A. Rowe Jr [Tue, 7 Aug 2001 14:36:45 +0000 (14:36 +0000)]
  Here today, gone yesterday.

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

23 years ago All mod_autoindex query parsing is now quietly quashed with the
William A. Rowe Jr [Tue, 7 Aug 2001 12:54:31 +0000 (12:54 +0000)]
 All mod_autoindex query parsing is now quietly quashed with the
     IndexOption IgnoreClient.  The IndexOption SuppressColumnSorting
     still drops the column sort <a href>'s for the column headers, but
     IgnoreClient is required to ignore these Query options entirely.

     Introduced new mod_autoindex query argument parsing for F=[0|1|2]
     to allow the client to select plain, FancyIndexing or HTMLTable
     formatting, V=[0|1] to inhibit or enable version sorting, and
     P=pattern to return only specific files.  The old Query Arguments
     were reorganized as C=f for sorting column 'f' (same N, D, S, or M
     as before), and O=A|D for ordering ascending or descending.

     Docs and an Example are provided in mod_autoindex.html

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

23 years agoFixed an error in ap_ssi_get_tag_and_value(). It was not placing the
Cliff Woolley [Tue, 7 Aug 2001 08:02:42 +0000 (08:02 +0000)]
Fixed an error in ap_ssi_get_tag_and_value().  It was not placing the
null terminator in the right spot for the tag_val if the value contained
backslashes.  This caused #if, #elif, and #else expressions with backslashes
to be incorrectly evaluated.

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

23 years agoFormatted output changes only...
William A. Rowe Jr [Tue, 7 Aug 2001 04:33:58 +0000 (04:33 +0000)]
Formatted output changes only...

     Introduced new mod_autoindex IndexOptions flags; SuppressIcon to
     drop the icon column and SuppressRules to drop the <hr> elements.
     These are necessary for HTML 3.2 final formatting rules.

     Introduced HTMLTable to create rudimentary HTML table listings
     (implies FancyIndexing).  Necessary for alternate charsets, since
     the columns are borked by multibyte characters.

     Re-Introduced the mod_autoindex IndexOptions flag TrackModified
     from Apache 1.3.15.  This is needed for two reasons, first, given
     multiple machines within a server farm, ETags and Last-Modified
     stamps won't correspond from machine to machine, and second, many
     Unixes don't capture changes to the date or time stamp of existing
     files, since these don't modify the dirent itself.
     [Originally for 1.3 by me]

     Re-Introduced the mod_autoindex InextOptions flag FoldersFirst
     and DirectoryWidth options from Apache 1.3.10.
     [Originally for 1.3 by Ken Coar]

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

23 years agoFix a segfault (was getting triggered by mod_include at least) caused
Cliff Woolley [Tue, 7 Aug 2001 02:34:42 +0000 (02:34 +0000)]
Fix a segfault (was getting triggered by mod_include at least) caused
by calling ap_allow_options() before setting rnew->per_dir_config.

This is the "easy looking" fix but might have side effects of which I'm
unaware... please double-check this change for correctness.

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

23 years ago A debatable change, to return (an absolute) 404 if some of the extentions
William A. Rowe Jr [Tue, 7 Aug 2001 00:51:22 +0000 (00:51 +0000)]
  A debatable change, to return (an absolute) 404 if some of the extentions
  of every matching file isn't decodable by mod_mime, instead of 500.
  Adopted 404 as the result, per Roy Fielding.

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

23 years ago Mumblings
William A. Rowe Jr [Mon, 6 Aug 2001 22:59:22 +0000 (22:59 +0000)]
  Mumblings

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

23 years ago Change the error wording, slightly.
William A. Rowe Jr [Mon, 6 Aug 2001 22:44:38 +0000 (22:44 +0000)]
  Change the error wording, slightly.

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

23 years ago Thanks goes to Manoj, while commenting on another issue, for triggering
William A. Rowe Jr [Mon, 6 Aug 2001 22:42:59 +0000 (22:42 +0000)]
  Thanks goes to Manoj, while commenting on another issue, for triggering
  this idea.  If we find files matching (e.g. index.html.bak matches
  index.html) but they are rejected because we don't understand them
  (e.g. they are a directory, or .bak isn't a mod_mime recognized extension)
  then Error 500 out of here, with a note for the system administrator
  explaining that index.html matches some files, but their extensions
  cannot be grokked.  No more (unintentional, or situational) autoindex :)

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

23 years agoplug mod_cgid restart leak
Doug MacEachern [Mon, 6 Aug 2001 22:32:57 +0000 (22:32 +0000)]
plug mod_cgid restart leak

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

23 years ago Per Silve's request, some docs that I was messing with these.
William A. Rowe Jr [Mon, 6 Aug 2001 21:51:58 +0000 (21:51 +0000)]
  Per Silve's request, some docs that I was messing with these.

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

23 years ago Whoops, missing win32 goodness
William A. Rowe Jr [Mon, 6 Aug 2001 21:48:10 +0000 (21:48 +0000)]
  Whoops, missing win32 goodness

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

23 years agoa couple of hacks to mod_example to get it to behave a little better:
Jeff Trawick [Mon, 6 Aug 2001 21:36:32 +0000 (21:36 +0000)]
a couple of hacks to mod_example to get it to behave a little better:

1) return DECLINED instead of OK from the quick_handler so we get
   some output

2) don't install x_fixer_upper() as a create_request handler; otherwise
   we segfault since r->per_dir_config hasn't been initialized yet

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

23 years ago Gone, see .html.en flavors
William A. Rowe Jr [Mon, 6 Aug 2001 19:42:42 +0000 (19:42 +0000)]
  Gone, see .html.en flavors

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

23 years ago These will _not_ be required in 2.0 If they are required today, there is
William A. Rowe Jr [Mon, 6 Aug 2001 19:37:27 +0000 (19:37 +0000)]
  These will _not_ be required in 2.0  If they are required today, there is
  still a bug to track down.

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

23 years ago Remove the ->mtime reset back to negotiation, who decided to do this.
William A. Rowe Jr [Mon, 6 Aug 2001 19:13:02 +0000 (19:13 +0000)]
  Remove the ->mtime reset back to negotiation, who decided to do this.

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

23 years ago _THIS_ is why mod_dir wouldn't serve the results of mod_negotiation
William A. Rowe Jr [Mon, 6 Aug 2001 19:10:12 +0000 (19:10 +0000)]
  _THIS_ is why mod_dir wouldn't serve the results of mod_negotiation
  with a query string

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

23 years ago Fix typo from extracting the fast-redirect code
William A. Rowe Jr [Mon, 6 Aug 2001 19:09:08 +0000 (19:09 +0000)]
  Fix typo from extracting the fast-redirect code

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

23 years ago The real slim shady finally stood up. This patch segregates the fast
William A. Rowe Jr [Mon, 6 Aug 2001 19:03:37 +0000 (19:03 +0000)]
  The real slim shady finally stood up.  This patch segregates the fast
  internal redirect logic back into http_request, the next patch will
  actually fix it.

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

23 years ago Kill some deadwood
William A. Rowe Jr [Mon, 6 Aug 2001 18:50:53 +0000 (18:50 +0000)]
  Kill some deadwood

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

23 years ago Same cleanups as applied to mod_cgi, falling out of scope != destruction
William A. Rowe Jr [Mon, 6 Aug 2001 18:43:30 +0000 (18:43 +0000)]
  Same cleanups as applied to mod_cgi, falling out of scope != destruction
  in plain ol' C.

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

23 years ago We are done with this subrequest (before we even got started...) so
William A. Rowe Jr [Mon, 6 Aug 2001 18:41:31 +0000 (18:41 +0000)]
  We are done with this subrequest (before we even got started...) so
  dump it early.

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

23 years ago This is not C++, falling out of scope doesn't constitute destruction :)
William A. Rowe Jr [Mon, 6 Aug 2001 18:38:43 +0000 (18:38 +0000)]
  This is not C++, falling out of scope doesn't constitute destruction :)

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

23 years agoExplain the worker MPM
Ryan Bloom [Mon, 6 Aug 2001 15:55:43 +0000 (15:55 +0000)]
Explain the worker MPM

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

23 years agoRemove all the warnings from mod_example.c.
Ryan Bloom [Mon, 6 Aug 2001 13:46:48 +0000 (13:46 +0000)]
Remove all the warnings from mod_example.c.

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

23 years ago This was entirely broken. We cannot skip the location walk just because
William A. Rowe Jr [Mon, 6 Aug 2001 05:26:37 +0000 (05:26 +0000)]
  This was entirely broken.  We cannot skip the location walk just because
  we are in a file subrequest (think of a file server-status sitting in
  the document root, this shouldn't be blindly served as a 'file'.)

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

23 years ago Just a little cleaner.
William A. Rowe Jr [Mon, 6 Aug 2001 05:07:34 +0000 (05:07 +0000)]
  Just a little cleaner.

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

23 years ago Multiviews and mod_negotiation will already handle this case, it never
William A. Rowe Jr [Mon, 6 Aug 2001 04:47:12 +0000 (04:47 +0000)]
  Multiviews and mod_negotiation will already handle this case, it never
  belonged in mod_cgi itself.

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