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

22 years agoMaking sure that the global variables have been initialized to avoid linker
Bradley Nicholes [Wed, 2 Jan 2002 23:27:57 +0000 (23:27 +0000)]
Making sure that the global variables have been initialized to avoid linker
problems at least on NetWare
Submitted by: Pavel Novy

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

22 years ago Merge a singular path for dir_walk to parse, if we have an r->filename
William A. Rowe Jr [Wed, 2 Jan 2002 21:58:43 +0000 (21:58 +0000)]
  Merge a singular path for dir_walk to parse, if we have an r->filename
  which is an APR_DIR, and path_info contents.  Also, al la Mr. Pane,
  optimize our canonical_filename by simply noting the length of the
  identity match, and refresh canonical_filename when we are finished.

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

22 years ago Eliminate a duplicate absolute path test, and NEVER serve a request
William A. Rowe Jr [Wed, 2 Jan 2002 21:34:50 +0000 (21:34 +0000)]
  Eliminate a duplicate absolute path test, and NEVER serve a request
  for an APR_DIR file from the cache when we have path_info, it is a
  contradition (APR_DIR always forces dir_walk to gather the next segment
  from path_info, even if it is APR_NOFILE, until we have no path_info.)

  So we can't use a predetermined filename/path_info combo, ever, if the
  filename resolves to an APR_DIR.

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

22 years agoThreads on FreeBSD are not my friend.
Aaron Bannert [Wed, 2 Jan 2002 19:34:47 +0000 (19:34 +0000)]
Threads on FreeBSD are not my friend.

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

22 years agoChange the return code from APR_TIMEUP to APR_ECONNABORTED, which seems
Bill Stoddard [Wed, 2 Jan 2002 19:12:40 +0000 (19:12 +0000)]
Change the return code from APR_TIMEUP to APR_ECONNABORTED, which seems
to be a bit more descriptive. Move the check to inside the inner while()
loop and add an additional check for eos. If we get an EOS bucket, there
is no point in going further. Hopefully this will fix the last seg fault
in the function.

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

22 years agoshowstoppers--;
Justin Erenkrantz [Wed, 2 Jan 2002 08:14:47 +0000 (08:14 +0000)]
showstoppers--;

This appears to be due to an API change in LWP 5.61.  A fix has been
committed to httpd-test.  (Works on Linux with prefork and worker now.)

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

22 years agoAdd note about worker MPM weirdness observed on FreeBSD and Cygwin.
Justin Erenkrantz [Wed, 2 Jan 2002 08:13:33 +0000 (08:13 +0000)]
Add note about worker MPM weirdness observed on FreeBSD and Cygwin.
Does anyone else see this?

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

22 years agoshowstoppers--;
Justin Erenkrantz [Wed, 2 Jan 2002 08:05:15 +0000 (08:05 +0000)]
showstoppers--;

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

22 years agoFix LimitRequestBody directive by moving the relevant code from
Justin Erenkrantz [Wed, 2 Jan 2002 07:56:25 +0000 (07:56 +0000)]
Fix LimitRequestBody directive by moving the relevant code from
ap_*_client_block to ap_http_filter (aka HTTP_IN).  This is the
only appropriate place for limit checking to occur (otherwise,
chunked input is not correctly limited).

Also changed the type of limit_req_body to apr_off_t to match the
other types inside of HTTP_IN.  Also made the strtol call for
limit_req_body a bit more robust.

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

22 years agoRemove a needless immortal bucket creation. We can just leave the
Justin Erenkrantz [Wed, 2 Jan 2002 05:29:08 +0000 (05:29 +0000)]
Remove a needless immortal bucket creation.  We can just leave the
brigade as-is.

Suggested by: Cliff

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

22 years agoGeneralized the recent prep_walk_cache optimizations to allow other
Brian Pane [Tue, 1 Jan 2002 20:36:18 +0000 (20:36 +0000)]
Generalized the recent prep_walk_cache optimizations to allow other
modules to register "notes" within the array of working data in
the core_request_config

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

22 years ago Need a null language_priority array for an either/or choice in the
William A. Rowe Jr [Tue, 1 Jan 2002 19:09:05 +0000 (19:09 +0000)]
  Need a null language_priority array for an either/or choice in the
  conf merge.  This does so.  The merges should be significantly quicker.

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

22 years ago Thanks Mr. Trawick, backtraces can be very enlightening.
William A. Rowe Jr [Tue, 1 Jan 2002 19:01:39 +0000 (19:01 +0000)]
  Thanks Mr. Trawick, backtraces can be very enlightening.

  This fixes two bugs, the segfault when researching index numbers,
  and another.  We don't hint anywhere that LanguagePriority is a
  cumulative setting, in fact the syntax doesn't suggest so either.
  Merges are always slow, there is no reason to make this even slower.

  So the patch has the LanguagePriority directive override any existing
  LanguagePriority list from an earlier container.

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

22 years ago Time to commit... before I get lost in the changes
William A. Rowe Jr [Mon, 31 Dec 2001 21:58:42 +0000 (21:58 +0000)]
  Time to commit... before I get lost in the changes

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

22 years agoFix mod_proxy seg fault when the proxied server returns
Bill Stoddard [Mon, 31 Dec 2001 21:03:12 +0000 (21:03 +0000)]
Fix mod_proxy seg fault when the proxied server returns
an HTTP/0.9 response or a bogus status line.

Submitted by: Adam Sussman
Reviewed by: Bill Stoddard

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

22 years agoPrevent mod_proxy from truncating one character off the
Bill Stoddard [Mon, 31 Dec 2001 20:53:28 +0000 (20:53 +0000)]
Prevent mod_proxy from truncating one character off the
end of the status line returned from the proxied server.
Note that buffer is NULL terminated by the call to
ap_proxy_string_read() so there is no need to terminate it
again.

Submitted by: Adam Sussman
Reviewed by: Bill Stoddard

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

22 years agoChange the call to be blocking to eliminate a loop caused when the upstream
Bill Stoddard [Mon, 31 Dec 2001 20:46:22 +0000 (20:46 +0000)]
Change the call to be blocking to eliminate a loop caused when the upstream
host does not send any bytes back our way.

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

22 years agoEliminate loop in ap_proxy_string_read(). Need to be able to handle
Bill Stoddard [Mon, 31 Dec 2001 20:43:59 +0000 (20:43 +0000)]
Eliminate loop in ap_proxy_string_read(). Need to be able to handle
getting an empty brigade from ap_get_brigade(). Also made sure that
we always call ap_get_brigade() in readline mode.

Submitted/Reviewed by: Adam Sussman & Bill Stoddard

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

22 years agoPerformance fix for prep_walk_cache():
Brian Pane [Mon, 31 Dec 2001 08:18:32 +0000 (08:18 +0000)]
Performance fix for prep_walk_cache():

Moved the directory/location/file-walk caches from the
request's pool userdata hash table to the core_request_config
struct.

This change removes about 60% of the processing time from
prep_walk_cache().

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

22 years ago Saw this bug several hours ago, but it slipped my mind. We no longer
William A. Rowe Jr [Mon, 31 Dec 2001 06:47:28 +0000 (06:47 +0000)]
  Saw this bug several hours ago, but it slipped my mind.  We no longer
  skip over the leading '/' character, since the token_re already strips
  the / delimiters.

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

22 years ago Return the correct $n result (assign the val, not the var!)
William A. Rowe Jr [Mon, 31 Dec 2001 06:43:30 +0000 (06:43 +0000)]
  Return the correct $n result (assign the val, not the var!)

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

22 years ago To provide more flexibility in handling quotes, allow the backtick quote
William A. Rowe Jr [Mon, 31 Dec 2001 06:04:45 +0000 (06:04 +0000)]
  To provide more flexibility in handling quotes, allow the backtick quote
  for SSI tag arguments (e.g. <!--#echo val=`foo` -->).  This helps with
  arguments containing both single and double quotes.

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

22 years ago We never test for success in memory allocation
William A. Rowe Jr [Mon, 31 Dec 2001 06:01:09 +0000 (06:01 +0000)]
  We never test for success in memory allocation

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

22 years ago Ever tried to extract some value of QUERY_STRING from within SSI?
William A. Rowe Jr [Mon, 31 Dec 2001 05:58:59 +0000 (05:58 +0000)]
  Ever tried to extract some value of QUERY_STRING from within SSI?
  Now you can :)  Provides $0..$9 results for any regex evaluation,
  and strengthens the expr parser for regex expressions.

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

22 years agoHostNameLookups -> HostnameLookups
kevlo [Mon, 31 Dec 2001 02:29:12 +0000 (02:29 +0000)]
HostNameLookups -> HostnameLookups
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoRemove ConnectionStatus directive. No longer in code.
Joshua Slive [Sun, 30 Dec 2001 19:30:57 +0000 (19:30 +0000)]
Remove ConnectionStatus directive.  No longer in code.

Submitted by: Daniel Lopez <daniel@rawbyte.com>

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