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

22 years agoget SSLPassPhraseDialog exec: working by passing the proper arguments
Doug MacEachern [Wed, 9 Jan 2002 19:24:32 +0000 (19:24 +0000)]
get SSLPassPhraseDialog exec: working by passing the proper arguments
to apr_proc_create()
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years ago Consistency
William A. Rowe Jr [Wed, 9 Jan 2002 16:00:54 +0000 (16:00 +0000)]
  Consistency

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

22 years agoWelcome to 2.0.31
Aaron Bannert [Tue, 8 Jan 2002 23:42:11 +0000 (23:42 +0000)]
Welcome to 2.0.31

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

22 years agoAbout to tag 2.0.30
Aaron Bannert [Tue, 8 Jan 2002 23:34:58 +0000 (23:34 +0000)]
About to tag 2.0.30

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

22 years agoUpdated the build documentation for NetWare to match the current build
Bradley Nicholes [Tue, 8 Jan 2002 22:46:34 +0000 (22:46 +0000)]
Updated the build documentation for NetWare to match the current build
process

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

22 years agoChanged the project file to use the NDK (NovellNDK) environment variable
Bradley Nicholes [Tue, 8 Jan 2002 21:54:40 +0000 (21:54 +0000)]
Changed the project file to use the NDK (NovellNDK) environment variable
to locate the LibC SDK headers and libraries.  Also added the Mod_Rewrite
and Mod_Auth_DBM targets to the main build project.

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

22 years agoFixed the export list generation for NetWare to make sure that only real APIs
Bradley Nicholes [Tue, 8 Jan 2002 21:46:18 +0000 (21:46 +0000)]
Fixed the export list generation for NetWare to make sure that only real APIs
are being exported

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

22 years agoAdded a stub for ap_os_create_privileged_process() for NetWare
Bradley Nicholes [Tue, 8 Jan 2002 21:32:50 +0000 (21:32 +0000)]
Added a stub for ap_os_create_privileged_process() for NetWare

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

22 years agoCode updates to allow Mod_Rewrite and Mod_Auth_DBM to build on NetWare
Bradley Nicholes [Tue, 8 Jan 2002 21:16:08 +0000 (21:16 +0000)]
Code updates to allow Mod_Rewrite and Mod_Auth_DBM to build on NetWare
Submitted by: G�nter Knauf <gk@gknw.de>

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

22 years agoAdded the #ifdef's to the prototypes to match the corresponding source code
Bradley Nicholes [Tue, 8 Jan 2002 21:09:02 +0000 (21:09 +0000)]
Added the #ifdef's to the prototypes to match the corresponding source code

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

22 years agoRestore the apr_pool_clear calls to main.c in case we have
David Reid [Tue, 8 Jan 2002 17:07:19 +0000 (17:07 +0000)]
Restore the apr_pool_clear calls to main.c in case we have
third-parties who are overriding the open_logs hook, in which case
they'd miss the plog being cleared.

Submitted by: Justin <jerenkrantz@apache.org>

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

22 years agoUpdate the FreeBSD saga...
David Reid [Tue, 8 Jan 2002 16:37:52 +0000 (16:37 +0000)]
Update the FreeBSD saga...

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

22 years agoThis small patch modifies the log's to use plog instead of pconf.
David Reid [Tue, 8 Jan 2002 16:30:16 +0000 (16:30 +0000)]
This small patch modifies the log's to use plog instead of pconf.
Basically pconf is cleared at different times from plog, and this
has the effect of leaving stderr closed when going into the next
stage of the config. This also had the effect of allowing FreeBSD
with threads to create a pipe with stderr's fd at one end, and this
resulted in problems with the signal polling and high cpu usage.

In addition, move the clearing of plog from main.c to core.c where
it seems more appropriate.

This solves the first and main problem that FreeBSD has with the
threaded MPM's.

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

22 years agoAdd the ability to pass flags to both apr_file_open and apr_mktemp.
Ryan Bloom [Tue, 8 Jan 2002 06:26:10 +0000 (06:26 +0000)]
Add the ability to pass flags to both apr_file_open and apr_mktemp.
The reason for this, is that it is very possible to want a temp
file that isn't deleted when the file is closed. It also makes sense
to have the flags in the apr_file_t if possible.

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

22 years agoCold and dark here...
David Reid [Tue, 8 Jan 2002 00:31:19 +0000 (00:31 +0000)]
Cold and dark here...

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

22 years agoFix how mod_dav examines methods in the request -- use the method number
Greg Stein [Mon, 7 Jan 2002 22:36:15 +0000 (22:36 +0000)]
Fix how mod_dav examines methods in the request -- use the method number
from the request. To do this, we also need to register all of the new/custom
methods that mod_dav recognizes.

Note: this fixes a bug where a method (e.g. REPORT) would appear in a
Limit(Except) directive and Apache would register the method. The method
number in the request would then be something *other* than M_INVALID, which
threw off mod_dav's tests.

Submitted by: Sander Striker <striker@apache.org>

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

22 years agoStylistic nitpicking before I go to work on this.
Justin Erenkrantz [Mon, 7 Jan 2002 18:10:54 +0000 (18:10 +0000)]
Stylistic nitpicking before I go to work on this.

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

22 years agofix a typo in an error message
Jeff Trawick [Mon, 7 Jan 2002 16:03:25 +0000 (16:03 +0000)]
fix a typo in an error message

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

22 years agoReflect actual filename in .var file
Martin Kraemer [Mon, 7 Jan 2002 12:44:47 +0000 (12:44 +0000)]
Reflect actual filename in .var file

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

22 years ago- We just check for "pthread" in mpm_common.c not "proc_pthread"
Lars Eilebrecht [Mon, 7 Jan 2002 05:37:29 +0000 (05:37 +0000)]
- We just check for "pthread" in mpm_common.c not "proc_pthread"
  (like in Apache 1.3).
- Fix name tag for AcceptMutex.

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

22 years agoThe -L and -R flags are linker flags not libraries. We need to add them to
Justin Erenkrantz [Sun, 6 Jan 2002 23:39:50 +0000 (23:39 +0000)]
The -L and -R flags are linker flags not libraries.  We need to add them to
the correct variable (LDFLAGS) so we can fix 'em up later on.

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

22 years agoRearranged the log_request_time() code to eliminate the allocation
Brian Pane [Sun, 6 Jan 2002 21:03:51 +0000 (21:03 +0000)]
Rearranged the log_request_time() code to eliminate the allocation
of an 8KB buffer on the stack when not using a custom time format

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

22 years agoneed to use $(top_srcdir) when installing build/instdso.sh
Doug MacEachern [Sun, 6 Jan 2002 17:39:52 +0000 (17:39 +0000)]
need to use $(top_srcdir) when installing build/instdso.sh
else make install does not work when when configured with a --srcdir
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoBypass a strdup and an 8KB local variable in the common case where
Brian Pane [Sun, 6 Jan 2002 08:01:34 +0000 (08:01 +0000)]
Bypass a strdup and an 8KB local variable in the common case where
the logger is using the default time format

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

22 years agoCleaned up a couple of ap_ssi_parse_string calls that I missed
Brian Pane [Sun, 6 Jan 2002 06:53:25 +0000 (06:53 +0000)]
Cleaned up a couple of ap_ssi_parse_string calls that I missed
in the last commit

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

22 years agoEliminated various large (8KB) string buffers from the stack in
Brian Pane [Sun, 6 Jan 2002 06:41:30 +0000 (06:41 +0000)]
Eliminated various large (8KB) string buffers from the stack in
mod_include by adding support for a power-of-two pool-based allocator
in ap_ssi_parse_string(). (The default operation of this function
is backward-compatible, to support the other modules that call it.)
This change should help reduce memory usage for servers delivering
shtml pages.

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

22 years agoThis issue has turned into a FAQ.
Justin Erenkrantz [Sun, 6 Jan 2002 01:19:49 +0000 (01:19 +0000)]
This issue has turned into a FAQ.

Start tracking it in STATUS so we can point people to this if they ask
about this again.

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

22 years agoFix a typo in mod_deflate's m4 config section.
Justin Erenkrantz [Sun, 6 Jan 2002 00:44:22 +0000 (00:44 +0000)]
Fix a typo in mod_deflate's m4 config section.

Submitted by: albert chin (china@thewrittenword.com)
Reviewed by: Justin Erenkrantz

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

22 years agoNote this for the record. I have no idea if/when I'll have the time to
Justin Erenkrantz [Sun, 6 Jan 2002 00:22:10 +0000 (00:22 +0000)]
Note this for the record.  I have no idea if/when I'll have the time to
implement this.

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

22 years agoReworked the accept() loop to avoid an extra call to select() just to
Bradley Nicholes [Fri, 4 Jan 2002 22:25:09 +0000 (22:25 +0000)]
Reworked the accept() loop to avoid an extra call to select() just to
determine if there is work to do.  Made the calls to accept() non-blocking.

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

22 years agoChanged to 4 byte packing
Bradley Nicholes [Fri, 4 Jan 2002 18:44:56 +0000 (18:44 +0000)]
Changed to 4 byte packing

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

22 years agofor proxy CONNECT handling:
Jeff Trawick [Fri, 4 Jan 2002 18:32:48 +0000 (18:32 +0000)]
for proxy CONNECT handling:

  don't hard-code the address family of the target; respect
  what the resolver told us

  get a new socket each time we try to connect to one of the
  target addresses as reported by the resolver; you can't
  portably attempt to connect more than once on the same
  socket

this is the same fix committed to proxy http support yesterday

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

22 years agocache now can cache things for minutes.
Ian Holsman [Fri, 4 Jan 2002 17:58:36 +0000 (17:58 +0000)]
cache now can cache things for minutes.
add remove_entity function to type on mem_cache (so we can remove items from the cache)
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years ago2.0.29 isn't going to be rolled.
Justin Erenkrantz [Fri, 4 Jan 2002 08:43:47 +0000 (08:43 +0000)]
2.0.29 isn't going to be rolled.

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

22 years agosplit mem_cache out of mod_cache (ala mod_proxy & proxy_http)
Ian Holsman [Fri, 4 Jan 2002 06:01:23 +0000 (06:01 +0000)]
split mem_cache out of mod_cache (ala mod_proxy & proxy_http)
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoFix a couple of mod_proxy problems forwarding HTTP connections:
Jeff Trawick [Fri, 4 Jan 2002 01:47:55 +0000 (01:47 +0000)]
Fix a couple of mod_proxy problems forwarding HTTP connections:

(1) PR #9190  It failed to connect to IPv6 hosts.
(2) It failed to connect when the first IP address returned by
    the resolver was unreachable but a secondary IP address was.

PR:    9190 (partly)

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

22 years agoKeep my comments to myself.
Bill Stoddard [Thu, 3 Jan 2002 20:47:30 +0000 (20:47 +0000)]
Keep my comments to myself.

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

22 years agoget the declarations for strncasecmp() on AIX
Jeff Trawick [Thu, 3 Jan 2002 20:42:08 +0000 (20:42 +0000)]
get the declarations for strncasecmp() on AIX

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

22 years agoUse ap_getline() in favor of ap_proxy_string_read() in ap_proxy_http_process_response().
Bill Stoddard [Thu, 3 Jan 2002 20:38:04 +0000 (20:38 +0000)]
Use ap_getline() in favor of ap_proxy_string_read() in ap_proxy_http_process_response().

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

22 years agoFix seg fault in HTTP_IN when trying to handle the LimitRequestBody
Bill Stoddard [Thu, 3 Jan 2002 19:20:54 +0000 (19:20 +0000)]
Fix seg fault in HTTP_IN when trying to handle the LimitRequestBody
directive when reading a proxy response. We should bypass LimitRequestBody
activities when handling a response from the proxied server.

I don't think this will circumvent requestbody checking on a large request
coming into the server that is destined to be proxied. (not tested though).

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

22 years agoFix the module identifier as shown in the docs for some
Jeff Trawick [Thu, 3 Jan 2002 14:20:51 +0000 (14:20 +0000)]
Fix the module identifier as shown in the docs for some
modules.

PR:           #9338
Submitted by: James Watson <ap2bug@sowega.org>

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

22 years agoYou know, I got an A in my "Principles of Operating Systems" class
Justin Erenkrantz [Thu, 3 Jan 2002 09:53:37 +0000 (09:53 +0000)]
You know, I got an A in my "Principles of Operating Systems" class
last quarter.  Ain't worth a cent now.

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

22 years agoOS/2: Allow but ignore unix config directives so the default config files
Brian Havard [Thu, 3 Jan 2002 02:06:32 +0000 (02:06 +0000)]
OS/2: Allow but ignore unix config directives so the default config files
don't have to be munged further.

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

22 years agoMMN = Things that go bump in the night.
Justin Erenkrantz [Wed, 2 Jan 2002 23:29:13 +0000 (23:29 +0000)]
MMN = Things that go bump in the night.
(limit_req_body is now an apr_off_t)

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