]> granicus.if.org Git - apache/log
apache
22 years agoFix the links for the PidFile directive in stopping.html and
Cliff Woolley [Fri, 17 May 2002 18:24:07 +0000 (18:24 +0000)]
Fix the links for the PidFile directive in stopping.html and
add mpm_common and mod_cache to index-bytype.html (which, by the way,
is clearly the abused stepsister of index.xml/index.html... we should
find some automated way to generate the index-bytype as we have with the
regular index).

PR:  9187
Reported by:  Max Dittrich <amax@cs.tu-berlin.de>

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

22 years agoprevent possible segv in ssl_init_CheckServers if s->addrs is NULL.
Doug MacEachern [Fri, 17 May 2002 18:21:12 +0000 (18:21 +0000)]
prevent possible segv in ssl_init_CheckServers if s->addrs is NULL.
for example: <VirtualHost *:>, for which the core only spits out a warning:
 Name or service not known: Cannot resolve host name *: --- ignoring!

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

22 years agoWe are going to need to use the file.xml.ja order, because multiviews will not
Joshua Slive [Fri, 17 May 2002 17:27:19 +0000 (17:27 +0000)]
We are going to need to use the file.xml.ja order, because multiviews will not
work the other way.

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

22 years agoMissed this in the last commit. The content here is almost identical to
Joshua Slive [Fri, 17 May 2002 17:25:15 +0000 (17:25 +0000)]
Missed this in the last commit.  The content here is almost identical to
the content of manual.xsl, which was just removed.

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

22 years agoChange the way language-dependent xslt works. Now a different
Joshua Slive [Fri, 17 May 2002 17:24:41 +0000 (17:24 +0000)]
Change the way language-dependent xslt works.  Now a different
stylesheet must be used for different languages.  The language-dependent
stylesheets simply include the appropriate language settings and then
include common.xsl to get the real stylesheet.

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

22 years agoSpelling corrections.
Rich Bowen [Fri, 17 May 2002 17:06:27 +0000 (17:06 +0000)]
Spelling corrections.

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

22 years agoget binbuild working again, and zap the BinaryDistribution layout
Jeff Trawick [Fri, 17 May 2002 14:49:31 +0000 (14:49 +0000)]
get binbuild working again, and zap the BinaryDistribution layout
at the same time

a few days ago the configure syntax for specifying a layout was fixed
in binbuild.sh, but the layout was broken...  it turns out that we
don't need the layout

with Apache 1.3, a separate layout for binary builds was necessary
in order to install under any prefix specified by the user

with Apache 2.0, that works without any special tricks so the
BinaryDistribution layout is no longer necessary

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

22 years agostop using APLOG_NOERRNO in calls to ap_log_[pr]error()
Jeff Trawick [Fri, 17 May 2002 11:33:10 +0000 (11:33 +0000)]
stop using APLOG_NOERRNO in calls to ap_log_[pr]error()

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

22 years agostop using APLOG_NOERRNO in calls to ap_log_[pr]error()
Jeff Trawick [Fri, 17 May 2002 11:24:17 +0000 (11:24 +0000)]
stop using APLOG_NOERRNO in calls to ap_log_[pr]error()

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

22 years agostop using APLOG_NOERRNO in calls to ap_log_?error()
Jeff Trawick [Fri, 17 May 2002 11:11:39 +0000 (11:11 +0000)]
stop using APLOG_NOERRNO in calls to ap_log_?error()

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

22 years agoignore APLOG_NOERRNO; note that it is deprecated
Jeff Trawick [Fri, 17 May 2002 10:48:06 +0000 (10:48 +0000)]
ignore APLOG_NOERRNO; note that it is deprecated

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

22 years agoThis is a debug message
Bill Stoddard [Fri, 17 May 2002 03:05:40 +0000 (03:05 +0000)]
This is a debug message

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

22 years agoWin32: Shutdown the accept/listen threads a bit more gracefully.
Bill Stoddard [Fri, 17 May 2002 02:48:00 +0000 (02:48 +0000)]
Win32: Shutdown the accept/listen threads a bit more gracefully.

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

22 years agoAdded EnableMMAP (commented out) to the standard config
Brian Pane [Fri, 17 May 2002 01:43:52 +0000 (01:43 +0000)]
Added EnableMMAP (commented out) to the standard config

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

22 years ago Prepare for Thom's real patch... this is a detabify only
William A. Rowe Jr [Thu, 16 May 2002 19:57:11 +0000 (19:57 +0000)]
  Prepare for Thom's real patch... this is a detabify only
  [passes cvs diff -w with no changes.]

Submitted by:  Thom May <thom@planetarytramp.net>

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

22 years agoTwo other quick changes needed for XHTML 1.0 validation.
Cliff Woolley [Thu, 16 May 2002 19:13:31 +0000 (19:13 +0000)]
Two other quick changes needed for XHTML 1.0 validation.

Submitted by:  validator.w3.org

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

22 years ago An absolutely unnecessary hack around MSVC emits that the symbol may
William A. Rowe Jr [Thu, 16 May 2002 19:12:02 +0000 (19:12 +0000)]
  An absolutely unnecessary hack around MSVC emits that the symbol may
  not have been initialized.  [Of course it was initialized, the same
  code protects both it's initialization and reset.]

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

22 years agoFix html validation.
Cliff Woolley [Thu, 16 May 2002 19:09:26 +0000 (19:09 +0000)]
Fix html validation.

Submitted by: Jerry Baker

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

22 years agoThe group consensus was that we're no longer supporting "make certificate,"
Cliff Woolley [Thu, 16 May 2002 19:05:24 +0000 (19:05 +0000)]
The group consensus was that we're no longer supporting "make certificate,"
as test certificates just allow people who don't know what they're doing
to dig a bigger hole for themselves and don't really help anybody who
DOES know what they're doing much.  So all of the documentation references
to "make certificate" are now removed.

PR: 8724

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

22 years agoPass sconf into the cleanup...
Bill Stoddard [Thu, 16 May 2002 18:42:58 +0000 (18:42 +0000)]
Pass sconf into the cleanup...

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

22 years ago Fix CoInitialize/CoUninitialize missing symbols, reported by Jerry Baker.
William A. Rowe Jr [Thu, 16 May 2002 16:40:54 +0000 (16:40 +0000)]
  Fix CoInitialize/CoUninitialize missing symbols, reported by Jerry Baker.

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

22 years agotweak an error message for readability
Jeff Trawick [Thu, 16 May 2002 10:45:22 +0000 (10:45 +0000)]
tweak an error message for readability

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

22 years agoNew Japanese translation.
Yoshiki Hayashi [Thu, 16 May 2002 07:41:48 +0000 (07:41 +0000)]
New Japanese translation.

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

22 years agoTransformations done with Xalan-J.
Justin Erenkrantz [Thu, 16 May 2002 06:53:47 +0000 (06:53 +0000)]
Transformations done with Xalan-J.

(No one could reproduce the transformations that were in CVS, so regenerate
the entire shabang.)

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

22 years agoAnt is horribly broken for me and can't complete an entire build here without
Justin Erenkrantz [Thu, 16 May 2002 06:49:14 +0000 (06:49 +0000)]
Ant is horribly broken for me and can't complete an entire build here without
producing an "IndexOutOfBounds" exception (no stack trace), so provide info
for Xalan-J make.  (Assumes you have Xalan-J stuff in your CLASSPATH.)

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

22 years agoFix typo.
Yoshiki Hayashi [Thu, 16 May 2002 06:49:03 +0000 (06:49 +0000)]
Fix typo.

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

22 years agoRemove SSLLog and SSLLogLevel directives in favor of having mod_ssl use the
Justin Erenkrantz [Thu, 16 May 2002 06:09:13 +0000 (06:09 +0000)]
Remove SSLLog and SSLLogLevel directives in favor of having mod_ssl use the
standard ErrorLog directives.

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

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