]> granicus.if.org Git - apache/log
apache
22 years agoRemoving old WML stuff from the ssl directory. These files are now just plain
Joshua Slive [Wed, 17 Apr 2002 21:20:25 +0000 (21:20 +0000)]
Removing old WML stuff from the ssl directory.  These files are now just plain
old html.

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

22 years agoFix seg fault when garbage collecting an expired entry. remove_entity
Bill Stoddard [Wed, 17 Apr 2002 18:52:32 +0000 (18:52 +0000)]
Fix seg fault when garbage collecting an expired entry.  remove_entity
should just remove the object from the cache and set the cleanup flag
in the object. decrement_refcount will clean the object up when the refcount
goes to zero.

Defect reported by Jean-Jacques Clar at Novell.

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

22 years ago Experimental patch that may mitigate (but not eliminate) the errors in
William A. Rowe Jr [Wed, 17 Apr 2002 16:39:12 +0000 (16:39 +0000)]
  Experimental patch that may mitigate (but not eliminate) the errors in
  [crit] (32538)An operation was attempted on something that is not a socket.
       : Parent: WSADuplicateSocket failed for socket ...
  if the particular stacks' bug is that it won't associate a handle as a
  socket if that handle was duped with DuplicateHandle().  Other bugs with
  unimplemented WSADuplicateSocket are not addressed by this patch.

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

22 years ago Introduced -E startup_logfile_name option to httpd to allow admins
William A. Rowe Jr [Wed, 17 Apr 2002 16:36:28 +0000 (16:36 +0000)]
 Introduced -E startup_logfile_name option to httpd to allow admins
     to begin logging errors immediately.  This provides Win32 users
     an alternative to sending startup errors to the event viewer, and
     allows other daemon tool authors an alternative to logging to stderr.

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

22 years agouse an independent pool for threads so that when we abandon them
Jeff Trawick [Wed, 17 Apr 2002 15:45:27 +0000 (15:45 +0000)]
use an independent pool for threads so that when we abandon them
during graceless termination the cleanups on pchild won't mess with
stuff they are still referencing

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

22 years agoWhen an exception in a worker thread initiates a child shutdown, get things
Brian Havard [Wed, 17 Apr 2002 14:55:20 +0000 (14:55 +0000)]
When an exception in a worker thread initiates a child shutdown, get things
moving sooner by sending a SIGHUP to the accept thread, breaking it out
of its accept/poll.

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

22 years agodon't call strchr(); we have a safer version -- ap_strchr_c()
Jeff Trawick [Wed, 17 Apr 2002 13:06:32 +0000 (13:06 +0000)]
don't call strchr(); we have a safer version -- ap_strchr_c()

Submitted by: Stas Bekman
Reviewed by: Jeff Trawick

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

22 years agoFix subreqs with non-defined Content-Types being served improperly.
Justin Erenkrantz [Wed, 17 Apr 2002 04:09:07 +0000 (04:09 +0000)]
Fix subreqs with non-defined Content-Types being served improperly.

If we do not know a C-T for a subreq, we *must* propogate that
non-knowledge upwards to the main request.

Previously, if you used a DirectoryIndex with a file without a C-T (say
.shtml without AddType), the r->content_type will be kept as
httpd/unix-directory when we promoted the subreq in mod_dir.  Since there
would be no handler on this file, ap_invoke_handler (config.c:355) would
set the handler to be httpd/unix-directory (which was the old C-T of the
dir).  This would then trigger the handler to become httpd/unix-directory.
mod_autoindex would then try to serve the request.  But, the filename
was propogated upwards by mod_dir's DirectoryIndex via
internal_fast_redirect - it would then return a 403 trying to generate a
mod_autoindex page for a file.

Now, we will use ap_default_type() which is correct.

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

22 years ago Tired of 'foo.h not found' messages in the build. Checked ms's docs,
William A. Rowe Jr [Wed, 17 Apr 2002 03:02:02 +0000 (03:02 +0000)]
  Tired of 'foo.h not found' messages in the build.  Checked ms's docs,
  seems xcopy's /y arg goes all the way back to Win95.  This shouldn't
  introduce any hassles.

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

22 years agoAdd warning message when selecting an experimental MPM.
Justin Erenkrantz [Tue, 16 Apr 2002 23:44:56 +0000 (23:44 +0000)]
Add warning message when selecting an experimental MPM.

While this message will scroll by without their reading it, we can
reasonably say that we warned them if they report errors.

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

22 years agoAdded support for the threadpool MPM
Brian Pane [Tue, 16 Apr 2002 23:39:09 +0000 (23:39 +0000)]
Added support for the threadpool MPM

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

22 years agoAnother experimental MPM derived from worker:
Brian Pane [Tue, 16 Apr 2002 23:37:06 +0000 (23:37 +0000)]
Another experimental MPM derived from worker:

The threadpool MPM implements Aaron Bannert's "time-space tradeoff"
design managing idle workers.  Rather than putting accepted connections
into a queue, the threadpool MPM keeps idle worker threads in a stack.
Its dedicated listener thread retrieves an idle worker from the stack
before accepting a connection.  If there are no idle workers, the
listener blocks until a worker becomes available before doing an accept.

In many ways, threadpool is also a variant of leader/follower.  They
both maintain a stack of idle threads.  The difference is that threadpool
has a dedicated listener thread, and leader/follower rotates the listening
responsibility among its worker threads.  In my initial testing, the
leader/follower MPM performs very well on multiprocessor Solaris 8 when
listening on a single port, but poorly when listening on multiple ports.
(I don't know why this is happening.  What I've found so far is that
when you add a poll on the listen socket(s) before the accept in the
leader/follower MPM, all the socket-related syscalls in the httpd get
slower.  My hypothesis is that the thread scheduler is making an optimal
decision about where (on what CPU) to run the newly awakened thread if
its first syscall is an accept, and a nonoptimal decision if its first
syscall is a poll.)  The threadpool MPM performs better with multiple
listener ports, and in my testing so far it looks competitive with
leader/follower when running with a single listener.

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

22 years agoMerge in latest GNU config.guess and config.sub files. Synchronize all
Justin Erenkrantz [Tue, 16 Apr 2002 08:49:03 +0000 (08:49 +0000)]
Merge in latest GNU config.guess and config.sub files.  Synchronize all
config.guess/config.sub files to be identical.  Previously, we had three
different versions of the guess files - now they are the same.

I attempted to merge in ASF changes that were marked and still needed.
Please verify that these work on your platform.  (Particular attention
is required for the IBM platforms.)

Part of PR 7818 stems from the fact that the bundled expat did not have an
included config.guess/config.sub.  Therefore, it would take the config.guess
from the system.  Icarus's autoconf/libtool is very old (2.13/1.3.5).  The
machine that was used to roll 2.0.32 had a recent autoconf/libtool which
explains the behavior that Sander saw in the PR.  Therefore, we now
explicitly provide a config.guess/.sub for the bundled expat so that
all of the versions are in sync.  This should minimize configuration
problems.

pcre was using a config.guess that was imported when Brian made the 3.9
import.  It did not have the Apache modifications, but seems to have
had the Darwin changes.  Go figure.  Sync it up as well.

PR: 7818
Obtained from: GNU FSF - ftp.gnu.org/gnu/config

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

22 years agoworker is not the default Unix MPM. [This statement has been in the docs
Cliff Woolley [Tue, 16 Apr 2002 06:13:48 +0000 (06:13 +0000)]
worker is not the default Unix MPM.  [This statement has been in the docs
ever since this was copy-and-pasted from the threaded MPM documentation,
and threaded *was* the default at one point.]

Reported by: kap@katchoo.org

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

22 years agoI doubt this was the intention.
Justin Erenkrantz [Tue, 16 Apr 2002 05:57:50 +0000 (05:57 +0000)]
I doubt this was the intention.

(Change 1.3->2.0)

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

22 years agoMove 100 - Continue support to the HTTP_IN filter so that filters
Justin Erenkrantz [Tue, 16 Apr 2002 05:50:37 +0000 (05:50 +0000)]
Move 100 - Continue support to the HTTP_IN filter so that filters
are guaranteed to support 100 - Continue logic without any
intervention.

This requires some reshuffling of the code in http_protocol.c so
that some static declarations are available early enough in the
code so that ap_http_filter can access them.

Note that we can not read the chunk until after (possibly) sending the
100.

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

22 years agoAdds support for reading trailers on input by exporting get_mime_headers
Justin Erenkrantz [Tue, 16 Apr 2002 05:43:09 +0000 (05:43 +0000)]
Adds support for reading trailers on input by exporting get_mime_headers
to ap_get_mime_headers and calling it in the appropriate place in
ap_http_filter.

showstoppers--;

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

22 years agoEliminated the extraneous code that caused each exiting worker to
Brian Pane [Tue, 16 Apr 2002 02:04:14 +0000 (02:04 +0000)]
Eliminated the extraneous code that caused each exiting worker to
wake up the next one in the list

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

22 years agoFix an uninitialized variable
Brian Pane [Mon, 15 Apr 2002 23:43:04 +0000 (23:43 +0000)]
Fix an uninitialized variable

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

22 years agoFixed some broken shutdown code
Brian Pane [Mon, 15 Apr 2002 23:11:51 +0000 (23:11 +0000)]
Fixed some broken shutdown code

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

22 years agoap_send_error_response: reset r->output filters to the protocol filters.
Greg Ames [Mon, 15 Apr 2002 20:42:45 +0000 (20:42 +0000)]
ap_send_error_response: reset r->output filters to the protocol filters.
The equivalent logic was deleted when request filters were renamed to
RESOURCE filters.  This fixes the seg faults that sometimes happen on
daedalus after a bogus 416 HTTP response is generated.

In this case, includes_filter had found an <!--#include virtual > tag, and
sent a brigade representing the data before it down the filter chain.  The
byterange filter generated the bogus 416.  ap_send_error_response essentially
starts over with a new response, but it didn't do anything to clean up the
filter chain.  So the same instance of the includes_filter got driven from the
top with the canned error text and and EOS bucket, which confused the heck
out of it.  It inserted a sentinel from the original brigade into the
error page brigade, causing problems further down the filter chain.

Submitted by: Greg Ames, Jeff Trawick

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

22 years agoFixing the link to the bug reporting page.
Bradley Nicholes [Mon, 15 Apr 2002 19:45:23 +0000 (19:45 +0000)]
Fixing the link to the bug reporting page.

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

22 years agoAdd some additional shutdown synchronization so that we don't get the OS
Bradley Nicholes [Mon, 15 Apr 2002 19:23:59 +0000 (19:23 +0000)]
Add some additional shutdown synchronization so that we don't get the OS
message to force the module to unload.

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

22 years agoBring the beos mpm into the new age with the new lock functions and some
David Reid [Mon, 15 Apr 2002 16:56:37 +0000 (16:56 +0000)]
Bring the beos mpm into the new age with the new lock functions and some
small corrections to get us building again.

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

22 years agoAdd note about closed PR. If a PR was filed, it's probably worthy to be
Justin Erenkrantz [Mon, 15 Apr 2002 03:03:43 +0000 (03:03 +0000)]
Add note about closed PR.  If a PR was filed, it's probably worthy to be
listed in CHANGES (IMHO).

I meant to include this with the vhost.c commit.
I am not doing good with commits today.  Grr.

PR: 7441

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

22 years agoAllow empty Host: header arguments.
Justin Erenkrantz [Mon, 15 Apr 2002 02:58:11 +0000 (02:58 +0000)]
Allow empty Host: header arguments.

Previously, request that sent:

GET / HTTP/1.1
Host:

would get a 400.  RFC 2616 specifically allows for a "blank" host field.

The read_request code properly handled this, but the fix_hostname in
vhost.c would cause the 400.  Now, simply return in fix_hostname when
we see a blank hostname rather than erroring out.

PR: 7441

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

22 years agoAck. That was bad. Revert this.
Justin Erenkrantz [Mon, 15 Apr 2002 00:44:30 +0000 (00:44 +0000)]
Ack.  That was bad.  Revert this.

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

22 years agoProperly substitute sbindir as httpd's location in apachectl.
Justin Erenkrantz [Mon, 15 Apr 2002 00:41:25 +0000 (00:41 +0000)]
Properly substitute sbindir as httpd's location in apachectl.

We install $(PROGRAMS) into $(sbindir) not $(bindir), so this is correct.

PR: 7840
Submitted by: Andreas Hasenack <andreas@netbank.com.br>
Reviewed by: Justin Erenkrantz

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

22 years agoRemove some leftover debug code that was closing an already-closed socket
Brian Pane [Mon, 15 Apr 2002 00:10:53 +0000 (00:10 +0000)]
Remove some leftover debug code that was closing an already-closed socket

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

22 years agoAddmodule doesn't exist in 2.0.
Joshua Slive [Sun, 14 Apr 2002 22:08:44 +0000 (22:08 +0000)]
Addmodule doesn't exist in 2.0.

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

22 years agoFix html comments in directive examples and defaults.
Joshua Slive [Sun, 14 Apr 2002 17:08:53 +0000 (17:08 +0000)]
Fix html comments in directive examples and defaults.

PR: 7832
Submitted by: sn@neopoly.com (Sven Neuhaus)

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

22 years agoLet people know what a "cgi-script" is and how to reference it.
Joshua Slive [Sun, 14 Apr 2002 16:57:46 +0000 (16:57 +0000)]
Let people know what a "cgi-script" is and how to reference it.

PR: 8037

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

22 years agoMessed up that last one. Here is the proper xhtml+xml type.
Joshua Slive [Sun, 14 Apr 2002 16:42:37 +0000 (16:42 +0000)]
Messed up that last one.  Here is the proper xhtml+xml type.

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

22 years agoAdd a couple requested (and properly registered) mime types.
Joshua Slive [Sun, 14 Apr 2002 16:40:38 +0000 (16:40 +0000)]
Add a couple requested (and properly registered) mime types.
See:
http://www.iana.org/assignments/media-types/application/
http://www.rfc-editor.org/rfc/rfc3236.txt
http://www.iana.org/assignments/media-types/image/vnd.djvu

PR: 7795,7969

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

22 years agofixed a typo
Brian Pane [Sun, 14 Apr 2002 09:21:43 +0000 (09:21 +0000)]
fixed a typo

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

22 years agoGet local address info in listener sockets initialized when constructed in
Brian Havard [Sun, 14 Apr 2002 08:38:15 +0000 (08:38 +0000)]
Get local address info in listener sockets initialized when constructed in
the child process from a descriptor passed from the parent. This fixed vhost
address matching.

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

22 years agoapr_bucket_alloc_create() now registers a cleanup that does a
Brian Havard [Sun, 14 Apr 2002 06:18:13 +0000 (06:18 +0000)]
apr_bucket_alloc_create() now registers a cleanup that does a
apr_bucket_alloc_destroy(). Don't double free by calling it explicitly.

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

22 years agoFixed a race condition
Brian Pane [Sun, 14 Apr 2002 00:31:43 +0000 (00:31 +0000)]
Fixed a race condition

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

22 years ago Respect the process_cgi argument
William A. Rowe Jr [Sat, 13 Apr 2002 22:34:16 +0000 (22:34 +0000)]
  Respect the process_cgi argument

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

22 years ago process_cgi is more descriptive than replace_cmd.
William A. Rowe Jr [Sat, 13 Apr 2002 20:42:35 +0000 (20:42 +0000)]
  process_cgi is more descriptive than replace_cmd.

  It also affects query_string args.

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

22 years ago The fix requires a bump
William A. Rowe Jr [Sat, 13 Apr 2002 19:58:04 +0000 (19:58 +0000)]
  The fix requires a bump

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

22 years ago If we have a registry command or a shebang line invocation, correct the
William A. Rowe Jr [Sat, 13 Apr 2002 19:55:00 +0000 (19:55 +0000)]
  If we have a registry command or a shebang line invocation, correct the
  invocation type to APR_PROGRAM_PATH so we will both search the path, and
  accept undecorated names, e.g. "perl" should be acceptable for "perl.exe".

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

22 years ago Wasted at least 20 minutes reparsing this code till I determined it's
William A. Rowe Jr [Sat, 13 Apr 2002 19:52:59 +0000 (19:52 +0000)]
  Wasted at least 20 minutes reparsing this code till I determined it's
  correct.  But make the sucker legible so noone else repeats the experience.

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

22 years ago In order for Win32 to accept the shebang line of #!perl so we 1) search
William A. Rowe Jr [Sat, 13 Apr 2002 19:50:46 +0000 (19:50 +0000)]
  In order for Win32 to accept the shebang line of #!perl so we 1) search
  the PATH and 2) resolve perl.exe for perl, we must add the progtype so
  we can override APR_PROGRAM with APR_PROGRAM_PATH.  This is the API change
  only for the cgi build command line option function.

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

22 years ago Correct const'ness of argv in all support apps, and use the new
William A. Rowe Jr [Sat, 13 Apr 2002 19:35:18 +0000 (19:35 +0000)]
  Correct const'ness of argv in all support apps, and use the new
  apr_app_initialize over apr_initialize for win32, and other platforms
  that may wish to tweak 'apr-ized' application support (e.g. Netware?)

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

22 years agoAdapt to the rename of apr_explode_localtime to apr_time_exp_lt in APR.
Sander Striker [Sat, 13 Apr 2002 12:02:38 +0000 (12:02 +0000)]
Adapt to the rename of apr_explode_localtime to apr_time_exp_lt in APR.

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

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

22 years agoFixed the shutdown logic
Brian Pane [Sat, 13 Apr 2002 07:00:32 +0000 (07:00 +0000)]
Fixed the shutdown logic

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

22 years agoToo many incomplete changes to the code base.
Roy T. Fielding [Sat, 13 Apr 2002 00:50:20 +0000 (00:50 +0000)]
Too many incomplete changes to the code base.

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

22 years agoNetWare binaries have been posted
Bradley Nicholes [Fri, 12 Apr 2002 23:12:26 +0000 (23:12 +0000)]
NetWare binaries have been posted

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

22 years agoReadjustment of where the bucket is being allocated now that they are being
Bradley Nicholes [Fri, 12 Apr 2002 22:11:44 +0000 (22:11 +0000)]
Readjustment of where the bucket is being allocated now that they are being
cleaned up.  Need to move the call to after apr_pool_clear() so that it doesn't
get cleanup too soon and never reallocated.

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

22 years agoBack out most of the previous commit, because part of it was useless and
Cliff Woolley [Fri, 12 Apr 2002 20:45:24 +0000 (20:45 +0000)]
Back out most of the previous commit, because part of it was useless and
part of it was vetoed.

Anybody know the sh-ism to compare timestamps on files?  That's what we
really need here.

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

22 years agoworker MPM: Fix a situation where a child exited without releasing
Jeff Trawick [Fri, 12 Apr 2002 19:58:52 +0000 (19:58 +0000)]
worker MPM: Fix a situation where a child exited without releasing
the accept mutex.  Depending on the OS and mutex mechanism this
could result in a hang.

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

22 years ago* make sure the -alpha name is not _inside_ the gzip (I have to try this and
Cliff Woolley [Fri, 12 Apr 2002 18:02:10 +0000 (18:02 +0000)]
* make sure the -alpha name is not _inside_ the gzip (I have to try this and
  to see if it works that way though)

* touch generated files to make sure we don't require the user to have the
  tools to rebuild them (eg, flex and yacc)

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

22 years agoTouch these files so that their datestamps are newer than the corresponding
Cliff Woolley [Fri, 12 Apr 2002 17:46:09 +0000 (17:46 +0000)]
Touch these files so that their datestamps are newer than the corresponding
.y and .l files.  These must be kept newer than those at all times to avoid
introducing a dependency on flex and yacc.

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

22 years agoupdate the instructions for how to get started with mod_example
Jeff Trawick [Fri, 12 Apr 2002 11:20:47 +0000 (11:20 +0000)]
update the instructions for how to get started with mod_example

Submitted by:  Stas Bekman

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

22 years ago Flip the order. If the user specifies ScriptInterpreterSource,
William A. Rowe Jr [Fri, 12 Apr 2002 06:35:15 +0000 (06:35 +0000)]
  Flip the order.  If the user specifies ScriptInterpreterSource,
  either Registry or RegistryStrict, test the registry in preference
  over a shebang line.  This is how 1.3 behaved, and allows scripts
  with invalid shebang lines (straight from another box, for example)
  to run without modification.

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

22 years agoAdded in the worker MPM's version of the POD code
Brian Pane [Fri, 12 Apr 2002 04:25:22 +0000 (04:25 +0000)]
Added in the worker MPM's version of the POD code

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

22 years agoswitch back to the worker's version of the pod code
Brian Pane [Fri, 12 Apr 2002 04:24:44 +0000 (04:24 +0000)]
switch back to the worker's version of the pod code

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

22 years agoAdded support for MPMs that live in subdirectories under server/mpm
Brian Pane [Fri, 12 Apr 2002 03:44:49 +0000 (03:44 +0000)]
Added support for MPMs that live in subdirectories under server/mpm
like server/mpm/experimental/*

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

22 years agoAdded support for MPMs that live in subdirectories under server/mpm
Brian Pane [Fri, 12 Apr 2002 03:37:01 +0000 (03:37 +0000)]
Added support for MPMs that live in subdirectories under server/mpm
like server/mpm/experimental/*

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

22 years agofixes to make it compile
Brian Pane [Fri, 12 Apr 2002 03:07:53 +0000 (03:07 +0000)]
fixes to make it compile

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

22 years agoinitial check-in of supporting code for leader/follower MPM
Brian Pane [Fri, 12 Apr 2002 03:06:48 +0000 (03:06 +0000)]
initial check-in of supporting code for leader/follower MPM

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

22 years agoJustin is off to a new adventure...
Justin Erenkrantz [Fri, 12 Apr 2002 03:02:39 +0000 (03:02 +0000)]
Justin is off to a new adventure...

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

22 years agoChange httpd.pid placement to rel_runtimedir instead of rel_logfiledir.
Justin Erenkrantz [Fri, 12 Apr 2002 01:08:40 +0000 (01:08 +0000)]
Change httpd.pid placement to rel_runtimedir instead of rel_logfiledir.
With the standard apache layout, this changes nothing (since runtimedir ==
logfiledir), but for other layouts, this makes a lot more sense.

PR: 7841
Submitted by:   Andreas Hasenack <andreas@netbank.com.br>
Reviewed by:    Justin Erenkrantz

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

22 years agoInitial check-in of leader-follower MPM code, derived from worker
Brian Pane [Thu, 11 Apr 2002 22:33:57 +0000 (22:33 +0000)]
Initial check-in of leader-follower MPM code, derived from worker

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

22 years agoA *major* upgrade for the dump_brigade and dump_bucket gdb macros.
Cliff Woolley [Thu, 11 Apr 2002 04:39:05 +0000 (04:39 +0000)]
A *major* upgrade for the dump_brigade and dump_bucket gdb macros.

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

22 years agoignore generated file httpd-std.conf
Jeff Trawick [Wed, 10 Apr 2002 18:49:00 +0000 (18:49 +0000)]
ignore generated file httpd-std.conf

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

22 years agoClosed up some holes where a thread could escape and exit without releasing
Bradley Nicholes [Wed, 10 Apr 2002 17:13:32 +0000 (17:13 +0000)]
Closed up some holes where a thread could escape and exit without releasing
the mutex.  This would leave all of the other threads deadlocked.

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

22 years agoThe accept loop was sleeping way too long when we ran out of completion contexts.
Bill Stoddard [Wed, 10 Apr 2002 17:02:00 +0000 (17:02 +0000)]
The accept loop was sleeping way too long when we ran out of completion contexts.
All that is really necessary is that the accept look yield the rest of its time slice
when this condition is hit.

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

22 years agoOoops. Don't whack our ptrans pool.
Bill Stoddard [Wed, 10 Apr 2002 15:17:42 +0000 (15:17 +0000)]
Ooops. Don't whack our ptrans pool.

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

22 years agoMove the socket info initialization into the winnt_accept() loop (this more closely
Bill Stoddard [Wed, 10 Apr 2002 14:52:38 +0000 (14:52 +0000)]
Move the socket info initialization into the winnt_accept() loop (this more closely
follows Apaches socket abstraction design principles).  Made similar change to
Win9x code to keep that OS working. Reuse the ptrans pool across transactions.

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

22 years agoGet rid of hungarian notation. No function change.
Bill Stoddard [Wed, 10 Apr 2002 13:54:55 +0000 (13:54 +0000)]
Get rid of hungarian notation. No function change.

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

22 years ago Time for sleep
William A. Rowe Jr [Wed, 10 Apr 2002 03:54:31 +0000 (03:54 +0000)]
  Time for sleep

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

22 years agoLinuxPPC binaries uploaded...
Graham Leggett [Tue, 9 Apr 2002 21:28:03 +0000 (21:28 +0000)]
LinuxPPC binaries uploaded...
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoConvert mod_ssl to the new apr_global_mutex.h API and remove all
Aaron Bannert [Tue, 9 Apr 2002 15:53:09 +0000 (15:53 +0000)]
Convert mod_ssl to the new apr_global_mutex.h API and remove all
uses of apr_lock.h [deprecated]. Tested that I could serve simple
SSL (v3) pages.

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

22 years ago Eliminate cyclic dependency that broke 2.0.35 command line build
William A. Rowe Jr [Tue, 9 Apr 2002 15:36:42 +0000 (15:36 +0000)]
  Eliminate cyclic dependency that broke 2.0.35 command line build

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

22 years agomove a loop-invariant computation out of the thread loop and
Jeff Trawick [Tue, 9 Apr 2002 11:18:41 +0000 (11:18 +0000)]
move a loop-invariant computation out of the thread loop and
at the same time quiet a gcc warning (it assumed that thread_limit
could be zero, which would leave ps_record uninitialized when
referenced after the end of the thread loop)

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

22 years agoget the strchr() declaration
Jeff Trawick [Tue, 9 Apr 2002 11:12:10 +0000 (11:12 +0000)]
get the strchr() declaration

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

22 years agoNote a bug fix in apr-util.
Brian Havard [Tue, 9 Apr 2002 09:45:04 +0000 (09:45 +0000)]
Note a bug fix in apr-util.

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

22 years agoProxy was bombing out every second keepalive request, caused by a
Graham Leggett [Tue, 9 Apr 2002 09:39:04 +0000 (09:39 +0000)]
Proxy was bombing out every second keepalive request, caused by a
stray CRLF before the second response's status line. Proxy now
tries to read one more line if it encounters a CRLF where it
expected a status.
PR: 10010
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoDeprecated the apr_lock.h API.
Aaron Bannert [Tue, 9 Apr 2002 07:41:55 +0000 (07:41 +0000)]
Deprecated the apr_lock.h API.

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

22 years ago Compiler/platform bogosity is apr's job.
William A. Rowe Jr [Tue, 9 Apr 2002 07:18:00 +0000 (07:18 +0000)]
  Compiler/platform bogosity is apr's job.

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

22 years agoRemove many unnecessary includes, incl. apr_lock.h
Aaron Bannert [Tue, 9 Apr 2002 06:49:18 +0000 (06:49 +0000)]
Remove many unnecessary includes, incl. apr_lock.h

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

22 years agoRemove unnecessary includes of apr_lock.h
Aaron Bannert [Tue, 9 Apr 2002 06:48:31 +0000 (06:48 +0000)]
Remove unnecessary includes of apr_lock.h

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

22 years agoRemove uses of apr_lock.h. This patch is untested, but I don't see where
Aaron Bannert [Tue, 9 Apr 2002 06:47:25 +0000 (06:47 +0000)]
Remove uses of apr_lock.h. This patch is untested, but I don't see where
the apr_lock.h include was necessary anyway.

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

22 years agoPR:
Doug MacEachern [Tue, 9 Apr 2002 01:55:44 +0000 (01:55 +0000)]
PR:
Obtained from:
Submitted by:   Ryan Morgan <rmorgan@covalent.net>
Reviewed by: dougm, jimjag
Change mod_status to use scoreboard accessor functions so it can
be used in any MPM without having to be recompiled.

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

22 years ago Correct a simple typo
William A. Rowe Jr [Tue, 9 Apr 2002 00:12:40 +0000 (00:12 +0000)]
  Correct a simple typo

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

22 years agoproblem already fixed in 2.0.36-dev
Jeff Trawick [Mon, 8 Apr 2002 23:56:58 +0000 (23:56 +0000)]
problem already fixed in 2.0.36-dev

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

22 years agomention the fix for parsing certain AP_DECLARE_DATA decls;
Jeff Trawick [Mon, 8 Apr 2002 23:32:13 +0000 (23:32 +0000)]
mention the fix for parsing certain AP_DECLARE_DATA decls;
for some platforms that fix is crucial

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

22 years agoFix export of variables that have "extern" before their AP_DECLARE_DATA.
Bradley Nicholes [Mon, 8 Apr 2002 22:08:34 +0000 (22:08 +0000)]
Fix export of variables that have "extern" before their AP_DECLARE_DATA.
This includes ap_subreq_core_filter_handle which mod_autoindex.c now needs.

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

22 years ago"FINAL" is ... well, too final.
Bill Stoddard [Mon, 8 Apr 2002 19:52:26 +0000 (19:52 +0000)]
"FINAL" is ... well, too final.

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

22 years ago2.0.36 showstoppers
Bill Stoddard [Mon, 8 Apr 2002 19:51:12 +0000 (19:51 +0000)]
2.0.36 showstoppers

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

22 years agoRed Hat 7.0 and 7.2 builds for i686 are in place.
Aaron Bannert [Mon, 8 Apr 2002 19:14:41 +0000 (19:14 +0000)]
Red Hat 7.0 and 7.2 builds for i686 are in place.

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

22 years agoanother todo
Doug MacEachern [Mon, 8 Apr 2002 19:07:58 +0000 (19:07 +0000)]
another todo

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

22 years ago Well, soon I hope - but yes, I'm on it.
William A. Rowe Jr [Mon, 8 Apr 2002 18:41:00 +0000 (18:41 +0000)]
  Well, soon I hope - but yes, I'm on it.

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

22 years agoPR:
Doug MacEachern [Mon, 8 Apr 2002 18:38:56 +0000 (18:38 +0000)]
PR:
Obtained from:
Submitted by: Daniel Lopez <daniel@covalent.net>
Reviewed by: dougm, rbb
add optional fixup hook to proxy

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

22 years agoAIX binaries on the way (compile and link god willing)
Bill Stoddard [Mon, 8 Apr 2002 18:19:06 +0000 (18:19 +0000)]
AIX binaries on the way (compile and link god willing)

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

22 years agoFreeBSD 4.5 and Solaris8/i386 binaries available.
Aaron Bannert [Mon, 8 Apr 2002 17:59:30 +0000 (17:59 +0000)]
FreeBSD 4.5 and Solaris8/i386 binaries available.

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

22 years agoRemind the admin about the User and Group directives when we are
Jeff Trawick [Mon, 8 Apr 2002 16:57:06 +0000 (16:57 +0000)]
Remind the admin about the User and Group directives when we are
unable to set permissions on a semaphore.

PR:    7812

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

22 years agoJust added
Jim Jagielski [Mon, 8 Apr 2002 16:41:04 +0000 (16:41 +0000)]
Just added

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