]> granicus.if.org Git - apache/log
apache
22 years agoOnly style fixes (tabs, blocks, spelling).
Aaron Bannert [Thu, 16 May 2002 05:20:46 +0000 (05:20 +0000)]
Only style fixes (tabs, blocks, spelling).

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

22 years agoChange mod_ssl from using ssl_log() to ap_log_error().
Justin Erenkrantz [Thu, 16 May 2002 05:17:11 +0000 (05:17 +0000)]
Change mod_ssl from using ssl_log() to ap_log_error().

The issue is that ssl_log doesn't handle apr_status_t result codes.  This
leads to a number of places (esp. with mutexes) where the error codes get
lost.  Rather than extending ssl_log further, since mod_ssl is part of
our core, migrate to ap_log_error.  This means that mod_ssl no longer
does its own logging.

Most uses of SSL_ADD_ERRNO are now mapped correctly to apr_status_t values
(mainly because the APIs that used to return errnos are now APRized and
have apr_status_t codes available).

SSL_LOG_TRACE and SSL_LOG_DEBUG were mapped to the APLOG_DEBUG values.
mod_ssl prints out a LOT of debugging information, so mod_ssl with LogLevel
Debug may not be a good idea - perhaps mod_ssl should be less chatty.

Numerous printf type collisions were also resolved.

(The ssl logging code itself will be removed in a subsequent commit.)

This has been discussed on dev@httpd, but the fact that there isn't
much to review besides the mindless changes, I'm going to commit now
and rely on CTR if I screwed up anything on the translation.

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

22 years agoFeeling more confident in the worker MPM now, so I'm with Brian on
Aaron Bannert [Thu, 16 May 2002 03:58:59 +0000 (03:58 +0000)]
Feeling more confident in the worker MPM now, so I'm with Brian on
this one.

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

22 years ago Potential flaw --- use forward slash notation in filenames to awk
William A. Rowe Jr [Thu, 16 May 2002 02:56:31 +0000 (02:56 +0000)]
  Potential flaw --- use forward slash notation in filenames to awk

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

22 years ago Cleanup the scripts used for Makefile.win
William A. Rowe Jr [Thu, 16 May 2002 02:52:43 +0000 (02:52 +0000)]
  Cleanup the scripts used for Makefile.win

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

22 years ago Short of final troubleshooting and diagnostics, this patch introduces
William A. Rowe Jr [Wed, 15 May 2002 23:29:03 +0000 (23:29 +0000)]
  Short of final troubleshooting and diagnostics, this patch introduces
  Async support via the ISAPIFakeAsync directive [default - still off.]

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

22 years agoStop using SSL_ADD_SSLERR option in ssl_log() and replace with new
Justin Erenkrantz [Wed, 15 May 2002 23:10:33 +0000 (23:10 +0000)]
Stop using SSL_ADD_SSLERR option in ssl_log() and replace with new
ssl_log_ssl_error() function that wraps ap_log_error instead.

This begins the migration from ssl_log() -> ap_log_error().  Divorcing
ourselves from the SSL_ADD_SSLERR option is required to make the next
pass easier.

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

22 years ago Document the fact that Cygwin's awk doesn't work with MSVC. This is
William A. Rowe Jr [Wed, 15 May 2002 22:43:25 +0000 (22:43 +0000)]
  Document the fact that Cygwin's awk doesn't work with MSVC. This is
  due to Cygwin making awk.exe a 'cygwin symlink' to gawk.exe. The windows
  shell does not support symlinks, and so any Apache makefile references
  to awk.exe will fail.

PR:8726
Submitted by: Jerry Baker <jerrybaker@weirdness.com>

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

22 years ago Fixes to;
William A. Rowe Jr [Wed, 15 May 2002 19:42:42 +0000 (19:42 +0000)]
  Fixes to;

  * accept HTTP/1.1 ### Status results [another bogus convolution.]
  * accept status+headers in status or headers [alone].
  * fix I/O completion (correct the order of args.)
  * fix a number of bugs and behavior flukes in TransmitFile.
  * fix bug #8740 [truncated output due to bad status return]

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

22 years agodon't leave the shared library path variable commented out in envvars
Jeff Trawick [Wed, 15 May 2002 17:47:39 +0000 (17:47 +0000)]
don't leave the shared library path variable commented out in envvars
for non-binbuild...  OS/390 needs it set all the time

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

22 years agoget APR to tell us the name of the shared library path variable
Jeff Trawick [Wed, 15 May 2002 17:38:46 +0000 (17:38 +0000)]
get APR to tell us the name of the shared library path variable

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

22 years agoOS/390 likes the -U tar option; Linux/390 doesn't
Greg Ames [Wed, 15 May 2002 15:39:49 +0000 (15:39 +0000)]
OS/390 likes the -U tar option; Linux/390 doesn't

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

22 years agoSure that something else will occur to me sooner or later.
William A. Rowe Jr [Wed, 15 May 2002 00:43:01 +0000 (00:43 +0000)]
Sure that something else will occur to me sooner or later.

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

22 years ago Further observations from the past two weeks.
William A. Rowe Jr [Wed, 15 May 2002 00:33:14 +0000 (00:33 +0000)]
  Further observations from the past two weeks.

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

22 years agoAdded documentation for the new EnableMMAP directive
Brian Pane [Wed, 15 May 2002 00:24:15 +0000 (00:24 +0000)]
Added documentation for the new EnableMMAP directive

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

22 years ago Save on incremental build time. libhttpd depends on gen_test_char and
William A. Rowe Jr [Wed, 15 May 2002 00:15:44 +0000 (00:15 +0000)]
  Save on incremental build time.  libhttpd depends on gen_test_char and
  libapr.  gen_test_char truly needs only apr ... however, this causes the
  libhttpd to refresh the static apr and dynamic libapr.

  Now... libapr.dll is in the wrong place to actually start gen_test_char.
  That doesn't affect us though - the only bits gen_test_char actually
  needs are APR_HAS/HAVE flags and the apr_isfoo(char) macros.

  So this lightens the load while not harming the build process.

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

22 years agobinbuild.sh was using the ancient syntax --with-layout=BinaryDistribution
Jeff Trawick [Tue, 14 May 2002 14:22:27 +0000 (14:22 +0000)]
binbuild.sh was using the ancient syntax --with-layout=BinaryDistribution
instead of --enable-layout=BinaryDistribution

I changed the layout for BinaryDistribution to install under
/usr/local/apache2 instead of /usr/local/apache.  Hopefully the
rest of the layout is reasonable.

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

22 years agofix a comment in config.layout which told the unsuspecting user
Jeff Trawick [Tue, 14 May 2002 13:52:12 +0000 (13:52 +0000)]
fix a comment in config.layout which told the unsuspecting user
to use --with-layout instead of --enable-layout

PR: 9061
Submitted by:   Max Dittrich
Reviewed by:    Jeff Trawick

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

22 years ago Fix GetServerVariable() to return the buffer consumed, including the
William A. Rowe Jr [Tue, 14 May 2002 13:44:48 +0000 (13:44 +0000)]
  Fix GetServerVariable() to return the buffer consumed, including the
  terminating NULL.

Bug: 8934

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

22 years ago Replace our Event HANDLE with an apr_thread_mutex_t, and add completion
William A. Rowe Jr [Tue, 14 May 2002 12:41:36 +0000 (12:41 +0000)]
  Replace our Event HANDLE with an apr_thread_mutex_t, and add completion
  logic to WriteClient/TransmitFile.

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

22 years ago Yesterday's patch went to far, add a missing library (and drop a release
William A. Rowe Jr [Tue, 14 May 2002 12:38:40 +0000 (12:38 +0000)]
  Yesterday's patch went to far, add a missing library (and drop a release
  reference to an unneeded one.)

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

22 years ago Fix command line devenv builds for MS VS 7.0 users. msdev is a command
William A. Rowe Jr [Tue, 14 May 2002 12:37:43 +0000 (12:37 +0000)]
  Fix command line devenv builds for MS VS 7.0 users.  msdev is a command
  that no longer exists, and we won't count on .mak files [although they
  are much faster if they exist, as there is no such concept as /norecurse
  in this newer release.]  We will use the existance of a converted
  Apache.sln (solution) file as proof of 7.0, there isn't another graceful
  way to check that I see.

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

22 years agoUse new canonical URL for cronolog (http://www.cronolog.org/)
Martin Kraemer [Tue, 14 May 2002 09:53:55 +0000 (09:53 +0000)]
Use new canonical URL for cronolog (http://www.cronolog.org/)

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

22 years agoRemove APACHE_MKDIR_P_CHECK in favor of new APR_MKDIR_P_CHECK.
Justin Erenkrantz [Tue, 14 May 2002 07:51:52 +0000 (07:51 +0000)]
Remove APACHE_MKDIR_P_CHECK in favor of new APR_MKDIR_P_CHECK.

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

22 years agoFix broken link.
Yoshiki Hayashi [Tue, 14 May 2002 07:12:07 +0000 (07:12 +0000)]
Fix broken link.

Reported by: Hiroaki KAWAI <hawk@bcl.t.u-tokyo.ac.jp>

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

22 years agoFix typo.
Yoshiki Hayashi [Tue, 14 May 2002 06:47:35 +0000 (06:47 +0000)]
Fix typo.

Remove reference to srm.conf and access.conf.
2.0 does not read them by default.

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

22 years agoUpdate translation.
Yoshiki Hayashi [Tue, 14 May 2002 06:30:32 +0000 (06:30 +0000)]
Update translation.

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

22 years ago One last commit for tonight I'd postponed ... take variable names within
William A. Rowe Jr [Tue, 14 May 2002 05:36:22 +0000 (05:36 +0000)]
  One last commit for tonight I'd postponed ... take variable names within
  mod_isapi out of Eastern Europe.  Hungarian now applies to ISAPI and MS
  defined fields of structures, only.

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

22 years ago Now for the major refactoring. Introduce mod_isapi.h, as we have had
William A. Rowe Jr [Tue, 14 May 2002 05:23:54 +0000 (05:23 +0000)]
  Now for the major refactoring.  Introduce mod_isapi.h, as we have had
  untold problems with compatibility between different Visual Studio and
  PlatformSDK users [based on their generation of the MS ISAPI header.]
  This header is coded from scratch in native APR types.

  Replace the apr_array_t with an apr_hash_t, mutex protected, to allow us
  to preload and late-load isapi modules.  This closes a significant bug
  with trafficed sites using uncached isapi modules, where one would be
  closing the module just as another request is opening it [as if for the
  first time.]  This would cause some ISAPI modules to crash.  Now that
  we load modules for the lifetime of the server, a simple graceful restart
  is all that's required to unload all the non-precached modules.

  Crack out all FAKE_ASYNC code while we complete it.  Total support for
  the Completion Context callback and end-of-request termination is required
  before we can toggle this on.

  My next commit; complete fake async support.  But this was all I'd had
  in me for one night.

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

22 years ago Part 3 of the ISAPI overhaul. Reframe the 'server conf' into 'dir conf'
William A. Rowe Jr [Mon, 13 May 2002 22:44:40 +0000 (22:44 +0000)]
  Part 3 of the ISAPI overhaul.  Reframe the 'server conf' into 'dir conf'
  options, creating one single cache of loaded modules [heck, that's what
  it was before.]  This allows finer grained control of specific modules
  that must be 'configured' around to deal with their peculiarities.
  This actually saves much code when we can use global config accessors.

  Grant the module cache it's own pool, and straighen up some other nits.
  No other substantial changes in this pass.

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

22 years agoInstead of using the hardcoded libtool path of srclib/apr, use the
Justin Erenkrantz [Mon, 13 May 2002 22:30:02 +0000 (22:30 +0000)]
Instead of using the hardcoded libtool path of srclib/apr, use the
output of apr-config --apr-libtool.

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

22 years agoInstead of hardcoding srclib/apr{-util} in the INCLUDES, get the information
Justin Erenkrantz [Mon, 13 May 2002 21:23:29 +0000 (21:23 +0000)]
Instead of hardcoding srclib/apr{-util} in the INCLUDES, get the information
from ap{ru}-config --includes which knows how to deal with VPATH builds
itself.

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

22 years ago Part two; nearly inconsequential - Made the log message prefix ISAPI:
William A. Rowe Jr [Mon, 13 May 2002 21:23:13 +0000 (21:23 +0000)]
  Part two; nearly inconsequential - Made the log message prefix ISAPI:
  (rather than ISAPI with no trailing colon) and normalized some variables
  and static fn names to 'apache names' rather than MSisms.

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

22 years ago Part one of a several-fold overhaul to isapi. This part simply
William A. Rowe Jr [Mon, 13 May 2002 21:00:58 +0000 (21:00 +0000)]
  Part one of a several-fold overhaul to isapi.  This part simply
  normalizes the module to the usual order of config-cmds/helpers/
  handlers/setup.

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

22 years ago Hmmm... gotta ask the wisdom in using aspecific types over apr_time_*_t
William A. Rowe Jr [Mon, 13 May 2002 20:17:31 +0000 (20:17 +0000)]
  Hmmm... gotta ask the wisdom in using aspecific types over apr_time_*_t
  types.

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

22 years ago Ummm... checked, 0.9.6d works too
William A. Rowe Jr [Mon, 13 May 2002 19:54:52 +0000 (19:54 +0000)]
  Ummm... checked, 0.9.6d works too

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

22 years agoMake apxs look in the correct directory for envvars. It was
Jeff Trawick [Mon, 13 May 2002 17:16:55 +0000 (17:16 +0000)]
Make apxs look in the correct directory for envvars.  It was
broken when sbindir != bindir.

PR:           8869
Submitted by: Andreas Sundstr�m <sunkan@zappa.cx>
Reviewed by:  Jeff Trawick

(This fix has been posted by others too.)

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

22 years ago Well if I got lost for a minute... make this clearer for 7.0 users.
William A. Rowe Jr [Mon, 13 May 2002 16:14:01 +0000 (16:14 +0000)]
  Well if I got lost for a minute... make this clearer for 7.0 users.

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

22 years ago Clean out some needless flags/libs
William A. Rowe Jr [Mon, 13 May 2002 14:56:04 +0000 (14:56 +0000)]
  Clean out some needless flags/libs

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

22 years agoFirst pass at trying to standardize httpd-2.0's usage of APR and APR-util
Justin Erenkrantz [Mon, 13 May 2002 08:39:30 +0000 (08:39 +0000)]
First pass at trying to standardize httpd-2.0's usage of APR and APR-util
so that they can be separated - use an installed APR and APR-util with
httpd-2.0.  This is not expected to achieve full separation, but is
merely the first step in the process.  The tree should still be buildable
in the source-only case.

This commit does the following things:
- Use the standard find_apr.m4 and find_apu.m4 m4 macro files that flood and
  Subversion already use for locating APR and APR-util.  This adds the
  --with-apr and --with-apr-util configure options.
- Stop using APRVARS and export_vars.sh.
- Use apr-config and apu-config to determine dependencies.
- Add AP_BUILD_SRCLIB_DIRS and AP_CLEAN_SRCLIB_DIRS values (names stink)
  to dynamically figure out what subdirs in srclib we will build.
  (What we really want to do is set one value - go L->R on build and
   R->L on clean.  I can't think of a way to do this.)
- If we are using APR and APR-util that are already installed, don't
  specify them in srclib.  (This still needs some work I bet.)

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

22 years agoCorrect typo in last commit.
Justin Erenkrantz [Mon, 13 May 2002 07:49:30 +0000 (07:49 +0000)]
Correct typo in last commit.

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

22 years agoConsidering the overall goal of making APR and APR-util being used
Justin Erenkrantz [Mon, 13 May 2002 07:45:16 +0000 (07:45 +0000)]
Considering the overall goal of making APR and APR-util being used
out-of-tree, AP_LIBS can not be a PROGRAM_DEPENDENCY, but just a library
that we link against - therefore, it belongs under PROGRAM_LDADD.

(A program dependency implies that we can build it - that will not
always be the case with APR and APR-util.)

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

22 years agoApply same patch (nee hack) to mod_ssl as was done to mod_rewrite to
Justin Erenkrantz [Mon, 13 May 2002 07:38:30 +0000 (07:38 +0000)]
Apply same patch (nee hack) to mod_ssl as was done to mod_rewrite to
get cross-process mutex permissions working.

This is waiting for a proper APR interface, but this does not mean that
we should remain broken in the meantime.

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

22 years agoFix mod_deflate corruption when using multiple input buckets. We should
Justin Erenkrantz [Mon, 13 May 2002 07:11:01 +0000 (07:11 +0000)]
Fix mod_deflate corruption when using multiple input buckets.  We should
only clear *_out when we are the beginning or avail_out == 0.

Justin was tracking this down before he went to WWDC and didn't finish
before he left.  A (virtual) beer goes to Asada who filed this PR with
the right patch!

PR: 9014
Submitted by: kaz@asada.sytes.net (ASADA Kazuhisa)
Reviewed by: Justin Erenkrantz

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

22 years agoFix typo
Justin Erenkrantz [Mon, 13 May 2002 06:56:18 +0000 (06:56 +0000)]
Fix typo

(Someone with a good transform setup needs to run the transforms.)

PR: 9003
Submitted by: abatko@cs.mcgill.ca
Reviewed by: Justin Erenkrantz

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

22 years agoStart with a larger buffer size in ap_rgetline_core() to avoid
Brian Pane [Mon, 13 May 2002 06:45:07 +0000 (06:45 +0000)]
Start with a larger buffer size in ap_rgetline_core() to avoid
having to grow the buffer so often

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

22 years agoOptimization: modified the power-of-two allocator in ap_rgetline_core()
Brian Pane [Mon, 13 May 2002 06:16:31 +0000 (06:16 +0000)]
Optimization: modified the power-of-two allocator in ap_rgetline_core()
so that it converges on the new buffer size in a single iteration.

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

22 years agoStop trying to help apr and apr-util by installing their includes. They're
Justin Erenkrantz [Mon, 13 May 2002 05:49:50 +0000 (05:49 +0000)]
Stop trying to help apr and apr-util by installing their includes.  They're
smart enough to do so on their own.

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

22 years agoThe suexec arguments now start with --with.
Rich Bowen [Sun, 12 May 2002 23:53:42 +0000 (23:53 +0000)]
The suexec arguments now start with --with.
Note that there are also two arguments missing, according to ./configure
--help. Specifically, --with-suexec-bin and --with-suexec-umask. Can I
can add those in, if desired, but if someone more familiar with it could
do so, perhaps it would be a little more descriptive.
Obtained from: #apache on openprojects.net

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

22 years agoFaster, simpler code for form_header_field() on ASCII based
Brian Pane [Sun, 12 May 2002 21:50:46 +0000 (21:50 +0000)]
Faster, simpler code for form_header_field() on ASCII based
platforms

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

22 years agoFixed missing null-termination of ap_make_content_type() patterns list
Brian Pane [Sun, 12 May 2002 16:55:41 +0000 (16:55 +0000)]
Fixed missing null-termination of ap_make_content_type() patterns list

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

22 years agoAdded caching of formatted timestamps to speed up the access logger when
Brian Pane [Sun, 12 May 2002 08:09:13 +0000 (08:09 +0000)]
Added caching of formatted timestamps to speed up the access logger when
using standard time format

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

22 years agoRemove an extraneous loop condition
Brian Pane [Sun, 12 May 2002 03:59:31 +0000 (03:59 +0000)]
Remove an extraneous loop condition

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

22 years agoOptimization: skip cache setup in location_walk() if the vhost
Brian Pane [Sun, 12 May 2002 03:45:47 +0000 (03:45 +0000)]
Optimization: skip cache setup in location_walk() if the vhost
config contains no <Location> blocks

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

22 years agoOptimization: replaced apr_pstrcat+apr_strlen with apr_pstrcatv in
Brian Pane [Sun, 12 May 2002 01:18:28 +0000 (01:18 +0000)]
Optimization: replaced apr_pstrcat+apr_strlen with apr_pstrcatv in
basic_http_header()

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

22 years agoOptimization: Replaced apr_strcat() with apr_strcatv() in
Brian Pane [Sun, 12 May 2002 00:57:33 +0000 (00:57 +0000)]
Optimization: Replaced apr_strcat() with apr_strcatv() in
ap_make_content_type()

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

22 years agoAdded EnableMMAP directive to allow the server administrator to
Brian Pane [Sat, 11 May 2002 23:24:29 +0000 (23:24 +0000)]
Added EnableMMAP directive to allow the server administrator to
prevent mmap of file buckets upon read.

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

22 years agoavoid colliding with getline() as defined by glibc
Jeff Trawick [Fri, 10 May 2002 18:20:29 +0000 (18:20 +0000)]
avoid colliding with getline() as defined by glibc
(it breaks if you need to turn on _GNU_SOURCE)

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

22 years agoFix segfault triggered when the malloc() in find_entry() fails.
Bill Stoddard [Fri, 10 May 2002 17:15:35 +0000 (17:15 +0000)]
Fix segfault triggered when the malloc() in find_entry() fails.

Patch submitted by "Jean-Jacques Clar" <JJCLAR@novell.com>

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

22 years agoMoved ap_setup_make_content_type() declaration to http_protocol.h
Brian Pane [Fri, 10 May 2002 15:08:59 +0000 (15:08 +0000)]
Moved ap_setup_make_content_type() declaration to http_protocol.h

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

22 years agoFixed a segfault
Brian Pane [Fri, 10 May 2002 13:51:10 +0000 (13:51 +0000)]
Fixed a segfault

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

22 years agofix a build failure with some non-gcc compilers...
Jeff Trawick [Fri, 10 May 2002 10:56:43 +0000 (10:56 +0000)]
fix a build failure with some non-gcc compilers...

an example message: "The ":" operator is not allowed between
"const char*" and "int"."

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

22 years agomod_setenvif optimizations
Brian Pane [Fri, 10 May 2002 07:53:43 +0000 (07:53 +0000)]
mod_setenvif optimizations

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

22 years agoPerformance fix: When a BrowserMatch or SetEnvIf pattern doesn't
Brian Pane [Fri, 10 May 2002 07:51:16 +0000 (07:51 +0000)]
Performance fix: When a BrowserMatch or SetEnvIf pattern doesn't
actually require regular expression parsing, use a fast string search
instead.

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

22 years agoPerformance fix: replaced the strcasecmp calls in ap_make_content_type()
Brian Pane [Fri, 10 May 2002 06:47:13 +0000 (06:47 +0000)]
Performance fix: replaced the strcasecmp calls in ap_make_content_type()
with apr_strmatch()

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

22 years agoAddress PR 8963
William A. Rowe Jr [Fri, 10 May 2002 03:56:53 +0000 (03:56 +0000)]
Address PR 8963

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

22 years ago Afraid these are likely generated, just something to watch out for
William A. Rowe Jr [Fri, 10 May 2002 03:55:41 +0000 (03:55 +0000)]
  Afraid these are likely generated, just something to watch out for
  in the future.  Address PR 8963

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

22 years agoRemoved extraneous whitespace.
Cliff Woolley [Thu, 9 May 2002 18:53:40 +0000 (18:53 +0000)]
Removed extraneous whitespace.
PR: 8944
Submitted by: Alex Batko <abatko@cs.mcgill.ca>

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

22 years agoTypo patrol.
Joshua Slive [Thu, 9 May 2002 18:04:02 +0000 (18:04 +0000)]
Typo patrol.

PR: 8943

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

22 years agoThe default for DefaultType is text/plain, not text/html.
Joshua Slive [Thu, 9 May 2002 17:33:12 +0000 (17:33 +0000)]
The default for DefaultType is text/plain, not text/html.

PR: 8927

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

22 years agoMassive transform commit. Nothing to see here. Please move along.
Joshua Slive [Thu, 9 May 2002 16:14:27 +0000 (16:14 +0000)]
Massive transform commit.  Nothing to see here.  Please move along.

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

22 years agoA few directives where missing from the index because of some obscure xslt
Joshua Slive [Thu, 9 May 2002 16:12:06 +0000 (16:12 +0000)]
A few directives where missing from the index because of some obscure xslt
thing that I don't really understand ;-)

PR: 8938

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

22 years agoFix a mod_ssl build problem on OS/390.
Jeff Trawick [Thu, 9 May 2002 10:53:28 +0000 (10:53 +0000)]
Fix a mod_ssl build problem on OS/390.

This is admittedly rather ugly code to come up with a unique 4-byte
identifier for the thread.  Since our threads are pthreads and a pthread
maps 1:1 to a TCB, the address of the TCB is sufficient.   Yes, every
TCB sees a different piece of real storage mapped to the first page,
so the code does make sense.

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

22 years agoCorrect grammer.
Yoshiki Hayashi [Thu, 9 May 2002 06:17:30 +0000 (06:17 +0000)]
Correct grammer.

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

22 years agoAPR_PROC_MUTEX_IS_GLOBAL is the condition where apr_global_mutex_t
Jeff Trawick [Wed, 8 May 2002 13:19:54 +0000 (13:19 +0000)]
APR_PROC_MUTEX_IS_GLOBAL is the condition where apr_global_mutex_t
and apr_proc_mutex_t are interchangeable

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

22 years agoAdd transformation of mod_suexec.ja.xml.
Yoshiki Hayashi [Wed, 8 May 2002 08:09:17 +0000 (08:09 +0000)]
Add transformation of mod_suexec.ja.xml.

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

22 years agoFix if-modified-since on win32, I think. It should fix it in theory.
Cliff Woolley [Wed, 8 May 2002 02:17:04 +0000 (02:17 +0000)]
Fix if-modified-since on win32, I think.  It should fix it in theory.
Verification would be nice.  At least I know it still works on Unix.  ;)

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

22 years agoUse the ap_get_server_xxx() calls to return the info rather than short cutting it...
Bradley Nicholes [Tue, 7 May 2002 23:41:36 +0000 (23:41 +0000)]
Use the ap_get_server_xxx() calls to return the info rather than short cutting it with the server_rec.  This avoids port showing up as 0 and also respects the UseCanonicalName setting in the .conf file.

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

22 years agoComin' at ya from the WWDC with my thoughts
Justin Erenkrantz [Tue, 7 May 2002 23:30:17 +0000 (23:30 +0000)]
Comin' at ya from the WWDC with my thoughts

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

22 years agoChanging *any* default behavior is a bad idea without _very_ careful
Cliff Woolley [Tue, 7 May 2002 22:31:38 +0000 (22:31 +0000)]
Changing *any* default behavior is a bad idea without _very_ careful
consideration, IMO, as it can silently break existing configs.  Principle
of least astonishment applies.  Besides, the security argument is bubkus.
Security through obscurity at best, and hardly even that.

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

22 years agobleh... bad idea.
Greg Stein [Tue, 7 May 2002 19:21:49 +0000 (19:21 +0000)]
bleh... bad idea.

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

22 years agoAdded my vote on minimal server version reporting
Brian Pane [Tue, 7 May 2002 18:22:59 +0000 (18:22 +0000)]
Added my vote on minimal server version reporting

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

22 years agovote:change default config so that we only report our version instead
Ian Holsman [Tue, 7 May 2002 18:14:25 +0000 (18:14 +0000)]
vote:change default config so that we only report our version instead
of everything
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoFixed how the NetWare import and exports lists are accessed by the make files.
Bradley Nicholes [Tue, 7 May 2002 17:42:28 +0000 (17:42 +0000)]
Fixed how the NetWare import and exports lists are accessed by the make files.

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

22 years agoUpdated the NetWare import and exports lists for the caching modules
Bradley Nicholes [Tue, 7 May 2002 17:39:16 +0000 (17:39 +0000)]
Updated the NetWare import and exports lists for the caching modules

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

22 years agoAdded caching modules to the NetWare build project
Bradley Nicholes [Tue, 7 May 2002 17:38:06 +0000 (17:38 +0000)]
Added caching modules to the NetWare build project

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

22 years agoget proxy CONNECT to work on EBCDIC machines
Jeff Trawick [Tue, 7 May 2002 15:06:32 +0000 (15:06 +0000)]
get proxy CONNECT to work on EBCDIC machines

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

22 years agoget "make extraclean" and probably "make distclean" to work on AIX
Jeff Trawick [Tue, 7 May 2002 14:51:32 +0000 (14:51 +0000)]
get "make extraclean" and probably "make distclean" to work on AIX
again...  $(RM) isn't defined everywhere (GNU make built-in?), so
invoke rm the way we invoke it elsewhere in the makefile

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

22 years agoFix long-standing typo (as of 1.17 when mod_info was ported to apache-2.0):
Martin Kraemer [Tue, 7 May 2002 13:53:17 +0000 (13:53 +0000)]
Fix long-standing typo (as of 1.17 when mod_info was ported to apache-2.0):
The containers would be printed as
   <Name ...>
   </,Name>
instead of the proper termination
   </Name>
(or was it intended?)
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoFix win32 build breakage
Cliff Woolley [Tue, 7 May 2002 08:01:46 +0000 (08:01 +0000)]
Fix win32 build breakage

Submitted by:  Jerry Baker

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

22 years agoAdd DeflateBufferSize directive to replace hardcoded FILTER_BUFSIZE
Justin Erenkrantz [Tue, 7 May 2002 00:35:16 +0000 (00:35 +0000)]
Add DeflateBufferSize directive to replace hardcoded FILTER_BUFSIZE
definition.  Also speeds up ctx init since it takes the buffer and does
a malloc rather than a calloc on it.

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

22 years agoUpdate mod_deflate's documentation.
Justin Erenkrantz [Tue, 7 May 2002 00:33:22 +0000 (00:33 +0000)]
Update mod_deflate's documentation.

Note that this does NOT include the transformation since I can't find a
version of Xerces or Xalan which does not produce major diffs to what
we have checked in.  So, we need to standardize on a set of jars -
otherwise, if I were to commit what I get when running build.sh, it'd be
massive.  (I'd suggest a tarball of jars on the docs-project site or even
in http://httpd.apache.org/dev/dist somewhere.)

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

22 years agoReverse the hook ordering for mod_userdir and mod_alias so
Joshua Slive [Tue, 7 May 2002 00:17:11 +0000 (00:17 +0000)]
Reverse the hook ordering for mod_userdir and mod_alias so
that Alias/ScriptAlias will override Userdir.

PR: 8841
Reviewed by: Justin Erenkrantz

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

22 years agoUh, yeah, make this work.
Justin Erenkrantz [Tue, 7 May 2002 00:02:09 +0000 (00:02 +0000)]
Uh, yeah, make this work.

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

22 years agoFor those with just xalan-c, drop a hint on what to do.
Justin Erenkrantz [Mon, 6 May 2002 23:58:55 +0000 (23:58 +0000)]
For those with just xalan-c, drop a hint on what to do.

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

22 years agoIf we determine that we shouldn't be involved in this request, remove
Justin Erenkrantz [Mon, 6 May 2002 23:37:15 +0000 (23:37 +0000)]
If we determine that we shouldn't be involved in this request, remove
ourselves from the filter chain (so we don't duplicate this path
each time a brigade comes through).

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

22 years agoIt isn't a fatal condition if there is no lockfile name, so switch from
Justin Erenkrantz [Mon, 6 May 2002 22:59:56 +0000 (22:59 +0000)]
It isn't a fatal condition if there is no lockfile name, so switch from
APR_EINVAL to APR_SUCCESS.  (rewritelock_remove already returns SUCCESS in
this case.)

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

22 years agoMove mod_deflate from experimental to filters to represent our belief
Justin Erenkrantz [Mon, 6 May 2002 22:23:52 +0000 (22:23 +0000)]
Move mod_deflate from experimental to filters to represent our belief
in its stability.

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

22 years agoUpdate to reflect the release.
Sander Striker [Mon, 6 May 2002 22:14:09 +0000 (22:14 +0000)]
Update to reflect the release.

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

22 years agoProtect us from this dirty hack that gets SysV Sem working again
Aaron Bannert [Mon, 6 May 2002 21:00:50 +0000 (21:00 +0000)]
Protect us from this dirty hack that gets SysV Sem working again
on mod_rewrite. This, along with the original usage of a unix-only
function in mod_rewrite, is a temporary stopgap measure designed only
to workaround limitations in APR's handling of permission attributes.
It shall be removed as soon as that interface is improved.

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