]> granicus.if.org Git - apache/log
apache
23 years agoMove the AC_MSG_CHECKING into the module-specific macro to make sure the
Ralf S. Engelschall [Sat, 5 May 2001 08:27:39 +0000 (08:27 +0000)]
Move the AC_MSG_CHECKING into the module-specific macro to make sure the
output is generated in sync with the AC_MSG_RESULT.

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

23 years agoCosmetics: align the entry of MPMs in "configure --help" output
Ralf S. Engelschall [Sat, 5 May 2001 08:02:17 +0000 (08:02 +0000)]
Cosmetics: align the entry of MPMs in "configure --help" output

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

23 years agoAllow mod_tls and mod_ssl coexists without interfering each other by
Ralf S. Engelschall [Sat, 5 May 2001 07:58:15 +0000 (07:58 +0000)]
Allow mod_tls and mod_ssl coexists without interfering each other by
renaming the --with-ssl option of mod_tls to --with-tls. This way we can
use --enable-ssl/--with-ssl for mod_ssl and --enable-tls/--with-tls for
mod_tls.

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

23 years agoadjust file list for removed files, too.
Ralf S. Engelschall [Fri, 4 May 2001 22:28:51 +0000 (22:28 +0000)]
adjust file list for removed files, too.

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

23 years agoGet rid of the first pair of files which are no longer used.
Ralf S. Engelschall [Fri, 4 May 2001 22:26:16 +0000 (22:26 +0000)]
Get rid of the first pair of files which are no longer used.

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

23 years agomod_ssl integration step 2:
Ralf S. Engelschall [Fri, 4 May 2001 22:21:17 +0000 (22:21 +0000)]
mod_ssl integration step 2:
transfer copyright of all code to ASF by using Apache Software License v1.1

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

23 years agoResolve conflicts after import.
Ralf S. Engelschall [Fri, 4 May 2001 22:07:34 +0000 (22:07 +0000)]
Resolve conflicts after import.

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

23 years agoInitial revision
Ralf S. Engelschall [Fri, 4 May 2001 21:54:25 +0000 (21:54 +0000)]
Initial revision

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

23 years agoadd some more analysis for a couple of current problems...
Jeff Trawick [Fri, 4 May 2001 18:49:28 +0000 (18:49 +0000)]
add some more analysis for a couple of current problems...

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

23 years agoBuild (and do so cleanly) when !APR_HAS_OTHER_CHILD.
Jeff Trawick [Fri, 4 May 2001 18:42:51 +0000 (18:42 +0000)]
Build (and do so cleanly) when !APR_HAS_OTHER_CHILD.

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

23 years agoRemove useless cruft.
Joshua Slive [Fri, 4 May 2001 00:01:18 +0000 (00:01 +0000)]
Remove useless cruft.

Submitted by: Roy Fielding

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

23 years agoanother nit caught by C::Scan: change request_rec param name from 's' to 'r' in ap_lo...
Doug MacEachern [Thu, 3 May 2001 23:39:43 +0000 (23:39 +0000)]
another nit caught by C::Scan: change request_rec param name from 's' to 'r' in ap_log_rerror()

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

23 years agoConversion to XHTML.
Joshua Slive [Thu, 3 May 2001 22:33:41 +0000 (22:33 +0000)]
Conversion to XHTML.
The plan is to continue converting the rest of the docs to XHTML, so if you
have any objections, please voice them now on apache-docs.

Submitted by: James Sutherland <jas88@cam.ac.uk>
Reviewed by: Joshua Slive, William A. Rowe, Jr.

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

23 years ago A couple of new options for sysadmins. Still waiting on opinions between
William A. Rowe Jr [Thu, 3 May 2001 04:30:36 +0000 (04:30 +0000)]
  A couple of new options for sysadmins.  Still waiting on opinions between
  replacing the image on docroot/index.html.* with 2.0, or 2.0 animated.

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

23 years ago Damnable casts
William A. Rowe Jr [Thu, 3 May 2001 04:15:21 +0000 (04:15 +0000)]
  Damnable casts

Submitted by:  Jessie Oberreuter <jessieo@westside.com>

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

23 years agoSet the conn_rec->aborted flag when we detect a whacked connection on the
Bill Stoddard [Wed, 2 May 2001 20:15:56 +0000 (20:15 +0000)]
Set the conn_rec->aborted flag when we detect a whacked connection on the
write path.

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

23 years agoAdd a missing backslash in the install-other code so that the httpd.dll
Jeff Trawick [Wed, 2 May 2001 19:09:21 +0000 (19:09 +0000)]
Add a missing backslash in the install-other code so that the httpd.dll
logic isn't displayed.

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

23 years agosimplify the MaxRequestPerChild logic in worker_thread's hot path
Greg Ames [Wed, 2 May 2001 17:46:34 +0000 (17:46 +0000)]
simplify the MaxRequestPerChild logic in worker_thread's hot path

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

23 years agoPrevent a hang when a cgi handled by mod_cgid tries to read a
Jeff Trawick [Wed, 2 May 2001 16:58:21 +0000 (16:58 +0000)]
Prevent a hang when a cgi handled by mod_cgid tries to read a
request body from its stdin but no reqest body is being written to
the cgi.

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

23 years agomod_log_config: %c connection status incorrectly logged
Bill Stoddard [Wed, 2 May 2001 13:37:22 +0000 (13:37 +0000)]
mod_log_config: %c connection status incorrectly logged
as "-" (non-keepalive) when MaxKeepAliveRequests is set to 0.

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

23 years agoaccount for the recent apr_pool_*abort changes
Jeff Trawick [Wed, 2 May 2001 02:27:29 +0000 (02:27 +0000)]
account for the recent apr_pool_*abort changes

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

23 years agoFix the logic for saving data onto the heap before sending it. Basically,
Ryan Bloom [Tue, 1 May 2001 21:59:26 +0000 (21:59 +0000)]
Fix the logic for saving data onto the heap before sending it.  Basically,
we have to use nbytes+flen when figuring out how much data we have,
and when looking at the fact that we have a buffer to save aside before
sending it, we also need to look at the length, to ensure that we aren't
saving too much.
Submitted by: Bill Stoddard and Ryan Bloom

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

23 years agoFixed a problem with directory listing corruption in the
Graham Leggett [Tue, 1 May 2001 21:30:07 +0000 (21:30 +0000)]
Fixed a problem with directory listing corruption in the
PROXY_DIR filter.
PR:
Obtained from:
Reviewed by:

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

23 years agoAP_MIN_BYTES_TO_WRITE currently equals APR_BUCKET_BUFF_SIZE, so we
Ryan Bloom [Tue, 1 May 2001 19:40:14 +0000 (19:40 +0000)]
AP_MIN_BYTES_TO_WRITE currently equals APR_BUCKET_BUFF_SIZE, so we
have to use <=

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

23 years agoAdd a comment about an assumption we make in our keepalive buffering.
Greg Stein [Tue, 1 May 2001 18:43:09 +0000 (18:43 +0000)]
Add a comment about an assumption we make in our keepalive buffering.

Delay the check for "too many items in an iovec" until we actually try to
put something in there. This allows that N+1 bucket to be an EOS, FLUSH,
FILE, or zero-length bucket without triggering a split. Only if that next
bucket has iovec data will a split be made.

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

23 years agoInitialize a local variable to prevent a gcc warning about
Jeff Trawick [Tue, 1 May 2001 11:17:07 +0000 (11:17 +0000)]
Initialize a local variable to prevent a gcc warning about
possible use before set.  The code was fine but it is best
to keep gcc quiet lest we stop paying attention.

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

23 years agodocument my understanding of why the pipe_of_death_mutex is a Good Thing
Greg Ames [Mon, 30 Apr 2001 19:24:24 +0000 (19:24 +0000)]
document my understanding of why the pipe_of_death_mutex is a Good Thing

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

23 years agofix my APR_STATUS_IS_EAGAIN() usage
Jeff Trawick [Mon, 30 Apr 2001 11:23:51 +0000 (11:23 +0000)]
fix my APR_STATUS_IS_EAGAIN() usage
Submitted by: Bernhard Schrenk <b.schrenk@improx.com>

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

23 years agoC::Scan strikes again; include argument name in ap_invoke_handler prototype
Doug MacEachern [Mon, 30 Apr 2001 06:04:33 +0000 (06:04 +0000)]
C::Scan strikes again; include argument name in ap_invoke_handler prototype

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

23 years agoCreate Files, and thus MMAPs, out of the request pool, not the
Ryan Bloom [Sun, 29 Apr 2001 17:05:49 +0000 (17:05 +0000)]
Create Files, and thus MMAPs, out of the request pool, not the
connection pool.  This solves a small resource leak that had us
not closing files until a connection was closed.  In order to do
this, at the end of the core_output_filter, we loop through the
brigade and convert any data we have into a single HEAP bucket
that we know will survive clearing the request_rec.

Submitted by: Ryan Bloom, Justin Erenkrantz <jerenkrantz@ebuilt.com>,
                Cliff Woolley

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

23 years agoOS/2: fix "make install" to install shared core & programs with a .exe
Brian Havard [Sun, 29 Apr 2001 08:25:52 +0000 (08:25 +0000)]
OS/2: fix "make install" to install shared core & programs with a .exe
extension.

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

23 years agoRemove some obsolete macros and rename one that wasn't name protected.
Roy T. Fielding [Sun, 29 Apr 2001 06:45:35 +0000 (06:45 +0000)]
Remove some obsolete macros and rename one that wasn't name protected.

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

23 years agoAll of this stuff about apxs is bogus right now -- does anyone feel
Roy T. Fielding [Sun, 29 Apr 2001 05:30:21 +0000 (05:30 +0000)]
All of this stuff about apxs is bogus right now -- does anyone feel
inclined to update apxs?

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

23 years agoCompletely revamp configure so that it preserves the standard make
Roy T. Fielding [Sun, 29 Apr 2001 05:24:11 +0000 (05:24 +0000)]
Completely revamp configure so that it preserves the standard make
variables CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS and LIBS by moving
the configure additions to EXTRA_* variables.  Also, allow the user
to specify NOTEST_* values for all of the above, which eliminates the
need for THREAD_CPPFLAGS, THREAD_CFLAGS, and OPTIM.  Fix the setting
of INCLUDES and EXTRA_INCLUDES.  Check flags as they are added to
avoid pointless duplications.  Fix the order in which flags are given
on the compile and link lines.

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

23 years ago Pass the perms arg to apr_dbm_open
William A. Rowe Jr [Sat, 28 Apr 2001 00:26:38 +0000 (00:26 +0000)]
  Pass the perms arg to apr_dbm_open

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

23 years agothreaded and prefork mpms are properly handling SIGTERM now; woohoo!
Doug MacEachern [Fri, 27 Apr 2001 21:10:39 +0000 (21:10 +0000)]
threaded and prefork mpms are properly handling SIGTERM now; woohoo!

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

23 years agobacking out this part of the recent apxs change
Doug MacEachern [Fri, 27 Apr 2001 20:57:38 +0000 (20:57 +0000)]
backing out this part of the recent apxs change
otherwise `apxs -q INCLUDEDIR' is broken using the default layout
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoAllow module names to be hyphenated in the --enable-mods-shared
Jeff Trawick [Fri, 27 Apr 2001 18:29:11 +0000 (18:29 +0000)]
Allow module names to be hyphenated in the --enable-mods-shared
argument.  Previously, we passed through a user-specified hyphen into
the name of the shell variable, yielding an invalid variable name.

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

23 years agoGet mod_tls to compile/work better on Windows.
Jeff Trawick [Fri, 27 Apr 2001 18:02:21 +0000 (18:02 +0000)]
Get mod_tls to compile/work better on Windows.

PR:           7612
Submitted by: Bernhard Schrenk <b.schrenk@improx.com>
Reviewed by:  Jeff Trawick

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

23 years agoDate the 2.0.17 roll
Bill Stoddard [Fri, 27 Apr 2001 15:54:22 +0000 (15:54 +0000)]
Date the 2.0.17 roll

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

23 years agoFix APXS: treat sbindir as expected, fix "link" command.
Martin Kraemer [Fri, 27 Apr 2001 15:30:21 +0000 (15:30 +0000)]
Fix APXS: treat sbindir as expected, fix "link" command.

Submitted by: GOMEZ Henri <hgomez@slib.fr>

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

23 years agoPrevent a core dump (openssl_state_machine.c is completely infected with
Martin Kraemer [Fri, 27 Apr 2001 15:16:41 +0000 (15:16 +0000)]
Prevent a core dump (openssl_state_machine.c is completely infected with
assert()s in place of sensible error handling) when a server-root-relative
certificate path is given (which is what most users are going to try first).
  assertion "n > 0" failed: file "openssl_state_machine.c", line 142
That does NOT fix the openssl_state_machine.c though., So, never try to
use invalid certs, missing keys or other fancy "1st time user" stuff.

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

23 years agoNot that it matters, but the compiler complains (suggest parentheses around ...)
Martin Kraemer [Fri, 27 Apr 2001 14:41:54 +0000 (14:41 +0000)]
Not that it matters, but the compiler complains (suggest parentheses around ...)
and we had a coding style once.

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

23 years agoThis is C, not C++ (yet ;-).
Martin Kraemer [Fri, 27 Apr 2001 12:25:42 +0000 (12:25 +0000)]
This is C, not C++ (yet ;-).

Submitted by: Jean-Frederic Clere <JFrederic.Clere@fujitsu-siemens.com>

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

23 years agoAdd the 'last-modified' field and details on the translation status..
Ken Coar [Fri, 27 Apr 2001 11:42:11 +0000 (11:42 +0000)]
Add the 'last-modified' field and details on the translation status..

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

23 years agoMove the STATUS file to the top of the tree
Ken Coar [Fri, 27 Apr 2001 10:52:05 +0000 (10:52 +0000)]
Move the STATUS file to the top of the tree

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

23 years agoSearch for OpenSSL in the "standard locations" .../include and .../lib
Martin Kraemer [Fri, 27 Apr 2001 08:41:01 +0000 (08:41 +0000)]
Search for OpenSSL in the "standard locations" .../include and .../lib
which are ubiquitous after openSSL's "make install". The old logic relied
on a common directory for both include files and libraries (very non-standard).

Submitted by: Clere Jean-Frederic <JFrederic.Clere@fujitsu-siemens.com>

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

23 years agofast-path some cases, primarily to avoid an allocation when it isn't needed.
Greg Stein [Fri, 27 Apr 2001 05:27:00 +0000 (05:27 +0000)]
fast-path some cases, primarily to avoid an allocation when it isn't needed.
for a "nice" piece of cdata which is in one chunk, this can usually avoid an
allocation.

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

23 years agonote a problem with cgid cleanup, even with Greg's latest commit to
Jeff Trawick [Thu, 26 Apr 2001 19:08:55 +0000 (19:08 +0000)]
note a problem with cgid cleanup, even with Greg's latest commit to
threaded

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

23 years agoFix shutdown/restart hangs in the threaded MPM.
Greg Ames [Thu, 26 Apr 2001 18:52:29 +0000 (18:52 +0000)]
Fix shutdown/restart hangs in the threaded MPM.

After removing mod_cgid from my build (thanks, Jeff), I can do:
* apachectl graceful, followed by
* apachectl restart, followed by
* apachectl stop

...and get the results you would expect.

Submitted by: Jeff Trawick, Greg Ames, Ryan Bloom

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

23 years agoMake mod_tls compile. Fix supplied by Jean-Frederic Clere
Martin Kraemer [Thu, 26 Apr 2001 11:21:38 +0000 (11:21 +0000)]
Make mod_tls compile. Fix supplied by Jean-Frederic Clere

Submitted by: Jean-Frederic Clere <JFrederic.Clere@fujitsu-siemens.com>

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

23 years agoRemoved the keptalive boolean from conn_rec because it is now only
Roy T. Fielding [Thu, 26 Apr 2001 00:33:14 +0000 (00:33 +0000)]
Removed the keptalive boolean from conn_rec because it is now only
used by a single routine and can be replaced by a local variable.

Submitted by: Greg Stein, Ryan Bloom, Roy Fielding

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

23 years agoThis stops some systems from barfing...
David Reid [Thu, 26 Apr 2001 00:28:13 +0000 (00:28 +0000)]
This stops some systems from barfing...

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

23 years agoFix a reference to "ctx" in mod_include's CREATE_ERROR_BUCKET macro
Cliff Woolley [Wed, 25 Apr 2001 17:07:40 +0000 (17:07 +0000)]
Fix a reference to "ctx" in mod_include's CREATE_ERROR_BUCKET macro
to "cntx", which is the actual name of the argument to that macro.  It
accidentally worked before because all of the callers of the macro happen
to be passing in a variable named "ctx".  If one of them were to ever try
to pass in a context named something else, bad things would happen.

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

23 years agoYeah, well, like the entry says, fixed prefork to handle signals
Paul J. Reder [Wed, 25 Apr 2001 13:53:43 +0000 (13:53 +0000)]
Yeah, well, like the entry says, fixed prefork to handle signals
properly (mostly SIGTERN).

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

23 years agoThis patch puts enough of the signal processing back in so that the signals
Paul J. Reder [Wed, 25 Apr 2001 13:42:38 +0000 (13:42 +0000)]
This patch puts enough of the signal processing back in so that the signals
are all handled properly now. My previous patch fixed the deadlock race
condition, but broke the user directed signal handling. This fixes it to work
the it did before (primarily SIGTERM is now working).

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

23 years agoGet rid of old naming fluff... MPMs aren't
Jim Jagielski [Wed, 25 Apr 2001 13:07:43 +0000 (13:07 +0000)]
Get rid of old naming fluff... MPMs aren't
'modules' anymore. Also, we aren't dependant on Pthreads per se

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

23 years agoDocco update for modules directory layout
Jim Jagielski [Wed, 25 Apr 2001 13:05:45 +0000 (13:05 +0000)]
Docco update for modules directory layout

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

23 years agomod_proxy and the proxy submodules now build properly as DSOs.
Graham Leggett [Tue, 24 Apr 2001 11:29:40 +0000 (11:29 +0000)]
mod_proxy and the proxy submodules now build properly as DSOs.
PR:
Obtained from:
Reviewed by:

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

23 years agoStopped the HTTP proxy from trying to read entity bodies when there
Graham Leggett [Tue, 24 Apr 2001 08:38:43 +0000 (08:38 +0000)]
Stopped the HTTP proxy from trying to read entity bodies when there
wasn't one (response was 1xx, 204, 205 or 304).
PR:
Obtained from:
Reviewed by:

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

23 years agoMade the variable naming the same as everywhere else in Apache for the
Graham Leggett [Tue, 24 Apr 2001 04:38:53 +0000 (04:38 +0000)]
Made the variable naming the same as everywhere else in Apache for the
ap_get_brigade() fix.
PR:
Obtained from:
Reviewed by:

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

23 years agoJust for the sake of cleanliness ...
Victor J. Orlikowski [Tue, 24 Apr 2001 02:50:19 +0000 (02:50 +0000)]
Just for the sake of cleanliness ...

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

23 years agoadjust to ap_get_brigade() / input filter api changes
Doug MacEachern [Tue, 24 Apr 2001 02:17:21 +0000 (02:17 +0000)]
adjust to ap_get_brigade() / input filter api changes

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

23 years agoback out my quiesce limit change altogether from the threaded mpm until it
Greg Ames [Mon, 23 Apr 2001 23:14:35 +0000 (23:14 +0000)]
back out my quiesce limit change altogether from the threaded mpm until it
learns how to go away nicely (shouldn't be too bad actually :-)

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

23 years agoSometimes, boys and girls, pointers and integers *aren't interchangeable.
Victor J. Orlikowski [Mon, 23 Apr 2001 21:49:15 +0000 (21:49 +0000)]
Sometimes, boys and girls, pointers and integers *aren't interchangeable.

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

23 years agoApply changes to ap_get_brigade() to the proxy code.
Graham Leggett [Mon, 23 Apr 2001 21:03:39 +0000 (21:03 +0000)]
Apply changes to ap_get_brigade() to the proxy code.
PR:
Obtained from:
Reviewed by:

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

23 years ago*Sigh.* The janitor cleans up after himself.
Victor J. Orlikowski [Mon, 23 Apr 2001 19:50:28 +0000 (19:50 +0000)]
*Sigh.* The janitor cleans up after himself.
This makes shared proxy builds work.

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

23 years agoFix proxy to NOT be built by default.
Victor J. Orlikowski [Mon, 23 Apr 2001 18:28:25 +0000 (18:28 +0000)]
Fix proxy to NOT be built by default.
Obtained from: Jeff Trawick
Submitted by: Victor Orlikowski

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

23 years agoDocument the new argument to ap_get_brigade()
Ryan Bloom [Mon, 23 Apr 2001 17:28:58 +0000 (17:28 +0000)]
Document the new argument to ap_get_brigade()

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

23 years agoOS/2: Export from the shared core symbols from the socket library needed by
Brian Havard [Mon, 23 Apr 2001 14:35:50 +0000 (14:35 +0000)]
OS/2: Export from the shared core symbols from the socket library needed by
mod_dav & mod_unique_id.

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

23 years agoAdd a few more modules to the "most" category.
Brian Havard [Mon, 23 Apr 2001 14:29:57 +0000 (14:29 +0000)]
Add a few more modules to the "most" category.

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

23 years agoFix typo.
Yoshiki Hayashi [Mon, 23 Apr 2001 12:43:16 +0000 (12:43 +0000)]
Fix typo.
Submitted by: Koga Youichirou <y-koga@apache.or.jp>

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

23 years agocomment on a couple of daedalus core dumps
Jeff Trawick [Mon, 23 Apr 2001 11:33:28 +0000 (11:33 +0000)]
comment on a couple of daedalus core dumps

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

23 years agofurther testing shows processes w/no worker threads hanging around...eeeew.
Greg Ames [Mon, 23 Apr 2001 04:19:18 +0000 (04:19 +0000)]
further testing shows processes w/no worker threads hanging around...eeeew.

disabling the quiesce limit for now pending more sleep/debugging.

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

23 years agoLimit the threaded mpm to quiescing one process at a time.
Greg Ames [Mon, 23 Apr 2001 02:13:17 +0000 (02:13 +0000)]
Limit the threaded mpm to quiescing one process at a time.

This is to fix a problem where the scoreboard is filled with
quiescing processes and no working processes can start, triggered by
MaxRequestsPerChild.  perform_idle_server_maintenance could theoretically
cause it as well.

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

23 years agoAt the hack-athon we decided to change the way that input filters
Ryan Bloom [Sun, 22 Apr 2001 22:19:32 +0000 (22:19 +0000)]
At the hack-athon we decided to change the way that input filters
determine how much data is returned to the previous filter.  Prior to this
change, we used a field in the conn_rec to determine how much to return.
After this change, we use an argument to ap_get_brigade.  This makes it
much more obvious how things work at all levels, so that module authors
can easily determine how much data is supposed to be returned to them.

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

23 years agoAdd a comment about how http_filter works.
Ryan Bloom [Sun, 22 Apr 2001 15:46:19 +0000 (15:46 +0000)]
Add a comment about how http_filter works.
Submitted by: Graham Leggett <minfrin@sharp.fm>

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

23 years agoPut the keep-alive connection logging back.
Ryan Bloom [Sat, 21 Apr 2001 22:17:59 +0000 (22:17 +0000)]
Put the keep-alive connection logging back.

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

23 years agoRevert about half of the last commit because of an oversight on my part
Cliff Woolley [Sat, 21 Apr 2001 22:01:05 +0000 (22:01 +0000)]
Revert about half of the last commit because of an oversight on my part
that broke it.  Unfortunately, fixing the oversight "the right way" is
almost as ugly as the original code; it's easier to just go back to the way
it was, at least for now.

The problem is that the original code would delete buckets from foo through
bar in the brigade, and the patched code deletes *everything* up through
bar, which is bad.  I could have fixed it by doing two splits, but that
introduces too many palloc's for my taste.  It's also fixable with RING macros,
but I refuse to start using RING macros directly on brigades.  The best
solution would be if there were a brigade equivalent to a RING_UNSPLICE/
RING_INSERT_HEAD sequence (this sequence is also used interally by
apr_brigade_split(), btw), something like this:
APR_BRIGADE_TRANSFER_BUCKETS(oldbrigade,newbrigade,startbucket,endbucket);

Absent that, the affected parts of the patch are hereby reverted (grumble,
grumble).  If people liek the APR_BRIGADE_TRANSFER_BUCKETS() idea, I'll
implement that and repatch mod_include later.

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

23 years agoRevert the change that moved keepalives out of conn_rec. That variable
Roy T. Fielding [Sat, 21 Apr 2001 12:23:37 +0000 (12:23 +0000)]
Revert the change that moved keepalives out of conn_rec.  That variable
controls the number of requests per connection, regardless of the protocol
used by the request.

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

23 years agoRevert addition of HTTP logging hhok for connection status -- this is not
Roy T. Fielding [Sat, 21 Apr 2001 12:00:02 +0000 (12:00 +0000)]
Revert addition of HTTP logging hhok for connection status -- this is not
specific to HTTP.

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

23 years agoChange mod_include to use the latest bucket API tricks. This gets
Cliff Woolley [Fri, 20 Apr 2001 20:58:28 +0000 (20:58 +0000)]
Change mod_include to use the latest bucket API tricks.  This gets
rid of some obscure while loop magic that had to be done before,
making mod_include easier to read and a better example for future
filter writers.

There should be no semantic changes in this patch... just a 1-to-1
mapping from while loops to bucket API calls that do the same thing.

Reviewed by: Paul J. Reder

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

23 years agostruct_ptr is a void*. The Windows compiler doesn't like it when you try
Bill Stoddard [Fri, 20 Apr 2001 19:11:21 +0000 (19:11 +0000)]
struct_ptr is a void*.  The Windows compiler doesn't like it when you try
to do pointer math on a void*.

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

23 years agoFix seg fault at start-up introduced by Ryan's change to enabl
Bill Stoddard [Fri, 20 Apr 2001 17:59:05 +0000 (17:59 +0000)]
Fix seg fault at start-up introduced by Ryan's change to enabl
modules to specify their own logging tags. mod_log_config
registers an optional function, ap_register_log_handler().
ap_register_log_handler() was being called by http_core before
the directive hash table was created. This patch creates the
directive hash table before ap_register_log_handler() is
registered as an optional function.

Submitted by:  [jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>]
Reviewed by:  Jeff Trawick, Bill Stoddard

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

23 years agoAdd ap_set_int_slot() function
Doug MacEachern [Fri, 20 Apr 2001 16:43:39 +0000 (16:43 +0000)]
Add ap_set_int_slot() function
PR:
Obtained from:
Submitted by: John K. Sterling <sterling@covalent.net>
Reviewed by: dougm

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

23 years agoUnder certain circumstances, Apache did not supply the
Jeff Trawick [Fri, 20 Apr 2001 15:38:24 +0000 (15:38 +0000)]
Under certain circumstances, Apache did not supply the
right response headers when requiring authentication.
[Gertjan van Wingerde <Gertjan.van.Wingerde@cmg.nl>] PR#7114
(This is a port of the change that went into Apache 1.3.19.)

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

23 years agoMade sure dates were canonicalised correctly when passed to the client
Graham Leggett [Thu, 19 Apr 2001 21:18:41 +0000 (21:18 +0000)]
Made sure dates were canonicalised correctly when passed to the client
browser through the HTTP proxy.
PR:
Obtained from:
Reviewed by:

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

23 years agotest -e isn't portable; use test -f instead
Jeff Trawick [Thu, 19 Apr 2001 19:02:54 +0000 (19:02 +0000)]
test -e isn't portable; use test -f instead

this gets DSO builds working on Solaris (dunno where else) again

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

23 years agoRemove unused variable.
Brian Havard [Thu, 19 Apr 2001 13:56:02 +0000 (13:56 +0000)]
Remove unused variable.

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

23 years agoCouple of show stoppers
Bill Stoddard [Thu, 19 Apr 2001 13:27:58 +0000 (13:27 +0000)]
Couple of show stoppers

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

23 years agoget mod_cache to at least compile
Jeff Trawick [Thu, 19 Apr 2001 12:07:50 +0000 (12:07 +0000)]
get mod_cache to at least compile

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

23 years agoNew Japanese translation
Yoshiki Hayashi [Thu, 19 Apr 2001 03:27:39 +0000 (03:27 +0000)]
New Japanese translation

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

23 years agoNew Japanese translation.
Yoshiki Hayashi [Thu, 19 Apr 2001 03:08:04 +0000 (03:08 +0000)]
New Japanese translation.

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

23 years agoNew Japanese translation.
Yoshiki Hayashi [Thu, 19 Apr 2001 02:54:28 +0000 (02:54 +0000)]
New Japanese translation.

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

23 years agoForgot to add this file.
Ryan Bloom [Wed, 18 Apr 2001 22:29:31 +0000 (22:29 +0000)]
Forgot to add this file.

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

23 years agoAllow modules to specify their own logging format specifier. Basically,
Ryan Bloom [Wed, 18 Apr 2001 21:06:07 +0000 (21:06 +0000)]
Allow modules to specify their own logging format specifier.  Basically,
mod_log_config has registered an optional function, that other modules
can use to specify a function to be called.  This is analogous to the way
that mod_include works.  This also allows http to do the connection
logging itself, without exposing HTTP specific pieces to other modules.

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

23 years agoThere is a bug in how we sort some hooks, the pre-config hook is one that
Ryan Bloom [Wed, 18 Apr 2001 20:56:04 +0000 (20:56 +0000)]
There is a bug in how we sort some hooks, the pre-config hook is one that
is definately incorrect.  Basically, the first time we call the pre-config
hooks, they are sorted correctly.  However, when we call them the second
time, we use the order that modules are loaded into the server.  This
move basically puts the http_module after mod_log_config in the compiled
server.  It is a hack, and a work-around to allow for my next commit.

When the hook sort issue is solved, this should be re-named to config.m4

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

23 years agoThis changes the build process as outlined in my email earlier this week.
David Reid [Wed, 18 Apr 2001 20:51:35 +0000 (20:51 +0000)]
This changes the build process as outlined in my email earlier this week.

Essentially we now build the static objects, then allow a platform to run
a given command, build the shared modules, then run another command before exiting.

This gets us building dso's on beos and may provide a better framework for some of
the other "strange" platforms out there without stopping the normal ones working.

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

23 years agoDon't overwrite r->the_request. This was causing us to never get the
Ryan Bloom [Wed, 18 Apr 2001 20:46:46 +0000 (20:46 +0000)]
Don't overwrite r->the_request.  This was causing us to never get the
request in the access_log

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

23 years agoadd "extern" to the decl of http_module so that we don't get duplicate
Jeff Trawick [Wed, 18 Apr 2001 18:39:10 +0000 (18:39 +0000)]
add "extern" to the decl of http_module so that we don't get duplicate
symbol warnings from the linkers on some platforms (e.g., AIX)

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