]> granicus.if.org Git - apache/log
apache
22 years ago MAJOR charset encoding fixes. The file names and HTTP-Equiv tags are now
William A. Rowe Jr [Fri, 28 Sep 2001 16:55:49 +0000 (16:55 +0000)]
  MAJOR charset encoding fixes.  The file names and HTTP-Equiv tags are now
  in sync with the httpd-std.conf - and the ucs2/4 encodings are gone since
  utf8 is a universally recognized shorthand that sits much better in our
  tree [notice; these were _duplicate_ character sets, only in different
  byte encodings!]  Same with removing the duplicate .jis and .is-kr files.
  [I simply choose the one 'with link' over the one without, and fixed the
  links back to preFAQ as I picked.]

  Russian users, how many of the remaining five encodings are truly needed?

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

22 years ago Reintegrate proxy into the core build
William A. Rowe Jr [Fri, 28 Sep 2001 16:02:50 +0000 (16:02 +0000)]
  Reintegrate proxy into the core build

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

22 years ago Debug conf pool constness. This is a noop most of the time on most
William A. Rowe Jr [Fri, 28 Sep 2001 15:24:34 +0000 (15:24 +0000)]
  Debug conf pool constness.  This is a noop most of the time on most
  platforms, but it's only called twice per restart, so this is mostly
  harmless.

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

22 years agoRemove SMS from the error bucket. SMS is going away now, it isn't really
Ryan Bloom [Fri, 28 Sep 2001 13:48:43 +0000 (13:48 +0000)]
Remove SMS from the error bucket.  SMS is going away now, it isn't really
used anyplace anymore.
Submitted by: "Sander Striker" <striker@apache.org>

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

22 years agoNo fear of commit-ment.
Graham Leggett [Fri, 28 Sep 2001 10:41:30 +0000 (10:41 +0000)]
No fear of commit-ment.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoFix the "merge" behaviour of the ProxyErrorOverride directive.
Graham Leggett [Fri, 28 Sep 2001 10:33:39 +0000 (10:33 +0000)]
Fix the "merge" behaviour of the ProxyErrorOverride directive.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoSome style cleanups related to the ProxyErrorOverride function.
Graham Leggett [Fri, 28 Sep 2001 10:23:32 +0000 (10:23 +0000)]
Some style cleanups related to the ProxyErrorOverride function.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years ago Overhaul the compatibility with 1.3's subrequest and redirect processing.
William A. Rowe Jr [Fri, 28 Sep 2001 04:46:37 +0000 (04:46 +0000)]
  Overhaul the compatibility with 1.3's subrequest and redirect processing.

  Eliminate URI-centric phases in ap_process_request_internal() for pure
  file subrequests (that don't correspond to URI space.)  translate_name
  hook and location_walks are skipped for these requests.

  Moves the reset of the per_dir_config out of directory_walk into the
  internal request processing code, so that resources with alternate
  map_to_storage requirements start with clean r->server->lookup_defaults.

  Optimizes out the authn/authz of effectively identical subreqests and
  redirects, as the sub_req_lookup calls once did.  Unlike 1.3, we copy
  r->user and r->ap_auth_type from main/prev for the request's reference.

  Stop copying the subrequest's r->chunked flag (Rbb assured me it looked
  bogus, chunking is on the parent request) and clean out other #if 0'ed
  cruft we don't need to refer back to anymore.

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

22 years ago Remove the translate_name hack that caused Greg Ames some grief with
William A. Rowe Jr [Fri, 28 Sep 2001 04:35:59 +0000 (04:35 +0000)]
  Remove the translate_name hack that caused Greg Ames some grief with
  mod_rewrite.

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

22 years agoAllow support programs to be compiled against a static version
Ryan Bloom [Fri, 28 Sep 2001 04:19:39 +0000 (04:19 +0000)]
Allow support programs to be compiled against a static version
of libapr.  This allows the smaller support programs to be
relocated.

Submitted by: Aaron Bannert <aaron@clove.org>

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

22 years agoChange ProxyHTTPOverrideReturnedErrors command to ProxyErrorOverride
Victor J. Orlikowski [Thu, 27 Sep 2001 16:44:43 +0000 (16:44 +0000)]
Change ProxyHTTPOverrideReturnedErrors command to ProxyErrorOverride
Docs update to follow.
Submitted by: Ian Holsman <ianh@cnet.com>

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

22 years agoUpdate status of XHTML conversion.
Rich Bowen [Thu, 27 Sep 2001 11:20:29 +0000 (11:20 +0000)]
Update status of XHTML conversion.

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

22 years agoImmortal data should go in an immortal bucket, not a pool bucket. It would
Cliff Woolley [Thu, 27 Sep 2001 04:01:10 +0000 (04:01 +0000)]
Immortal data should go in an immortal bucket, not a pool bucket.  It would
still work in a pool bucket, but only by coincidence.  At the very least, a
pool bucket is way more overhead than this poor unsuspecting little CRLF
needs to get by.

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

22 years agochange command name so that it starts with 'Proxy'
Ian Holsman [Wed, 26 Sep 2001 19:58:10 +0000 (19:58 +0000)]
change command name so that it starts with 'Proxy'
fix the command so that it returns 'OK' instead of 'HTTP_OK'

PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoUpdate the mime.types file to the registered media types as
Mark J. Cox [Wed, 26 Sep 2001 08:25:14 +0000 (08:25 +0000)]
Update the mime.types file to the registered media types as
of 2001-09-25, and add mapping for xsl extension
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agohttpd.exp is a generated file, and therefore, it is generated into the
Ryan Bloom [Tue, 25 Sep 2001 15:58:52 +0000 (15:58 +0000)]
httpd.exp is a generated file, and therefore, it is generated into the
build directory, not the source directory.  When we go to use it, we
have to look in the build dir for it.

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

22 years agofix a gcc warning -- "/* within a comment"
Jeff Trawick [Tue, 25 Sep 2001 09:46:37 +0000 (09:46 +0000)]
fix a gcc warning -- "/* within a comment"

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

22 years agoClean the worker MPM a bit. This removes the idea of compiling worker
Ryan Bloom [Mon, 24 Sep 2001 23:03:42 +0000 (23:03 +0000)]
Clean the worker MPM a bit.  This removes the idea of compiling worker
with no threads.  That doesn't make any sense anyway.  Also, raise
HARD_SERVER_LIMIT to 16, from 8.

Submitted by: "Ian Holsman" <ianh@cnet.com>

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

22 years ago Another recent Win32 PSDK addition that we can cover for VC5 users.
William A. Rowe Jr [Mon, 24 Sep 2001 22:50:50 +0000 (22:50 +0000)]
  Another recent Win32 PSDK addition that we can cover for VC5 users.

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

22 years ago Solve a symbol from later PlatformSDK's that a VC5 user may or may not
William A. Rowe Jr [Mon, 24 Sep 2001 22:02:14 +0000 (22:02 +0000)]
  Solve a symbol from later PlatformSDK's that a VC5 user may or may not
  have installed.

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

22 years ago PATHEXT is a critial Win32 cmd.exe variable that declares _which_ extensions
William A. Rowe Jr [Mon, 24 Sep 2001 21:09:06 +0000 (21:09 +0000)]
  PATHEXT is a critial Win32 cmd.exe variable that declares _which_ extensions
  are given command-name status (such as .exe;.bat;.com;.cmd etc.)

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

22 years ago Joy, joy. Relax the rules, just a wee bit, and prepare to move the fatal
William A. Rowe Jr [Mon, 24 Sep 2001 21:07:06 +0000 (21:07 +0000)]
  Joy, joy.  Relax the rules, just a wee bit, and prepare to move the fatal
  ending to this filename-less request a bit later in the request cycle, to
  give older, ported modules more time to cope without implementing
  the map_to_storage hook.

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

22 years agoModify the standard config file to match to new semantics of MaxClients
Ryan Bloom [Mon, 24 Sep 2001 06:44:39 +0000 (06:44 +0000)]
Modify the standard config file to match to new semantics of MaxClients
for the Worker MPM
Submitted by:  Aaron Bannert <aaron@clove.org>

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

22 years agoFix MaxClients in the Worker MPM, so that it specifies the maximum
Ryan Bloom [Mon, 24 Sep 2001 06:42:12 +0000 (06:42 +0000)]
Fix MaxClients in the Worker MPM, so that it specifies the maximum
number of clients that can connect at the same time, instead of
specifying the maximum number of child processes.
Submitted by: Aaron Bannert <aaron@clove.org>

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

22 years agoPR:
brian [Mon, 24 Sep 2001 01:38:57 +0000 (01:38 +0000)]
PR:

Updated links.

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

22 years agoWe need to use the APR-generated libtool for building modules.
Justin Erenkrantz [Sun, 23 Sep 2001 18:01:15 +0000 (18:01 +0000)]
We need to use the APR-generated libtool for building modules.

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

22 years agorevert buckets sms phase 1 patch. the group wants to get rid of SMS, so
Cliff Woolley [Sat, 22 Sep 2001 22:37:04 +0000 (22:37 +0000)]
revert buckets sms phase 1 patch. the group wants to get rid of SMS, so
the buckets can't use it.  I'll implement a free-list scheme private
to the buckets next.  in the meanwhile we're back to using malloc/free
directly instead of via the std sms.

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

22 years agow3c tidy to convert to xhtml
Rich Bowen [Sat, 22 Sep 2001 19:39:26 +0000 (19:39 +0000)]
w3c tidy to convert to xhtml

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

22 years agow3c tidy to convert to xhtml. Please verify that foreign language files
Rich Bowen [Sat, 22 Sep 2001 19:18:26 +0000 (19:18 +0000)]
w3c tidy to convert to xhtml. Please verify that foreign language files
in here have not been screwed up.

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

22 years agoRan w3c tidy to convert to xhtml
Rich Bowen [Sat, 22 Sep 2001 19:14:10 +0000 (19:14 +0000)]
Ran w3c tidy to convert to xhtml

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

22 years agoRan tidy to convert to xhtml
Rich Bowen [Sat, 22 Sep 2001 19:12:40 +0000 (19:12 +0000)]
Ran tidy to convert to xhtml

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

22 years agoRan w3c tidy on these as 'tidy -mi -asxml' to get xhtml. Please verify,
Rich Bowen [Sat, 22 Sep 2001 18:53:20 +0000 (18:53 +0000)]
Ran w3c tidy on these as 'tidy -mi -asxml' to get xhtml. Please verify,
in particular, the non-english files, to make sure I did not screw
anything up. They look fine to me.

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

22 years ago By popular demand, the beginnings of an explanation of how the request
William A. Rowe Jr [Sat, 22 Sep 2001 16:48:01 +0000 (16:48 +0000)]
  By popular demand, the beginnings of an explanation of how the request
  phase runs in 2.0 (compared with 1.3.)

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

22 years ago Header abuse.
William A. Rowe Jr [Sat, 22 Sep 2001 16:39:22 +0000 (16:39 +0000)]
  Header abuse.

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

22 years ago Someone isn't coding enough html lately (me)
William A. Rowe Jr [Sat, 22 Sep 2001 16:37:29 +0000 (16:37 +0000)]
  Someone isn't coding enough html lately (me)

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

22 years ago Move API.html over to manual/developer, begin some cleanup.
William A. Rowe Jr [Sat, 22 Sep 2001 15:45:22 +0000 (15:45 +0000)]
  Move API.html over to manual/developer, begin some cleanup.

  Could a DoxyGen'er please update the guidlines in documenting.html?

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

22 years agokill -l requires the short version of the signal (without SIG prefix).
Justin Erenkrantz [Fri, 21 Sep 2001 14:57:43 +0000 (14:57 +0000)]
kill -l requires the short version of the signal (without SIG prefix).
(apachectl graceful was broken.)

The best way to do this is to change configure to internally represent
the signal without the SIG prefix and prepend SIG before substitution
(and export a version without the SIG prefix for apachectl).

This highlights why we want to move apachectl's core functionality into
httpd.

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

22 years agoSwitch proc_pthread to pthread for the AcceptMutex directive.
Justin Erenkrantz [Fri, 21 Sep 2001 14:29:33 +0000 (14:29 +0000)]
Switch proc_pthread to pthread for the AcceptMutex directive.

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

22 years ago AFAICT, we have never created server configs of _all_ modules for _all_
William A. Rowe Jr [Fri, 21 Sep 2001 06:23:29 +0000 (06:23 +0000)]
  AFAICT, we have never created server configs of _all_ modules for _all_
  contexts, only when they come up (e.g., a directive of that particular
  module is provided) with the except that vhost containers complete the
  initialization of all modules.  I haven't stepped this, but it appears
  to be correct.

  This patch assures we can merge two incomplete directory sections
  together.  They will (obviously) need to be merged with a LHS default,
  e.g. a vhost's or main server's default dir config.  That's fine, this
  just allows either the LHS or RHS value to be null, and for merging to
  still succeed.

Reported by:  Sander Striker <striker@apache.org>
Additional Analysis:  Doug MacEachern

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

22 years ago Additional enlightenment for users trying to understand win32 .bat scripts.
William A. Rowe Jr [Thu, 20 Sep 2001 20:50:15 +0000 (20:50 +0000)]
  Additional enlightenment for users trying to understand win32 .bat scripts.

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

22 years agoCurrently, when the map-to-storage handler for TRACE returns DONE, the
Jeff Trawick [Thu, 20 Sep 2001 17:54:51 +0000 (17:54 +0000)]
Currently, when the map-to-storage handler for TRACE returns DONE, the
caller -- ap_process_request_internal() -- catches that and returns
OK to its caller -- ap_process_request().  But ap_process_request(),
seeing OK, tries to run a handler.  It needs to skip that if the
request was completed in ap_process_request_internal().

Reviewed by: William A. Rowe, Jr.

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

22 years agoClean up a compile warning on AIX.
Victor J. Orlikowski [Thu, 20 Sep 2001 14:23:06 +0000 (14:23 +0000)]
Clean up a compile warning on AIX.

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

22 years agoAdd an extra parameter to all apr_proc_wait() calls for the new "exitcode"
Greg Stein [Thu, 20 Sep 2001 09:03:24 +0000 (09:03 +0000)]
Add an extra parameter to all apr_proc_wait() calls for the new "exitcode"
parameter. Pass NULL because we aren't interested in the value.

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

22 years agoAdded New Option 'HTTPProxyOverrideReturnedErrors' which lets the server override
Ian Holsman [Thu, 20 Sep 2001 05:34:50 +0000 (05:34 +0000)]
Added New Option 'HTTPProxyOverrideReturnedErrors' which lets the server override
the error pages returned from the proxied server and replace them with the standard
server error handling on the main server.

Reviewed by: Graham, Chuck

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

22 years agoUpdate doc for the SIGUSR1 change - we no longer use SIGWINCH except on
Justin Erenkrantz [Thu, 20 Sep 2001 03:05:32 +0000 (03:05 +0000)]
Update doc for the SIGUSR1 change - we no longer use SIGWINCH except on
Linux 2.0/glibc 2.0 which doesn't allow SIGUSR1 to be used by programs.

Feel free to change the wording.  I don't care.

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

22 years ago Accomodate the new server/util_time.c module on win32
William A. Rowe Jr [Wed, 19 Sep 2001 20:22:13 +0000 (20:22 +0000)]
  Accomodate the new server/util_time.c module on win32

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

22 years agoif we're gonna trash the connection due to a queue overflow, at the
Jeff Trawick [Wed, 19 Sep 2001 18:47:31 +0000 (18:47 +0000)]
if we're gonna trash the connection due to a queue overflow, at the
very least we should close the socket and write a log message (mostly
to aid debugging, as this is a showstopper problem)

this is no fix; there is a design issue to consider; hopefully this
will

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

22 years agoThere is still some stuff I'd like to do here, but I'll commit what
Joshua Slive [Wed, 19 Sep 2001 15:27:17 +0000 (15:27 +0000)]
There is still some stuff I'd like to do here, but I'll commit what
I have for the moment.  I've done three things:
1. Emphasize that auth does not need to be in .htaccess.
2. Add detailed discussion of each of the auth directives (does this
belong here?)
3. Remove the AuthGroupFile /dev/null which shouldn't be necessary.

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

22 years agoCouple small updates to dso.html
Joshua Slive [Wed, 19 Sep 2001 15:18:16 +0000 (15:18 +0000)]
Couple small updates to dso.html

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

22 years agoFinish some cleanup that Ryan started on dso.html:
Joshua Slive [Wed, 19 Sep 2001 14:49:34 +0000 (14:49 +0000)]
Finish some cleanup that Ryan started on dso.html:
- Add a sumary, index, ext
- put the most important stuff at the top
- remove some obsolete stuff

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

22 years agoThe call to apr_explode_localtime() in mod_log_config is one of the more
Justin Erenkrantz [Wed, 19 Sep 2001 06:53:26 +0000 (06:53 +0000)]
The call to apr_explode_localtime() in mod_log_config is one of the more
expensive operations in the httpd.  This patch attempts to reduce the
overhead by caching the result for 15 seconds.

Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Cliff Woolley, Ryan Bloom, Dean Gaudet, Justin Erenkrantz

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

22 years agoI was kinda hoping those (void)some_function() and (request_rec *)NULL
Cliff Woolley [Wed, 19 Sep 2001 06:34:11 +0000 (06:34 +0000)]
I was kinda hoping those (void)some_function() and (request_rec *)NULL
casts would go away before this committed, but alas I didn't say anything.
:-)  This gets rid of them and a few others just like them that I also
found in worker.c.

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

22 years agoOftentimes, I make no sense whatsoever.
Justin Erenkrantz [Wed, 19 Sep 2001 06:25:07 +0000 (06:25 +0000)]
Oftentimes, I make no sense whatsoever.
(Clean up comment, really...)

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

22 years agoFix case where an included file may change but the shtml file has not -
Justin Erenkrantz [Wed, 19 Sep 2001 06:20:32 +0000 (06:20 +0000)]
Fix case where an included file may change but the shtml file has not -
since we returned Last-Modified/ETag headers, we said that it was possibly
cacheable.  Wrong.

See RFC 2616 13.3.4 for more details (these are SHOULD/MAY clauses, so I
think we can discard them when we are dealing with dynamic data).

(Justin cleaned up the comment to cite RFC 2616.)

Submitted by: Ian Holsman <ianh@cnet.com>
Reviewed by: Justin Erenkrantz, Aaron Bannert, Brian Pane

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

22 years agoThis patch fixes a nasty bug in the worker MPM where the
Justin Erenkrantz [Wed, 19 Sep 2001 05:58:09 +0000 (05:58 +0000)]
This patch fixes a nasty bug in the worker MPM where the
state of the worker threads was not being reported back to the
scoreboard, and eventually all the threads running in the children
would be reported as being in the "C -- closing connection" state.
This would wreak havoc on the idle_server_maintenance() routine. Since
these threads would never be counted as idle, the server would
spawn children as fast as possible.

Submitted by: Aaron Bannert <aaron@clove.org>
Reviewed by: Justin Erenkrantz

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

22 years agoThis patch eliminates the wasteful run-time conversion of method names from
Justin Erenkrantz [Wed, 19 Sep 2001 05:52:42 +0000 (05:52 +0000)]
This patch eliminates the wasteful run-time conversion of method names from
strings to numbers in places where the methods are known at compile
time.

(Justin fixed the va_end() call to be correct.)

Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Justin Erenkrantz

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

22 years agoTurn the worker MPM's queue into a LIFO. This may
Ryan Bloom [Tue, 18 Sep 2001 23:09:12 +0000 (23:09 +0000)]
Turn the worker MPM's queue into a LIFO.  This may
improve cache-hit performance under some conditions.

Submitted by:   Aaron Bannert <aaron@clove.org>

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

22 years agoSwitch back to SIGUSR1 for graceful restarts on all platforms that
Justin Erenkrantz [Tue, 18 Sep 2001 22:13:59 +0000 (22:13 +0000)]
Switch back to SIGUSR1 for graceful restarts on all platforms that
support it.  This defines a symbol called AP_SIG_GRACEFUL in
ap_config_auto.h which will have the appropriate signal value.  All
direct references to SIGWINCH have been replaced with AP_SIG_GRACEFUL.

On Linux 2.0, use SIGWINCH instead since SIGUSR1 is used by glibc
2.0's user-space threading library to control threads.  All later
versions of Linux/glibc don't have this problem.  (Not to mention the
security holes in older Linux versions which make it unsuitable for
use as a web server.)  If your platform doesn't have SIGUSR1, use the
appropriate mojo in configure to define what your graceful restart
signal should be.

In theory, a configure switch could be added to allow the admin to
specify the appropriate signal that should be used.  This is left
as an exercise to the reader for now.

The docs need to be updated.  Since the signal is now configurable,
just saying SIGUSR1 for graceful restart isn't completely true.  Also,
the apachectl functionality needs to be moved into httpd - this is
what Win32 does and it makes us consistent across platforms.

Roy issued a veto against use of SIGWINCH by default, so this should
resolve that veto.

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

22 years agoCleanup the worker MPM. We no longer re-use transaction
Ryan Bloom [Tue, 18 Sep 2001 21:14:18 +0000 (21:14 +0000)]
Cleanup the worker MPM.  We no longer re-use transaction
pools.  This incurs less overhead than shuffling the pools
around so that they can be re-used.  Remove one of the
queue's condition variables.  We just redefined the API to
state that you can't try to add more stuff than you allocated
segments for.

Submitted by:   Aaron Bannert <aaron@clove.org>

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

22 years agoAllow VPATH builds for SSL.
Ryan Bloom [Tue, 18 Sep 2001 20:31:37 +0000 (20:31 +0000)]
Allow VPATH builds for SSL.
Submitted by:  Cody Sherr <csherr@covalent.net>

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

22 years agoIf we are going to have an optional function, we have to install that
Ryan Bloom [Tue, 18 Sep 2001 15:02:19 +0000 (15:02 +0000)]
If we are going to have an optional function, we have to install that
header file, so that people can use it.

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

22 years agoI always forget this file...
Greg Stein [Tue, 18 Sep 2001 09:06:33 +0000 (09:06 +0000)]
I always forget this file...

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

22 years agoSimplify dav_propdb_define_namespaces(); since we're putting the value in
Greg Stein [Tue, 18 Sep 2001 08:40:25 +0000 (08:40 +0000)]
Simplify dav_propdb_define_namespaces(); since we're putting the value in
the pool (now), forget the stack-based buffer altogether.

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

22 years agoRevamp the API that mod_dav uses to talk to back end deadprop (propdb)
Greg Stein [Tue, 18 Sep 2001 04:09:19 +0000 (04:09 +0000)]
Revamp the API that mod_dav uses to talk to back end deadprop (propdb)
providers. The old API was really based on how the FS stored properties, but
sucked for other types of providers (SQL databases, Subversion, etc). This
new code is overall much cleaner as it moves from a DBM style API to one
tuned for actual mod_dav operation; it also more flexible/clearer for future
improvements (e.g. dropping props directly to the wire rather than buffering
in memory).

This new API allows the provider to better define namespace handling during
the output of the values, how values are serialized and stored, the mapping
between elements' namespaces and the internalized namespace storage, a
clearer mechanism for naming properties (dav_prop_name), and an explicit
rollback mechanism to deal with PROPPATCH atomicity.

Updated the FS provider (fs/dbm.c) to the new API, mostly by moving code
from main/props.c. Of course, with the new semantics, some big changes in
the namespace mapping were made.

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

22 years agoNow that we have apr_datum_t, convert some uses of dav_datum over to
Greg Stein [Tue, 18 Sep 2001 03:55:41 +0000 (03:55 +0000)]
Now that we have apr_datum_t, convert some uses of dav_datum over to
apr_datum_t (the two are equivalent).

Expose some of the DAVFS' internal DBM cover functions and have the locking
code use them directly, rather than thru the vtable. That vtable will be
changing shortly, so this shift is needed.

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

22 years agoNeed to store the pool into the xmlns structure.
Greg Stein [Tue, 18 Sep 2001 03:46:13 +0000 (03:46 +0000)]
Need to store the pool into the xmlns structure.

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

22 years agoFix constness problem reported by gcc:
Cliff Woolley [Tue, 18 Sep 2001 03:33:30 +0000 (03:33 +0000)]
Fix constness problem reported by gcc:

mod_cgi.c: In function `include_cmd':
mod_cgi.c:812: warning: passing arg 1 of pointer to function from incompatible
pointer type

Reported by: Ian's autobuild

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

22 years agoDoxygenize this
Cliff Woolley [Tue, 18 Sep 2001 03:21:29 +0000 (03:21 +0000)]
Doxygenize this

Submitted by: Ian Holsman

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

22 years ago Here's the declaration for all to share. Don't expect many to use it.
William A. Rowe Jr [Mon, 17 Sep 2001 22:12:49 +0000 (22:12 +0000)]
  Here's the declaration for all to share.  Don't expect many to use it.

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

22 years ago Remove the Win32 script-processing exception from mod_cgi, and
William A. Rowe Jr [Mon, 17 Sep 2001 21:07:36 +0000 (21:07 +0000)]
   Remove the Win32 script-processing exception from mod_cgi, and
   roll build_command_line/build_argv_list into a unified, overrideable
   ap_cgi_build_command optional function.

   Eliminates a ton of Win32 cruft from core.c for registry parsing.
   Win32 (through the default handler, and newest changes to the
   apr_proc_create fn) continues to serve .bat/.exe files.  This is in
   preparation for adding modules/arch/win32/mod_win32 for scripts.

   Please review the mod_cgi.c behavior very carefully.

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

22 years agoAdd another improvement idea
Ken Coar [Mon, 17 Sep 2001 18:32:45 +0000 (18:32 +0000)]
Add another improvement idea

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

22 years agoImprove readibility (indenting)
Martin Kraemer [Mon, 17 Sep 2001 14:34:39 +0000 (14:34 +0000)]
Improve readibility (indenting)

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

22 years agoTemporary hack to ensure that the split results are within a brigade
Greg Stein [Mon, 17 Sep 2001 13:12:37 +0000 (13:12 +0000)]
Temporary hack to ensure that the split results are within a brigade
attached to the proper pool. Otherwise, ctx->b would end up associated with
the request pool, and the SOCKET bucket from the CORE_IN filter would get
cleared at request end (thus the next request would go to CORE_IN for more
data and get APR_EOF, and figured there were no more requests).

This section of code was only triggered when a request had a body. The
symptom was closing the connection (even though it should have been a
keepalive) after the response was sent.

For more info, see Message-ID on dev@: <20010917061613.B466@lyra.org>

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

22 years agoFound the persistent connection problem I've been observing. Nasty result of
Greg Stein [Mon, 17 Sep 2001 11:22:52 +0000 (11:22 +0000)]
Found the persistent connection problem I've been observing. Nasty result of
the problems in the input filter stack. Time to rejigger, per the
discussions we've had.

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

22 years agoChange the type to be consistent with wrowe's changes.
Justin Erenkrantz [Mon, 17 Sep 2001 02:53:01 +0000 (02:53 +0000)]
Change the type to be consistent with wrowe's changes.

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

22 years ago Nothing complains when I change these ints for consistency to apr_size_t.
William A. Rowe Jr [Mon, 17 Sep 2001 02:42:01 +0000 (02:42 +0000)]
  Nothing complains when I change these ints for consistency to apr_size_t.

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

22 years ago Time to kill mod_auth_db? More thoughts on using apr-util with auth_dbm.
William A. Rowe Jr [Mon, 17 Sep 2001 02:33:40 +0000 (02:33 +0000)]
  Time to kill mod_auth_db?  More thoughts on using apr-util with auth_dbm.

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

22 years ago Eliminate mod_tls references.
William A. Rowe Jr [Mon, 17 Sep 2001 01:28:39 +0000 (01:28 +0000)]
  Eliminate mod_tls references.

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

22 years agoMaxClients was incorrectly discussed as "MaxServers"
Rich Bowen [Sun, 16 Sep 2001 20:38:07 +0000 (20:38 +0000)]
MaxClients was incorrectly discussed as "MaxServers"

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

22 years agoAdded links to related directives, related modules.
Rich Bowen [Sun, 16 Sep 2001 20:12:16 +0000 (20:12 +0000)]
Added links to related directives, related modules.

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

22 years agoTypo in URL
Rich Bowen [Sun, 16 Sep 2001 19:57:04 +0000 (19:57 +0000)]
Typo in URL

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

22 years agoClose the same directive we open
Chuck Murcko [Sun, 16 Sep 2001 19:15:59 +0000 (19:15 +0000)]
Close the same directive we open

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

22 years agoComment about using a type-map file, rather than using MultiViews
Rich Bowen [Sun, 16 Sep 2001 03:39:15 +0000 (03:39 +0000)]
Comment about using a type-map file, rather than using MultiViews

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

22 years agoA chilly day in Charlottesville...
Cliff Woolley [Sat, 15 Sep 2001 19:18:59 +0000 (19:18 +0000)]
A chilly day in Charlottesville...

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

22 years agoFix test for ltconfig, m4 processing removes the square brackets.
Brian Havard [Sat, 15 Sep 2001 11:44:55 +0000 (11:44 +0000)]
Fix test for ltconfig, m4 processing removes the square brackets.
(I just happened to notice "-f: not found" while running configure)

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

22 years agoAdded the conf file template for NetWare
Bradley Nicholes [Fri, 14 Sep 2001 23:33:28 +0000 (23:33 +0000)]
Added the conf file template for NetWare

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

22 years agoAdded the HTTPD_ROOT path for NetWare
Bradley Nicholes [Fri, 14 Sep 2001 23:30:41 +0000 (23:30 +0000)]
Added the HTTPD_ROOT path for NetWare

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

22 years agoAdded NetWare to the #ifdef list
Bradley Nicholes [Fri, 14 Sep 2001 23:28:41 +0000 (23:28 +0000)]
Added NetWare to the #ifdef list

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

22 years agoAdded NetWare to the Win32 ifdef list
Bradley Nicholes [Fri, 14 Sep 2001 23:26:27 +0000 (23:26 +0000)]
Added NetWare to the Win32 ifdef list

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

22 years agorules.mk is found in the build directory, not the src dir.
Ryan Bloom [Fri, 14 Sep 2001 17:43:03 +0000 (17:43 +0000)]
rules.mk is found in the build directory, not the src dir.

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

22 years agoAllow make install to work when built with VPATH.
Ryan Bloom [Thu, 13 Sep 2001 22:19:13 +0000 (22:19 +0000)]
Allow make install to work when built with VPATH.

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

22 years agorules.mk is found in the builddir now.
Ryan Bloom [Thu, 13 Sep 2001 20:54:33 +0000 (20:54 +0000)]
rules.mk is found in the builddir now.

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

22 years agoAdded AP_DECLARE_DATA to unixd_config, so that it makes it into the exp file.
Victor J. Orlikowski [Thu, 13 Sep 2001 20:41:15 +0000 (20:41 +0000)]
Added AP_DECLARE_DATA to unixd_config, so that it makes it into the exp file.
Submitted by: Mark Nesbitt <mnesbitt@us.ibm.com>

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

22 years agoThis broke the build. Looking for a clean solution now.
Ryan Bloom [Thu, 13 Sep 2001 16:58:20 +0000 (16:58 +0000)]
This broke the build.  Looking for a clean solution now.

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

22 years agoGotta find rules.mk in the build directory, not the source.
Ryan Bloom [Thu, 13 Sep 2001 15:57:03 +0000 (15:57 +0000)]
Gotta find rules.mk in the build directory, not the source.

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

22 years agoRemove mod_tls from the Windows project file.
Ryan Bloom [Thu, 13 Sep 2001 15:22:31 +0000 (15:22 +0000)]
Remove mod_tls from the Windows project file.

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

22 years agorules.mk is stored in $(top_blddir). Without this change, VPATH builds
Ryan Bloom [Thu, 13 Sep 2001 06:49:09 +0000 (06:49 +0000)]
rules.mk is stored in $(top_blddir).  Without this change, VPATH builds
stop working.

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

22 years agoMention of logrotate as an alternative to HostnameLookups
Rich Bowen [Thu, 13 Sep 2001 04:37:20 +0000 (04:37 +0000)]
Mention of logrotate as an alternative to HostnameLookups

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

22 years agoRemove mod_tls. All of the filters in mod_tls can now be found in
Ryan Bloom [Wed, 12 Sep 2001 19:50:56 +0000 (19:50 +0000)]
Remove mod_tls.  All of the filters in mod_tls can now be found in
mod_ssl.  Also, mod_ssl is being kept up to date, while mod_tls is not,
so that if you use mod_tls, there are a lot of bugs, both security related,
and otherwise.

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

22 years agoRemove an error during configure. Libtool 1.4 doesn't have ltconfig.
Ryan Bloom [Wed, 12 Sep 2001 19:31:12 +0000 (19:31 +0000)]
Remove an error during configure.  Libtool 1.4 doesn't have ltconfig.

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