]> granicus.if.org Git - apache/log
apache
22 years agoInput filtering prototype change: Socket blocking type should be
Justin Erenkrantz [Sat, 19 Jan 2002 07:45:18 +0000 (07:45 +0000)]
Input filtering prototype change: Socket blocking type should be
separate from the input filter mode type.

We also no longer look at readbytes to determine the method of
filter operation.  This makes the use of filters more obvious and
allows a wider range of options for input filters modes.

To start with, the new input filter modes are:

AP_MODE_READBYTES (no more than *readbytes returned)
AP_MODE_GETLINE (old *readbytes == 0 case)
AP_MODE_EATCRLF (old AP_MODE_PEEK)
AP_MODE_SPECULATIVE (will be used in a future ap_getline rewrite)
AP_MODE_EXHAUSTIVE (old *readbytes == -1 case)
AP_MODE_INIT (special case for NNTP over SSL)

The block parameter is an apr_read_type_e: APR_BLOCK_READ, APR_NONBLOCK_READ

This also allows cleanup of mod_ssl's handling in the getline case.

Reviewed by: Ryan Bloom (concept), Greg Stein (concept)

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

22 years agothe load spikes seem to be gone.
Greg Ames [Sat, 19 Jan 2002 05:56:20 +0000 (05:56 +0000)]
the load spikes seem to be gone.

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

22 years agoStyle changes only. (Remove tabs, etc, etc.)
Justin Erenkrantz [Sat, 19 Jan 2002 05:54:44 +0000 (05:54 +0000)]
Style changes only.  (Remove tabs, etc, etc.)

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

22 years agoadd htdbm to the Makefile.
Ian Holsman [Sat, 19 Jan 2002 05:44:04 +0000 (05:44 +0000)]
add htdbm to the Makefile.

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

22 years agonew var.
Ian Holsman [Sat, 19 Jan 2002 05:11:04 +0000 (05:11 +0000)]
new var.
APRUTIL_LDFLAGS

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

22 years agocall the plumber (or maybe the pilot)
Jeff Trawick [Sat, 19 Jan 2002 01:56:07 +0000 (01:56 +0000)]
call the plumber (or maybe the pilot)

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

22 years agoRemoved the multiple and reentrant flags that were being set by mistake
Bradley Nicholes [Fri, 18 Jan 2002 23:30:14 +0000 (23:30 +0000)]
Removed the multiple and reentrant flags that were being set by mistake

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

22 years agoFixed the build subproject for htpasswd and htdigest
Bradley Nicholes [Fri, 18 Jan 2002 23:29:23 +0000 (23:29 +0000)]
Fixed the build subproject for htpasswd and htdigest

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

22 years agoUpdates to allow the utilities to run on NetWare
Bradley Nicholes [Fri, 18 Jan 2002 23:28:20 +0000 (23:28 +0000)]
Updates to allow the utilities to run on NetWare

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

22 years agomove OpenSSL specific SSL_{get,set}_state macros to the #ifdef'd group of
Doug MacEachern [Fri, 18 Jan 2002 23:26:46 +0000 (23:26 +0000)]
move OpenSSL specific SSL_{get,set}_state macros to the #ifdef'd group of
macros for OpenSSL in mod_ssl.h

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

22 years agoUpdated the command line keyword to Apache2 and also modified the
Bradley Nicholes [Fri, 18 Jan 2002 23:26:07 +0000 (23:26 +0000)]
Updated the command line keyword to Apache2 and also modified the
shutdown code for unloading the NLM

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

22 years agodon't poll if there is only a single listening socket
Greg Ames [Fri, 18 Jan 2002 22:31:50 +0000 (22:31 +0000)]
don't poll if there is only a single listening socket

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

22 years agoFix a segfault in mod_include which was found by Sander Striker using
Jeff Trawick [Fri, 18 Jan 2002 21:38:12 +0000 (21:38 +0000)]
Fix a segfault in mod_include which was found by Sander Striker using
an APR_POOL_DEBUG/ElectricFence build.

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

22 years agofix a typo in a recent entry
Jeff Trawick [Fri, 18 Jan 2002 21:35:22 +0000 (21:35 +0000)]
fix a typo in a recent entry

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

22 years agoPer Ian's change, add the APRUTIL_EXPORT_INCLUDES vars to our environment.
Justin Erenkrantz [Fri, 18 Jan 2002 18:16:54 +0000 (18:16 +0000)]
Per Ian's change, add the APRUTIL_EXPORT_INCLUDES vars to our environment.

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

22 years agoMake sure we use the same version of Make for building suexec as we do
Ryan Bloom [Fri, 18 Jan 2002 17:57:31 +0000 (17:57 +0000)]
Make sure we use the same version of Make for building suexec as we do
for building the rest of the package.

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

22 years ago Shush
William A. Rowe Jr [Fri, 18 Jan 2002 04:53:09 +0000 (04:53 +0000)]
  Shush

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

22 years ago Footnote on this chapter. A cold and bitter Chicago night tonight.
William A. Rowe Jr [Fri, 18 Jan 2002 04:50:47 +0000 (04:50 +0000)]
  Footnote on this chapter.  A cold and bitter Chicago night tonight.

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

22 years agomake note of load spike problem on daedalus.
Greg Ames [Fri, 18 Jan 2002 03:30:38 +0000 (03:30 +0000)]
make note of load spike problem on daedalus.

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

22 years agoAs long as the spelling police are on the prowl, I figured I might as well
Cliff Woolley [Fri, 18 Jan 2002 00:14:43 +0000 (00:14 +0000)]
As long as the spelling police are on the prowl, I figured I might as well
pitch in.

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

22 years agofix for SSLv2 requests
Doug MacEachern [Fri, 18 Jan 2002 00:13:25 +0000 (00:13 +0000)]
fix for SSLv2 requests

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

22 years ago Provide the win32 worker process a null (but valid) stdout pipe, and
William A. Rowe Jr [Fri, 18 Jan 2002 00:11:16 +0000 (00:11 +0000)]
  Provide the win32 worker process a null (but valid) stdout pipe, and
  redirect child startup errors to the main server error log.
  Corresponds to the change in Apache 1.3.23

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

22 years agoSpelling and grammar janitor coming through.
Justin Erenkrantz [Thu, 17 Jan 2002 22:59:48 +0000 (22:59 +0000)]
Spelling and grammar janitor coming through.
(Clean up the comment so that mortal beings can parse it.)

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

22 years agoOn HPUX 11.x, the 'ENOBUFS, No buffer space available'
Bill Stoddard [Thu, 17 Jan 2002 22:35:09 +0000 (22:35 +0000)]
On HPUX 11.x, the 'ENOBUFS, No buffer space available'
error occures because the accept() cannot complete.
You will not see ENOBUFS at 10.20 because the kernel
hides any occurrence from being returned from user space.
ENOBUFS at 11.0 TCP/IP is quite possible, and could
occur intermittently. As a work-around, we are going to
ingnore ENOBUFS.

Submitted by: madhusudan_mathihalli@hp.com
Reviewed by: Bill Stoddard

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

22 years agoget the declaration of strcasecmp() on AIX
Jeff Trawick [Thu, 17 Jan 2002 22:28:08 +0000 (22:28 +0000)]
get the declaration of strcasecmp() on AIX

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

22 years ago Allow the user to get detailed debugging information without a full
William A. Rowe Jr [Thu, 17 Jan 2002 20:15:12 +0000 (20:15 +0000)]
  Allow the user to get detailed debugging information without a full
  recompile [absolutely necessary on Win32 and other platforms that
  really don't support administrator-compilation.]

  -e level  follows the LogLevel options.

  The only question, should -e override the compiled-in default for
  the creation of the server_rec?  No strong feeling either way, here.

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

22 years ago Subset of another, have piped_log_cleanup_for_exec handle
William A. Rowe Jr [Thu, 17 Jan 2002 18:13:51 +0000 (18:13 +0000)]
  Subset of another, have piped_log_cleanup_for_exec handle
  the dirtywork common to piped_log_cleanup

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

22 years ago Clean up several typesaftey (signedness and size) emits.
William A. Rowe Jr [Thu, 17 Jan 2002 15:51:41 +0000 (15:51 +0000)]
  Clean up several typesaftey (signedness and size) emits.

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

22 years agoFix minor typos. Mention that mod_ssl is part of Apache-2.0.
Martin Kraemer [Thu, 17 Jan 2002 11:18:03 +0000 (11:18 +0000)]
Fix minor typos. Mention that mod_ssl is part of Apache-2.0.
Change absolute self-references to relative jumps.

TODO:
* IMHO the topic ToC3 should be deleted completely.
* All references to "patch Apache" or "EAPI patch" should be removed
* A native english speaker might want to proof-read the doc and polish it

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

22 years agoMake file names in headers look alike (as in the rest of this document)
Martin Kraemer [Thu, 17 Jan 2002 10:59:46 +0000 (10:59 +0000)]
Make file names in headers look alike (as in the rest of this document)

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

22 years agooutput filter optimizations:
Doug MacEachern [Thu, 17 Jan 2002 05:04:54 +0000 (05:04 +0000)]
output filter optimizations:
- avoid creating a new bucket brigade for each EOS or FLUSH bucket
- do not pass FLUSH bucket since BIO_bucket_flush() already does so
  if there is any data to flush.
- do not call apr_brigade_destroy(bb); since we will have either
  emptied it or passed it, in which case it will be destroyed further
  down the chain.

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

22 years agoprevent possible segv if SSL_get_current_cipher() returns NULL in
Doug MacEachern [Thu, 17 Jan 2002 04:03:09 +0000 (04:03 +0000)]
prevent possible segv if  SSL_get_current_cipher() returns NULL in
ssl_var_lookup_ssl_cipher()

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

22 years agoFix a problem in the parsing of the <Proxy foo> directive.
Jeff Trawick [Thu, 17 Jan 2002 02:22:22 +0000 (02:22 +0000)]
Fix a problem in the parsing of the <Proxy foo> directive.

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

22 years agoadjust BIO_METHOD initializers for sslc
Doug MacEachern [Thu, 17 Jan 2002 01:35:20 +0000 (01:35 +0000)]
adjust BIO_METHOD initializers for sslc

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

22 years agoallow mod_auth_digest to configure with --srcdir
Doug MacEachern [Thu, 17 Jan 2002 01:16:19 +0000 (01:16 +0000)]
allow mod_auth_digest to configure with --srcdir
(added same include path as modules/mappers/config9.m4)
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years ago Follow our Unix bretherens' conventions, and name the sub-proxy modules
William A. Rowe Jr [Thu, 17 Jan 2002 01:05:23 +0000 (01:05 +0000)]
  Follow our Unix bretherens' conventions, and name the sub-proxy modules
  with the mod_ prefix (al la mod_dav_fs as a sub-dav module.)

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

22 years agorewrite of mod_ssl input filter for better performance and less memory usage
Doug MacEachern [Thu, 17 Jan 2002 00:54:33 +0000 (00:54 +0000)]
rewrite of mod_ssl input filter for better performance and less memory usage
PR:
Obtained from:
Submitted by:
Reviewed by: Justin Erenkrantz

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

22 years agocode police again
Ian Holsman [Wed, 16 Jan 2002 19:14:44 +0000 (19:14 +0000)]
code police again

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

22 years agoUse the proper footer include so that we get the right version number.
Joshua Slive [Wed, 16 Jan 2002 19:12:34 +0000 (19:12 +0000)]
Use the proper footer include so that we get the right version number.

PR: 9495
Submitted by: Yves Touchette <yves.touchette@microcell.ca>

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

22 years agosigh.
Ian Holsman [Wed, 16 Jan 2002 18:12:52 +0000 (18:12 +0000)]
sigh.
code style police

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

22 years agoquick handler now runs on subrequests as well
Ian Holsman [Wed, 16 Jan 2002 04:29:10 +0000 (04:29 +0000)]
quick handler now runs on subrequests as well
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoUpdated to reference the NovellLibC environment variable
Bradley Nicholes [Tue, 15 Jan 2002 23:37:38 +0000 (23:37 +0000)]
Updated to reference the NovellLibC environment variable

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

22 years agoUpdated the build instructions to reflect the change in the build environment variable
Bradley Nicholes [Tue, 15 Jan 2002 23:30:40 +0000 (23:30 +0000)]
Updated the build instructions to reflect the change in the build environment variable

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

22 years agoChanged the build environment variable to NovellLibC to avoid a conflict with CLib
Bradley Nicholes [Tue, 15 Jan 2002 23:05:12 +0000 (23:05 +0000)]
Changed the build environment variable to NovellLibC to avoid a conflict with CLib

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

22 years agofix a typo in the name of the error/include directory
Jeff Trawick [Tue, 15 Jan 2002 20:55:20 +0000 (20:55 +0000)]
fix a typo in the name of the error/include directory

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

22 years agomention a binbuild SNAFU
Jeff Trawick [Tue, 15 Jan 2002 19:16:01 +0000 (19:16 +0000)]
mention a binbuild SNAFU

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

22 years agohtmltidy made a mess of the headers and footers. Put them back in shape.
Joshua Slive [Tue, 15 Jan 2002 01:48:00 +0000 (01:48 +0000)]
htmltidy made a mess of the headers and footers.  Put them back in shape.

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

22 years agoAdded APR_HAS_SHARED_MEMORY to a section of code where it was
Bradley Nicholes [Mon, 14 Jan 2002 22:36:03 +0000 (22:36 +0000)]
Added APR_HAS_SHARED_MEMORY to a section of code where it was
missing, for those of us that don't have shared memory support.

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

22 years agoChanged the nlm name from APACHE to APACHE2.
Bradley Nicholes [Mon, 14 Jan 2002 18:56:28 +0000 (18:56 +0000)]
Changed the nlm name from APACHE to APACHE2.

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

22 years agoImplemented a checkunload callback to allow apache to be unloaded using
Bradley Nicholes [Mon, 14 Jan 2002 18:55:51 +0000 (18:55 +0000)]
Implemented a checkunload callback to allow apache to be unloaded using
the Unload console command.  Also changed the nlm name and console
command to APACHE2.

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

22 years agoLog a more descriptive error message.
Bill Stoddard [Mon, 14 Jan 2002 14:44:25 +0000 (14:44 +0000)]
Log a more descriptive error message.

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

22 years agoNote the change in the mod_dav provider API.
Greg Stein [Mon, 14 Jan 2002 13:46:59 +0000 (13:46 +0000)]
Note the change in the mod_dav provider API.

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

22 years agoRevamp how mod_dav asks its provider to generate a GET response.
Greg Stein [Mon, 14 Jan 2002 13:43:24 +0000 (13:43 +0000)]
Revamp how mod_dav asks its provider to generate a GET response.

* eliminate the get_pathname and free_file vtable functions. add the
    deliver() function to have the provider deliver the content
    straight into a filter [stack].

* eliminate readable streams -- they are now obsolete. this gets rid
    of the read_stream vtable function and DAV_MODE_READ*

* implement a deliver() function for the FS provider. this simply
    constructs a bucket and EOS and shoves them into the filter. note
    that this is debug code only, so the "large file" issue handled by
    the core's default handler doesn't count here.

* allow the provider to handle GET for any resource type and for
    collections. this moves the checks into the provider.

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

22 years agoAdd a few votes.
Lars Eilebrecht [Mon, 14 Jan 2002 01:30:42 +0000 (01:30 +0000)]
Add a few votes.

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

22 years agoA modification to reduce the memory usage of the server:
Brian Pane [Sun, 13 Jan 2002 21:30:14 +0000 (21:30 +0000)]
A modification to reduce the memory usage of the server:
Reduced the initial size of the r->headers_in and r->subprocess_env
tables...this saves us 600 bytes per request, which (based on tests
I just ran) helps keep r->pool from overflowing its initial 8KB
allocation and having to alloc another 8KB block.

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

22 years agooh well.. there goes the logging directive
Ian Holsman [Sun, 13 Jan 2002 20:01:00 +0000 (20:01 +0000)]
oh well.. there goes the logging directive

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

22 years agomention a fix that brianp committed last night
Jeff Trawick [Sun, 13 Jan 2002 16:19:55 +0000 (16:19 +0000)]
mention a fix that brianp committed last night

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

22 years agoBrian's fix looks good!
Jeff Trawick [Sun, 13 Jan 2002 15:56:29 +0000 (15:56 +0000)]
Brian's fix looks good!

with Brian's fixed applied and running the same tests:

  I don't hit any segfaults with yesterday's HEAD and APR_POOL_DEBUG defined

  I don't hit any segfaults with current HEAD and APR_POOL_DEBUG *not defined*

  I do hit segfaults down in apr_pool debug code with current HEAD and
  APR_POOL_DEBUG *defined*

PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoRemoved the creation of a temporary pool in the expression parsing
Brian Pane [Sun, 13 Jan 2002 06:34:10 +0000 (06:34 +0000)]
Removed the creation of a temporary pool in the expression parsing
code.  Now that the code no longer allocs huge buffers (based on the
last commit), there's no need to incur the overhead of creating a
temporary pool just to clean up the storage quickly.  This saves
a lot of space (because the temp pool used 8KB) and a small amount
of processing time.

As a side-effect of this change, we don't need the gotos any longer.

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

22 years agoAllocate only as much data as we need to hold token values in the
Brian Pane [Sun, 13 Jan 2002 06:06:52 +0000 (06:06 +0000)]
Allocate only as much data as we need to hold token values in the
"<!--#if" processing code, rather always allocating an 8KB structure

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

22 years agoClear the output socket descriptor in unixd_accept() to make sure
Brian Pane [Sun, 13 Jan 2002 02:35:56 +0000 (02:35 +0000)]
Clear the output socket descriptor in unixd_accept() to make sure
we don't supply a bogus socket to the caller if the accept fails.
(This was causing problems in the worker MPM, which tried to process
the returned socket if it was non-NULL, even if unixd_accept()
returned an error.)

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

22 years agoMove a check for an empty brigade to the start of core input filter
Jeff Trawick [Sat, 12 Jan 2002 02:43:31 +0000 (02:43 +0000)]
Move a check for an empty brigade to the start of core input filter
to avoid segfaults.

Using prefork MPM and APR_POOL_DEBUG and ElectricFence, I found a
couple of paths where weren't able to report APR_EOF all the way
back up the call tree, leading us back into core_input_filter with
an empty brigade.

Some of the paths in core_input_filter handled it, some didn't.

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

22 years agoAdded the NetWare def files for mod_cache and mod_mem_cache
Bradley Nicholes [Fri, 11 Jan 2002 23:39:22 +0000 (23:39 +0000)]
Added the NetWare def files for mod_cache and mod_mem_cache

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

22 years agoAdded experimental modules mod_cache and mod_mem_cache to the project
Bradley Nicholes [Fri, 11 Jan 2002 23:35:27 +0000 (23:35 +0000)]
Added experimental modules mod_cache and mod_mem_cache to the project

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

22 years agoCombination of blocking and nonblocking accept loop
Bradley Nicholes [Fri, 11 Jan 2002 23:19:45 +0000 (23:19 +0000)]
Combination of blocking and nonblocking accept loop

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

22 years ago Bring forward the FileETag directive enhancement from 1.3.23-dev.
Ken Coar [Fri, 11 Jan 2002 18:55:27 +0000 (18:55 +0000)]
Bring forward the FileETag directive enhancement from 1.3.23-dev.
(Passes all 61 of the apache/etags.t test.)  Bump MMN due to
change to core_dir_config structure (new fields at end).

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

22 years agoDocument future binary compatibility problem.
Ben Laurie [Fri, 11 Jan 2002 16:40:43 +0000 (16:40 +0000)]
Document future binary compatibility problem.

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

22 years agolet's play "name that pool"
Jeff Trawick [Fri, 11 Jan 2002 14:13:23 +0000 (14:13 +0000)]
let's play "name that pool"

(debugging aid...  set the tag on the transaction pool with prefork)

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

22 years agoFix a segfault in mod_rewrite's logging code caused by passing the
Jeff Trawick [Fri, 11 Jan 2002 13:38:28 +0000 (13:38 +0000)]
Fix a segfault in mod_rewrite's logging code caused by passing the
wrong config to ap_get_remote_host().

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

22 years agoAllow mod_cgid to work from a binary distribution install by
Jeff Trawick [Fri, 11 Jan 2002 13:20:55 +0000 (13:20 +0000)]
Allow mod_cgid to work from a binary distribution install by
using 755 for the permissions on the log directory instead of
750.

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

22 years agoadd back in the out-of-descriptor segfault for now...
Jeff Trawick [Fri, 11 Jan 2002 12:39:45 +0000 (12:39 +0000)]
add back in the out-of-descriptor segfault for now...

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

22 years agoThis brings apache back in line with apr following the addition
David Reid [Fri, 11 Jan 2002 09:14:34 +0000 (09:14 +0000)]
This brings apache back in line with apr following the addition
of apr_file_dup2.

Until Win32 and OS/2 have the function added this will break their
builds, but Will Rowe has said he'll do it this morning and asked for
the patch to apr to go in :)  Go Will!

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

22 years ago Note some things that belonged here ... mentioned on list
William A. Rowe Jr [Fri, 11 Jan 2002 08:42:20 +0000 (08:42 +0000)]
  Note some things that belonged here ... mentioned on list

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

22 years agoUpdated STATUS to cover the worker segfault fixes
Brian Pane [Fri, 11 Jan 2002 08:07:07 +0000 (08:07 +0000)]
Updated STATUS to cover the worker segfault fixes

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

22 years agoFix for a segfault in the worker MPM during graceful shutdown:
Brian Pane [Fri, 11 Jan 2002 08:01:11 +0000 (08:01 +0000)]
Fix for a segfault in the worker MPM during graceful shutdown:
The per-transaction pools in the worker MPM can't be children of
the listener thread's pool, because that pool may go out of scope
while some workers are still procesing requests using the transaction
pools.

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

22 years ago A pedantic change to prevent us from discovering, in the future, that
William A. Rowe Jr [Fri, 11 Jan 2002 07:00:03 +0000 (07:00 +0000)]
  A pedantic change to prevent us from discovering, in the future, that
  these support/ modules suddenly rely upon some of our apr/aprutil
  features, by finding the build broken one morning.

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

22 years ago Some servername goodness (well, if you call 'localhost' good, I don't.)
William A. Rowe Jr [Fri, 11 Jan 2002 06:40:43 +0000 (06:40 +0000)]
  Some servername goodness (well, if you call 'localhost' good, I don't.)
  Add to that some nits in the overall comments, and drop all the bitty
  copy modules/somemod/*.h include/ fooness, since we need the various
  modules to deposit their droppings into the build tree install/ dir
  just to compile ourselves.

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

22 years ago The mutex must be pool-managed, not ssl managed. We are encountering
William A. Rowe Jr [Fri, 11 Jan 2002 06:05:18 +0000 (06:05 +0000)]
  The mutex must be pool-managed, not ssl managed.  We are encountering
  segfaults on Win32 when the cleanup of the mutex occurs after the pool
  was destroyed.

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

22 years agomention a couple of segfaults with worker
Jeff Trawick [Fri, 11 Jan 2002 04:03:41 +0000 (04:03 +0000)]
mention a couple of segfaults with worker

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

22 years agoRemove the link to mbox.apachelabs.org. (Amazingly, that link worked.)
Justin Erenkrantz [Thu, 10 Jan 2002 23:05:51 +0000 (23:05 +0000)]
Remove the link to mbox.apachelabs.org.  (Amazingly, that link worked.)
But, we cite everything via the Message-ID to be archive-neutral.
(FWIW, www.apachelabs.org has a feature to search on Message-ID.)

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

22 years agoset a default port.
Ian Holsman [Thu, 10 Jan 2002 22:06:39 +0000 (22:06 +0000)]
set a default port.
configurable via INSTPORT

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

22 years ago Once again, try to bring the world into sync. Someday soon, we need to
William A. Rowe Jr [Thu, 10 Jan 2002 21:35:05 +0000 (21:35 +0000)]
  Once again, try to bring the world into sync.  Someday soon, we need to
  generate this and Netware's from -std using awk.  It really would make
  more sense to strip out the appropriate directives as we build, instead
  of 'toggling' the mpm with <IfModule > (at least, as an option during
  build.)  But that requires an un-nested syntax such as
  <IfModule module module> or <IfNotModule module module> that would be
  simpler to parse in awk.  Our nested IfModules make this quite tricky.
  The better final solution is possibly to add things like HAS_SCOREBOARD
  to the 'build-in' defines, therefore assuring a simple test for any
  mpm architecture.

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

22 years agoRemove defunct spmt_os2 MPM, superceded by mpmt_os2.
Brian Havard [Thu, 10 Jan 2002 15:30:03 +0000 (15:30 +0000)]
Remove defunct spmt_os2 MPM, superceded by mpmt_os2.

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

22 years agoGet OS/2 MPM working again after last scoreboard changes.
Brian Havard [Thu, 10 Jan 2002 15:09:18 +0000 (15:09 +0000)]
Get OS/2 MPM working again after last scoreboard changes.

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

22 years ago Ok one typo... that's it for me for one evening
William A. Rowe Jr [Thu, 10 Jan 2002 09:20:28 +0000 (09:20 +0000)]
  Ok one typo... that's it for me for one evening

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

22 years ago Fix a handful of AP_MODULE_DECLARE_DATA exports for .so modules.
William A. Rowe Jr [Thu, 10 Jan 2002 09:11:33 +0000 (09:11 +0000)]
  Fix a handful of AP_MODULE_DECLARE_DATA exports for .so modules.

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

22 years ago *) Split all Win32 modules [excluding the core components mod_core,
William A. Rowe Jr [Thu, 10 Jan 2002 08:47:23 +0000 (08:47 +0000)]
  *) Split all Win32 modules [excluding the core components mod_core,
     mod_so, mod_win32 and the winnt mpm] into individual loadable
     modules, so the administrator may individually disable the former
     compiled-in modules by simply commenting out their LoadModule
     directives.  [William Rowe]

  *) Saved Win32 module authors and porters many future headaches, by
     duplicating the appropriate .h files such as os.h into the include
     directory, including in the build tree.  [William Rowe]

  Also noticed that version stamp resources weren't generated for proxy
  modules, this too is now fixed.

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

22 years agoDoes Apache need a fast way to exclude log lines?
Ian Holsman [Thu, 10 Jan 2002 05:37:06 +0000 (05:37 +0000)]
Does Apache need a fast way to exclude log lines?

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

22 years ago This needed bumping for all the scoreboard changes; consider it bumped.
William A. Rowe Jr [Thu, 10 Jan 2002 05:16:19 +0000 (05:16 +0000)]
  This needed bumping for all the scoreboard changes; consider it bumped.

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

22 years ago mod_ssl adjustments to help with using toolkits other than OpenSSL:
Doug MacEachern [Thu, 10 Jan 2002 04:55:19 +0000 (04:55 +0000)]
 mod_ssl adjustments to help with using toolkits other than OpenSSL:
  Use SSL functions/macros instead of directly dereferencing SSL
  structures wherever possible.
  Add type-casts for the cases where functions return a generic pointer.
  Add $SSL/include to configure search path.
PR:
Obtained from:
Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>
Reviewed by: dougm

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

22 years agowrowe's veto'd this.
Ian Holsman [Thu, 10 Jan 2002 03:23:33 +0000 (03:23 +0000)]
wrowe's veto'd this.

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

22 years ago Best to use -no- file extension here, since that always pops up the
William A. Rowe Jr [Thu, 10 Jan 2002 03:19:49 +0000 (03:19 +0000)]
  Best to use -no- file extension here, since that always pops up the
  'open with' dialog in MS Explorer, preventing the user from really
  mucking anything up.

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

22 years ago VC 5.0 is too picky for my taste - didn't pick up the target due to
William A. Rowe Jr [Thu, 10 Jan 2002 03:14:30 +0000 (03:14 +0000)]
  VC 5.0 is too picky for my taste - didn't pick up the target due to
  the silly slash.

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

22 years ago Change the name of the _tryssl to an underbar prefix so we know it is
William A. Rowe Jr [Thu, 10 Jan 2002 03:12:39 +0000 (03:12 +0000)]
  Change the name of the _tryssl to an underbar prefix so we know it is
  an 'internal' thing, and try building explicit targets to avoid ever
  dragging in .bsc construction.

  Also introduce _browse.  This is far from complete, but I'm working on
  a mechansim to toggle browse database construction - of a single .bsc
  file for DevStudio's browser database.  The ugly bit is; it gobbles some
  80MB for construction, so we will never waste that sort of space on
  the typical case, but reserve it for developers who choose to toggle it.

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

22 years ago Fixing the apr_shm_ and apr_rmm_ args back to a warning state was good.
William A. Rowe Jr [Thu, 10 Jan 2002 02:58:10 +0000 (02:58 +0000)]
  Fixing the apr_shm_ and apr_rmm_ args back to a warning state was good.
  Enabling APR_HAS_SHARED_MEMORY again in the previous patch was bad.

  This can be toggled once we straighten out all the pointers into offsets.

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

22 years agooops.
Ian Holsman [Thu, 10 Jan 2002 01:29:11 +0000 (01:29 +0000)]
oops.
forgot this file
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agonew option LogExcludeByType
Ian Holsman [Thu, 10 Jan 2002 01:03:41 +0000 (01:03 +0000)]
new option LogExcludeByType
main use is so that you can ignore logging images
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years ago This patch eliminated from the _SHARED_ segment of the scoreboard all
William A. Rowe Jr [Thu, 10 Jan 2002 00:28:00 +0000 (00:28 +0000)]
  This patch eliminated from the _SHARED_ segment of the scoreboard all
  pointer math.  This is required for portable scoreboards.

  vhost becomes the 'vhost name string' so it now survives ap_generation
  clicks.  next was apparently never used.

  This patch also accounts for the changes to the apr_shm api, and gives
  Win32 the magic of a shared scoreboard.

  Breakage aplenty on non-win32 platforms, I suspect, but this radical
  surgery, and culling of unused functions, was really, really needed.

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

22 years agoget SSLRandomSeed exec: working by passing the proper arguments to apr_proc_create()
Doug MacEachern [Thu, 10 Jan 2002 00:09:04 +0000 (00:09 +0000)]
get SSLRandomSeed exec: working by passing the proper arguments to apr_proc_create()

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

22 years agocall ssl_mutex_kill() during module cleanup
Doug MacEachern [Wed, 9 Jan 2002 22:21:34 +0000 (22:21 +0000)]
call ssl_mutex_kill() during module cleanup

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