]> granicus.if.org Git - apache/log
apache
23 years agoINIT_SIGLIST() is gone; stop using it
Jeff Trawick [Sun, 11 Feb 2001 03:27:21 +0000 (03:27 +0000)]
INIT_SIGLIST() is gone; stop using it

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

23 years agoinclude "apr_signal.h" when needed
Greg Stein [Sun, 11 Feb 2001 01:09:02 +0000 (01:09 +0000)]
include "apr_signal.h" when needed

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

23 years ago*) include "apr_signal.h" when needed
Greg Stein [Sun, 11 Feb 2001 01:08:24 +0000 (01:08 +0000)]
*) include "apr_signal.h" when needed
*) some other minor include tweaks

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

23 years agoFix a potential segfault on all platforms. David Reid fixed this for
Ryan Bloom [Sun, 11 Feb 2001 00:51:38 +0000 (00:51 +0000)]
Fix a potential segfault on all platforms.  David Reid fixed this for
BEOS, but this could actually happen on any platform, so we should
be safe and protect ourselves.
Submitted by: Cliff Woolley <cliffwoolley@yahoo.com>
Reviewed by: Ryan Bloom

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

23 years agotoss the signal description stuff from unixd.[ch], beosd.h, and spmt_os2.
Greg Stein [Sun, 11 Feb 2001 00:44:40 +0000 (00:44 +0000)]
toss the signal description stuff from unixd.[ch], beosd.h, and spmt_os2.
use the new functionality in APR.

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

23 years agoCleanup the rest of the warnings that appear when compileing with
Ryan Bloom [Sun, 11 Feb 2001 00:24:49 +0000 (00:24 +0000)]
Cleanup the rest of the warnings that appear when compileing with
GRPOF.

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

23 years agoFix any compile breaks after moving apr_snprintf and apr_vsnprintf to
Ryan Bloom [Sun, 11 Feb 2001 00:12:43 +0000 (00:12 +0000)]
Fix any compile breaks after moving apr_snprintf and apr_vsnprintf to
apr_strings.h

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

23 years agoFix a warning when compiling with GPROF
Ryan Bloom [Sun, 11 Feb 2001 00:10:30 +0000 (00:10 +0000)]
Fix a warning when compiling with GPROF

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

23 years agoclean up more warnings and link problems after the header file
Jeff Trawick [Sun, 11 Feb 2001 00:09:40 +0000 (00:09 +0000)]
clean up more warnings and link problems after the header file
shuffle

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

23 years agoAllow us to use INCLUDES on files with multiple extensions, and use
Ryan Bloom [Sat, 10 Feb 2001 23:53:07 +0000 (23:53 +0000)]
Allow us to use INCLUDES on files with multiple extensions, and use
FilesMatch instead of Files ~.
Submitted by: Joshua Slive <slive@finance.commerce.ubc.ca>

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

23 years agoRemove the warning from the mod_include docs since it seems
Joshua Slive [Sat, 10 Feb 2001 23:36:07 +0000 (23:36 +0000)]
Remove the warning from the mod_include docs since it seems
relatively up-to-date now.

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

23 years agoUpdate all the references I can find to use SetOutputFilter to
Joshua Slive [Sat, 10 Feb 2001 23:33:36 +0000 (23:33 +0000)]
Update all the references I can find to use SetOutputFilter to
actives SSIs.

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

23 years agoRemove SetFilter from the mod_mime docs.
Joshua Slive [Sat, 10 Feb 2001 23:32:21 +0000 (23:32 +0000)]
Remove SetFilter from the mod_mime docs.

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

23 years agomore module build cleanup, removing warnings and some
Jeff Trawick [Sat, 10 Feb 2001 22:21:23 +0000 (22:21 +0000)]
more module build cleanup, removing warnings and some
link errors (from when apr_ ctype macros weren't available)

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

23 years ago Fix more module breakage from header reorg
William A. Rowe Jr [Sat, 10 Feb 2001 21:59:59 +0000 (21:59 +0000)]
  Fix more module breakage from header reorg

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

23 years ago Fix Win32 Breakage
William A. Rowe Jr [Sat, 10 Feb 2001 21:57:45 +0000 (21:57 +0000)]
  Fix Win32 Breakage

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

23 years agoFix the configure scripts, so that we don't try to substitute into
Ryan Bloom [Sat, 10 Feb 2001 18:09:26 +0000 (18:09 +0000)]
Fix the configure scripts, so that we don't try to substitute into
test/Makefile unless we actually have a test directory.  The problem
is that we don't distribute test directories with our tarballs, so our
configure script outputs error messages.  This fixes that problem.

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

23 years agoSmall header file cleanup.
Ryan Bloom [Sat, 10 Feb 2001 17:47:26 +0000 (17:47 +0000)]
Small header file cleanup.

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

23 years agoHeader file cleanup.
Ryan Bloom [Sat, 10 Feb 2001 17:39:22 +0000 (17:39 +0000)]
Header file cleanup.

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

23 years agoMake the config file use SetOutputFilter, since AddOutputFilter is
Ryan Bloom [Sat, 10 Feb 2001 17:15:59 +0000 (17:15 +0000)]
Make the config file use SetOutputFilter, since AddOutputFilter is
dead now.
Submitted by: Greg Stein

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

23 years agoget rid of some warnings and an undefined reference which crept into
Jeff Trawick [Sat, 10 Feb 2001 15:01:16 +0000 (15:01 +0000)]
get rid of some warnings and an undefined reference which crept into
some modules overnight

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

23 years ago[ missed in last commit ]
Greg Stein [Sat, 10 Feb 2001 14:13:50 +0000 (14:13 +0000)]
[ missed in last commit ]

clean out some headers and libs from the configure process (not needed)

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

23 years ago*) continued header revamping
Greg Stein [Sat, 10 Feb 2001 14:04:21 +0000 (14:04 +0000)]
*) continued header revamping
*) torch some headers (and some libs) from the autoconf stuff

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

23 years agoClean up some of the includes:
Greg Stein [Sat, 10 Feb 2001 13:05:29 +0000 (13:05 +0000)]
Clean up some of the includes:
- explicitly include apr_lib.h since ap_config.h doesn't
- use apr_want.h where possible
- use APR_HAVE_ where possible
- remove some unneeded includes

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

23 years agohttp_conf_globals.h is gone
Greg Stein [Sat, 10 Feb 2001 12:13:26 +0000 (12:13 +0000)]
http_conf_globals.h is gone

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

23 years agomore APR-ization
Greg Stein [Sat, 10 Feb 2001 12:11:50 +0000 (12:11 +0000)]
more APR-ization

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

23 years ago*) clean out some old crap from ap_config.h; other simplifications; don't
Greg Stein [Sat, 10 Feb 2001 11:59:58 +0000 (11:59 +0000)]
*) clean out some old crap from ap_config.h; other simplifications; don't
   include stuff randomly (let users include them explicitly)
*) toss ap_config_path.h -- we can put those values into ap_config_auto.h

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

23 years agoRemove the SetFilter directive from the code. This directive wasn't
Ryan Bloom [Sat, 10 Feb 2001 05:30:51 +0000 (05:30 +0000)]
Remove the SetFilter directive from the code.  This directive wasn't
nearly as useful as the SetOutputFilter and SetInputFilter, and it never
really worked properly.

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

23 years agoUpdate the conf file to use the correct model for turning on SSI's
Ryan Bloom [Sat, 10 Feb 2001 05:00:50 +0000 (05:00 +0000)]
Update the conf file to use the correct model for turning on SSI's

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

23 years agoRemove definition of ap_extended_status, it's defined in scoreboard.c
Brian Havard [Sat, 10 Feb 2001 04:27:58 +0000 (04:27 +0000)]
Remove definition of ap_extended_status, it's defined in scoreboard.c

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

23 years agoBetter get the index entries too.
Joshua Slive [Sat, 10 Feb 2001 04:12:55 +0000 (04:12 +0000)]
Better get the index entries too.

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

23 years agoServerType is gone in 2.0.
Joshua Slive [Sat, 10 Feb 2001 04:12:00 +0000 (04:12 +0000)]
ServerType is gone in 2.0.

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

23 years agoAdd some VERY basic filter documentation. See followup discussion
Joshua Slive [Sat, 10 Feb 2001 04:04:12 +0000 (04:04 +0000)]
Add some VERY basic filter documentation.  See followup discussion
on apache-docs.

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

23 years agoAdd new LogFormat directive, %D, to log time it takes to serve a request
Bill Stoddard [Sat, 10 Feb 2001 03:38:48 +0000 (03:38 +0000)]
Add new LogFormat directive, %D, to log time it takes to serve a request
in microseconds.

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

23 years ago*) remove obsolete http_conf_globals.h
Greg Stein [Sat, 10 Feb 2001 03:03:18 +0000 (03:03 +0000)]
*) remove obsolete http_conf_globals.h
*) simplify all this #ifdef'ing: just nuke the unixd.h header. it isn't
   actually needed.

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

23 years agoFix more breakage on BeOS...
David Reid [Sat, 10 Feb 2001 01:16:11 +0000 (01:16 +0000)]
Fix more breakage on BeOS...

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

23 years agoBeOS doesn't have unixd.h either.
David Reid [Sat, 10 Feb 2001 00:52:22 +0000 (00:52 +0000)]
BeOS doesn't have unixd.h either.

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

23 years agoChange AddInputFilter and AddOutputFilter to SetInputFilter and
Ryan Bloom [Sat, 10 Feb 2001 00:33:38 +0000 (00:33 +0000)]
Change AddInputFilter and AddOutputFilter to SetInputFilter and
SetOutputFilter.  This corresponds nicely with the other Set
directives, which operate on containers while the Add* directives
tend to work directly on extensions.  [Ryan Bloom]

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

23 years ago"v" in the name has come to mean that a va_arg is in the parameter list.
Greg Stein [Fri, 9 Feb 2001 22:57:50 +0000 (22:57 +0000)]
"v" in the name has come to mean that a va_arg is in the parameter list.
putstrs is clearer in this case.

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

23 years agouse apr_size_t for file lengths; this avoids a warning (and perhaps
Jeff Trawick [Fri, 9 Feb 2001 18:34:24 +0000 (18:34 +0000)]
use apr_size_t for file lengths; this avoids a warning (and perhaps
a run-time SNAFU depending on the byte ordering) on systems where
apr_size_t is long

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

23 years agoFix another windows compile break.
Bill Stoddard [Fri, 9 Feb 2001 18:15:01 +0000 (18:15 +0000)]
Fix another windows compile break.

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

23 years agoReplace reinit_scoreboard with ap_create_scoreboard.
Bill Stoddard [Fri, 9 Feb 2001 16:11:50 +0000 (16:11 +0000)]
Replace reinit_scoreboard with ap_create_scoreboard.

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

23 years agoFunctions that use ... have to be NONSTD. At least I think Will told me
Ryan Bloom [Fri, 9 Feb 2001 15:05:28 +0000 (15:05 +0000)]
Functions that use ... have to be NONSTD.  At least I think Will told me
that at one point.

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

23 years agoA few small docs changes (there were ';' in the ScanDoc), and remove some
Ryan Bloom [Fri, 9 Feb 2001 14:47:48 +0000 (14:47 +0000)]
A few small docs changes (there were ';' in the ScanDoc), and remove some
very cool but totally unportable macros.  :-(

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

23 years ago*) minor changes, simplifications
Greg Stein [Fri, 9 Feb 2001 12:19:47 +0000 (12:19 +0000)]
*) minor changes, simplifications
*) fix terminate_header: don't assume anything about the brigade (especially
   that its last bucket is a shared/heap bucket)

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

23 years ago*) namespace protect the filter_flush() function
Greg Stein [Fri, 9 Feb 2001 11:15:03 +0000 (11:15 +0000)]
*) namespace protect the filter_flush() function
*) don't toss the status value from ap_pass_brigade in ap_fflush; return it
*) doc/macro nits

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

23 years agoMake the header filter use the brigade buffering functions for creating
Ryan Bloom [Fri, 9 Feb 2001 07:17:53 +0000 (07:17 +0000)]
Make the header filter use the brigade buffering functions for creating
the header string.  This allows us to clean up the header handling a bit,
because we don't need to compute the correct length before we can create
the headers.

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

23 years agoAllow filters to buffer data in a brigade using the ap_f* functions.
Ryan Bloom [Fri, 9 Feb 2001 07:04:52 +0000 (07:04 +0000)]
Allow filters to buffer data in a brigade using the ap_f* functions.
These have become simple macros that just wrap the apr_brigade functions,
allowing filter writers to ignore the flush function and the ctx pointer.

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

23 years agoFix windows compile break
Bill Stoddard [Fri, 9 Feb 2001 04:19:42 +0000 (04:19 +0000)]
Fix windows compile break

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

23 years agoinclude strings.h for strcasecmp()
Jeff Trawick [Thu, 8 Feb 2001 19:24:15 +0000 (19:24 +0000)]
include strings.h for strcasecmp()

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

23 years agoapr_make_array->apr_array_make
Jeff Trawick [Thu, 8 Feb 2001 16:38:11 +0000 (16:38 +0000)]
apr_make_array->apr_array_make
(if only it were apr_rename.py instead of apr_rename.pl)

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

23 years agoMake a mod_auth_digest build fail in a less mysterious way on systems
Jeff Trawick [Thu, 8 Feb 2001 14:39:31 +0000 (14:39 +0000)]
Make a mod_auth_digest build fail in a less mysterious way on systems
without APR random number support (e.g., a stock Tru64 system).

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

23 years agoget _SC_CLK_TCK defined on Tru64 (and probably some other systems
Jeff Trawick [Thu, 8 Feb 2001 13:16:00 +0000 (13:16 +0000)]
get _SC_CLK_TCK defined on Tru64 (and probably some other systems
as well); it works without it on systems which define HZ or don't
have times

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

23 years ago*) make sure the status line is set on custom responses
Greg Stein [Thu, 8 Feb 2001 11:31:02 +0000 (11:31 +0000)]
*) make sure the status line is set on custom responses
*) allow CHECKOUT on version resources

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

23 years agorenaming various functions for consistency sake
Doug MacEachern [Thu, 8 Feb 2001 07:45:33 +0000 (07:45 +0000)]
renaming various functions for consistency sake
see: http://apr.apache.org/~dougm/apr_rename.pl
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoscoreboard.h says it is extern (and scoreboard.c instantiates it),
Jeff Trawick [Thu, 8 Feb 2001 02:51:42 +0000 (02:51 +0000)]
scoreboard.h says it is extern (and scoreboard.c instantiates it),
but prefork.c instantiated it as static

It looks like the BeOS and OS/2 MPMs sh/could get rid of this decl.
also.

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

23 years agolots o' dicussion... time to vote.
Greg Stein [Thu, 8 Feb 2001 00:20:10 +0000 (00:20 +0000)]
lots o' dicussion... time to vote.

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

23 years agoMove OS/2 MPM specific variables out of scoreboard & into an array local to
Brian Havard [Wed, 7 Feb 2001 23:25:31 +0000 (23:25 +0000)]
Move OS/2 MPM specific variables out of scoreboard & into an array local to
the MPM.

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

23 years agoFix graceful shutdown with the scoreboard changes. Basically, we want
Ryan Bloom [Wed, 7 Feb 2001 21:41:43 +0000 (21:41 +0000)]
Fix graceful shutdown with the scoreboard changes.  Basically, we want
to set the sb_type only after we zero out the scoreboard.  Before this,
we were segfaulting when we tried to free() a shared memory scoreboard.

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

23 years agoGet the Unix MPMs restarting again. If we are going to register a cleanup
Ryan Bloom [Wed, 7 Feb 2001 20:49:25 +0000 (20:49 +0000)]
Get the Unix MPMs restarting again.  If we are going to register a cleanup
for ap_cleanup_scoreboard, then we have to kill that cleanup with the same
function.  This also makes ap_cleanup_scoreboard a non-static function, and
makes ap_cleanup_shared_mem a static function.

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

23 years agoInstall all required header files. Without these, some modules can not
Ryan Bloom [Wed, 7 Feb 2001 19:07:46 +0000 (19:07 +0000)]
Install all required header files.  Without these, some modules can not
be compiled outside the src tree.

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

23 years agoFix a bug with AliasMatch. When forward fitting a bug from 1.3 to 2.0, we
Ryan Bloom [Wed, 7 Feb 2001 17:50:07 +0000 (17:50 +0000)]
Fix a bug with AliasMatch.  When forward fitting a bug from 1.3 to 2.0, we
forgot a single line which broke this option.
PR: 6881

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

23 years agoget rid of some cruft related to a now-unused parameter to
Jeff Trawick [Wed, 7 Feb 2001 13:17:32 +0000 (13:17 +0000)]
get rid of some cruft related to a now-unused parameter to
make_child() and unnecessary calls to time()

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

23 years agoRevamp the CHECKOUT method handling and various support functions for it.
Greg Stein [Wed, 7 Feb 2001 12:33:17 +0000 (12:33 +0000)]
Revamp the CHECKOUT method handling and various support functions for it.
Basically, the original CHECKOUT was based on a really old draft of the
DeltaV specification. This brings it up to date.

*) get_resource hook now takes an optional label name and/or a flag on
   whether to use the DAV:checked-in property; if either one is provided,
   then a version resource is looked up and returned.

   WARNING: the parameter types are now the same, but have very different
    semantics. this means you won't get a compile error to figure
    out that something needs to be changed here.

*) mod_dav.c::dav_get_resource no longer cahces the fetched resource in the
   request userdata. Some requests will call this function multiple times,
   for different resources -- we don't want to keep returning the same
   resource (no idea how this ended up working).

*) dav_get_resource()'s parameters have been updated. target_allowed is old
   terminology; it is now label_allowed. The target paramter is obsoleted by
   the simple use_checked_in flag.

*) dav_get_target_selector() is obsolete. XML element processing is done
   within the CHECKOUT method (i.e. only where it occurs). The other half of
   the old function was to simply fetch the Label: header.

*) DAV_TARGET_SELECTOR_HDR is now DAV_LABEL_HDR

*) dav_method_checkout() now processes all the various options for a
   CHECKOUT method and either modifies the initial resource lookup, or
   passes the data to the checkout hook function.

*) the checkout hook grew a bunch of new parameters

*) new utility function: dav_xml_get_cdata() to gather up all the CDATA from
   an XML element. this is used to extract DAV:href values.
   (probably move to util_xml.c at some point)

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

23 years ago$enable_dav can be one of: yes, shared, no. We want to adjust the INCLUDES
Greg Stein [Wed, 7 Feb 2001 09:44:11 +0000 (09:44 +0000)]
$enable_dav can be one of: yes, shared, no. We want to adjust the INCLUDES
if it is anything but no. (it wasn't getting set properly for "shared")

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

23 years agoadditions and deletions for proxy in current codebase
Chuck Murcko [Wed, 7 Feb 2001 05:42:10 +0000 (05:42 +0000)]
additions and deletions for proxy in current codebase
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoChanges to get running on the current codebase
Chuck Murcko [Wed, 7 Feb 2001 05:41:35 +0000 (05:41 +0000)]
Changes to get running on the current codebase
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoNo longer need to set ap_restart_time here as it's done in
Brian Havard [Wed, 7 Feb 2001 00:27:25 +0000 (00:27 +0000)]
No longer need to set ap_restart_time here as it's done in
ap_create_scoreboard().

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

23 years agoBack out previous change. dav/main/config.m4 adds its directory the the
Greg Stein [Tue, 6 Feb 2001 23:36:53 +0000 (23:36 +0000)]
Back out previous change. dav/main/config.m4 adds its directory the the
INCLUDES variable. No need to do it yet again.

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

23 years agoDon't include mpm.h from scoreboard.h as scoreboard.h is included from mpm.h.
Brian Havard [Tue, 6 Feb 2001 23:33:31 +0000 (23:33 +0000)]
Don't include mpm.h from scoreboard.h as scoreboard.h is included from mpm.h.
Instead, make the MPM type defined before including scoreboard.h.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoWe have a poor abstraction in the protocol. This is a temporary
Ryan Bloom [Tue, 6 Feb 2001 22:49:46 +0000 (22:49 +0000)]
We have a poor abstraction in the protocol.  This is a temporary
hack to fix the bug, but it will need to be fixed for real.  If
we find an error while sending out a custom error response, we back
up to the first non-OK request and send the data.  Then, when we send
the EOS from finalize_request_protocol, we go to the last request,
to ensure that we aren't sending an EOS to a request that has already
received one.  Because the data is sent on a different request than
the EOS, the error text never gets sent down the filter stack.  This
fixes the problem by finding the last request, and sending the data
with that request.
PR: 7165

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

23 years agoget perchild just a little closer to building; maybe somebody
Jeff Trawick [Tue, 6 Feb 2001 22:34:56 +0000 (22:34 +0000)]
get perchild just a little closer to building; maybe somebody
with a soft spot in their heart for perchild can spend the
remaining ten minutes to fix it;

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

23 years agoget Unix MPMs to build again after recent scoreboard changes
Jeff Trawick [Tue, 6 Feb 2001 22:22:59 +0000 (22:22 +0000)]
get Unix MPMs to build again after recent scoreboard changes

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

23 years agoJean Frederic says (and I verified his claim):
Martin Kraemer [Tue, 6 Feb 2001 21:47:50 +0000 (21:47 +0000)]
Jean Frederic says (and I verified his claim):
  After fighting with shlibtool I discovered that the problem was that
  libtool was called instead shlibtools.

  Of course it is easy to fix and it fixes mod_dav and mod_dav_fs [...]

Submitted by: jfrederic.clere@fujitsu-siemens.com

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

23 years agoRemove some STATUS items that relate to the scoreboard API. These were
Ryan Bloom [Tue, 6 Feb 2001 20:47:07 +0000 (20:47 +0000)]
Remove some STATUS items that relate to the scoreboard API.  These were
fixed with the mod_status changes last week.

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

23 years agoSetup the server start time correctly. This also gets the server uptime
Ryan Bloom [Tue, 6 Feb 2001 20:41:07 +0000 (20:41 +0000)]
Setup the server start time correctly.  This also gets the server uptime
to be reported correctly.  I have also moved this code into a common
location, so that individual MPMs do not need to worry about setting up
the start time.

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

23 years agoAdded note about later sections overriding earlier.
Chris Pepper [Tue, 6 Feb 2001 16:31:17 +0000 (16:31 +0000)]
Added note about later sections overriding earlier.
Removed note about order reversal in 1.2-1.3a versions.
Fixed a couple typos.
Matched up <p> & </p>.

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

23 years agoMake sure that mod_include's post_config hook always runs before
Ryan Bloom [Tue, 6 Feb 2001 16:21:14 +0000 (16:21 +0000)]
Make sure that mod_include's post_config hook always runs before
mod_cgi(d)'s post_config hook.  Mod_include creates a hash table in the
post_config stage that mod_cgi(d) uses during it's post_config stage, so
it must be done in this order.
Submitted by:  Brian Havard <brianh@kheldar.apana.org.au>

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

23 years agomove the instantiation of includes_module out of mod_include.h
Jeff Trawick [Tue, 6 Feb 2001 15:55:06 +0000 (15:55 +0000)]
move the instantiation of includes_module out of mod_include.h

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

23 years agoaxe an unused parm to make_child(); this gets rid of a warning
Jeff Trawick [Tue, 6 Feb 2001 15:52:27 +0000 (15:52 +0000)]
axe an unused parm to make_child(); this gets rid of a warning
on AIX about not having a prototype for time()

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

23 years agoGet OS/2 MPM running again after the reunification of the scoreboard code.
Brian Havard [Tue, 6 Feb 2001 15:16:05 +0000 (15:16 +0000)]
Get OS/2 MPM running again after the reunification of the scoreboard code.
mod_status still doesn't work right, I'll look into that next.

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

23 years agoFix for dav/fs to find the mod_dav.h ionclude file
Martin Kraemer [Tue, 6 Feb 2001 14:15:38 +0000 (14:15 +0000)]
Fix for dav/fs to find the mod_dav.h ionclude file
Submitted by: jfrederic.clere@fujitsu-siemens.com

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

23 years agoupdate for the latest build system
Chuck Murcko [Tue, 6 Feb 2001 10:46:23 +0000 (10:46 +0000)]
update for the latest build system
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoIf we are in the middle of a brigade loop, we don't want to always check
Ryan Bloom [Tue, 6 Feb 2001 04:13:45 +0000 (04:13 +0000)]
If we are in the middle of a brigade loop, we don't want to always check
the first bucket in the brigade.

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

23 years agoMove the logic for creating CGI processes from mod_include to mod_cgi(d).
Ryan Bloom [Mon, 5 Feb 2001 22:57:21 +0000 (22:57 +0000)]
Move the logic for creating CGI processes from mod_include to mod_cgi(d).
This removes a good deal of duplicate logic for creating CGI scripts.

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

23 years agoTweak the AP_MIN_SENDFILE_BYTES. Not using sendfile on Windows
Bill Stoddard [Mon, 5 Feb 2001 18:28:47 +0000 (18:28 +0000)]
Tweak the AP_MIN_SENDFILE_BYTES.  Not using sendfile on Windows
in the general (non byterange) case is a HUGE performance hit (> 50% in many cases).
I also suspect most byterange requests will be for substantially more bytes (a pageful
out of a larger document for example). In the uncommon (I believe) cases where
fewer bytes are requested, 250 bytes per packet is not too abusive of the network.

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

23 years agoap_new_connection() returns NULL if an error occurred (prefork MPM
Jeff Trawick [Mon, 5 Feb 2001 15:04:32 +0000 (15:04 +0000)]
ap_new_connection() returns NULL if an error occurred (prefork MPM
and ap_new_connection() were changed last week)

I have skipped putting the change into WinNT MPM and mod_proxy.  I
left a note in the mod_proxy code; for the NT MPM I think I can talk
somebody into doing the right thing for me.

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

23 years agoI hereby propose that the ASF buy that guy a compiler.
Jeff Trawick [Mon, 5 Feb 2001 12:55:11 +0000 (12:55 +0000)]
I hereby propose that the ASF buy that guy a compiler.

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

23 years ago*) add activity handling: OPTIONS and MKACTIVITY
Greg Stein [Mon, 5 Feb 2001 12:34:39 +0000 (12:34 +0000)]
*) add activity handling: OPTIONS and MKACTIVITY
*) fix HTTP status code in MKWORKSPACE handling
*) add can_be_activity and make_activity hooks to dav_hooks_vsn

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

23 years agos/l/r/ in ap_send_http_header protototype
Doug MacEachern [Mon, 5 Feb 2001 03:31:43 +0000 (03:31 +0000)]
s/l/r/ in ap_send_http_header protototype

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

23 years agoMove release.h to ap_release.h. This was done to namespace protect the
Ryan Bloom [Mon, 5 Feb 2001 03:15:20 +0000 (03:15 +0000)]
Move release.h to ap_release.h.  This was done to namespace protect the
release header file.  While doing this, I also made sure that the file
was only included once.
Submitted by: Greg Stein

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

23 years agoMove the APACHE_RELEASE macro to release.h
Ryan Bloom [Mon, 5 Feb 2001 01:12:47 +0000 (01:12 +0000)]
Move the APACHE_RELEASE macro to release.h

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

23 years agoRemove the Announcement file from the build tree. It has been moved to
Ryan Bloom [Mon, 5 Feb 2001 01:08:27 +0000 (01:08 +0000)]
Remove the Announcement file from the build tree.  It has been moved to
the Apache web site, in preparation for the first tag using the new tag
and release strategy.

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

23 years agoMove the server version information out of httpd.h and into release.h.
Ryan Bloom [Mon, 5 Feb 2001 01:02:27 +0000 (01:02 +0000)]
Move the server version information out of httpd.h and into release.h.
This is in preparation of the first tag with the new tag and release
strategy.

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

23 years agoMore mod_status work... Get Current Time, Restart Time and Server uptime
Bill Stoddard [Sun, 4 Feb 2001 03:12:49 +0000 (03:12 +0000)]
More mod_status work... Get Current Time, Restart Time and Server uptime
displaying properly.

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

23 years agoThe windows MPM has one child process.
Bill Stoddard [Sun, 4 Feb 2001 03:09:28 +0000 (03:09 +0000)]
The windows MPM has one child process.

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

23 years agofix minor prototype inconsistencies noticed with C::Scan
Doug MacEachern [Sun, 4 Feb 2001 03:00:15 +0000 (03:00 +0000)]
fix minor prototype inconsistencies noticed with C::Scan

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

23 years agoSo server-status displays "Server uptime" correctly
Bill Stoddard [Sat, 3 Feb 2001 21:11:34 +0000 (21:11 +0000)]
So server-status displays "Server uptime" correctly

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

23 years agoImproved(?) docco.
Ben Laurie [Sat, 3 Feb 2001 20:25:13 +0000 (20:25 +0000)]
Improved(?) docco.

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

23 years agoAdd SERVER_STARTING and SERVER_DEAD child states to the Windows MPM.
Bill Stoddard [Sat, 3 Feb 2001 19:58:04 +0000 (19:58 +0000)]
Add SERVER_STARTING and SERVER_DEAD child states to the Windows MPM.

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