]> granicus.if.org Git - apache/log
apache
24 years agoMake the Unix MPMs not clean the scoreboard on a graceful restart. This
Ryan Bloom [Mon, 31 Jul 2000 01:39:54 +0000 (01:39 +0000)]
Make the Unix MPMs not clean the scoreboard on a graceful restart.  This
compiles, but it hasn't actually been tested yet.

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

24 years agoGet dsos working again by including $(LTFLAGS) on the command-line for
Jeff Trawick [Sun, 30 Jul 2000 23:06:57 +0000 (23:06 +0000)]
Get dsos working again by including $(LTFLAGS) on the command-line for
the --mode=link invocations of libtool/shlibtool.  The lack of LTFLAGS
resulted in no -export-dynamic, and dsos couldn't resolve symbols in
httpd.

LTFLAGS was lost in the 1.23 revision of rules.mk.

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

24 years agoFinish the http_config.h documentation. :-)
Ryan Bloom [Sun, 30 Jul 2000 18:25:46 +0000 (18:25 +0000)]
Finish the http_config.h documentation.  :-)

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

24 years agoAdd more of the comments to http_config.h. This is a horrible job by the
Ryan Bloom [Sun, 30 Jul 2000 17:28:31 +0000 (17:28 +0000)]
Add more of the comments to http_config.h.  This is a horrible job by the
way.

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

24 years agoWireless LANs are soooooo cool. Oh, and the weather was ummm,
Manoj Kasichainula [Sun, 30 Jul 2000 12:27:03 +0000 (12:27 +0000)]
Wireless LANs are soooooo cool. Oh, and the weather was ummm,
something today too...

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

24 years agoEliminate references to specific MPMs from mpm_common.c by having the
Manoj Kasichainula [Sun, 30 Jul 2000 12:03:48 +0000 (12:03 +0000)]
Eliminate references to specific MPMs from mpm_common.c by having the
MPMs export interfaces to the tables used to keep track of children.

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

24 years agoChange semantics of ap_child_table somewhat. Instead of checking for a
Manoj Kasichainula [Sun, 30 Jul 2000 11:49:29 +0000 (11:49 +0000)]
Change semantics of ap_child_table somewhat. Instead of checking for a
dead process with status == SERVER_DEAD, check with pid == 0. This
makes somewhat more sense conceptually, and also matches the behavior
of MPMs that use a shmem scoreboard to track children.

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

24 years agoFix a couple of apparent typos.
Manoj Kasichainula [Sun, 30 Jul 2000 09:10:30 +0000 (09:10 +0000)]
Fix a couple of apparent typos.

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

24 years agoUp HARD_THREAD_LIMIT. Handle it correctly in mpm_winnt.c
Bill Stoddard [Sun, 30 Jul 2000 04:53:33 +0000 (04:53 +0000)]
Up HARD_THREAD_LIMIT. Handle it correctly in mpm_winnt.c

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

24 years agomod_file_cache docco
Bill Stoddard [Sun, 30 Jul 2000 04:12:37 +0000 (04:12 +0000)]
mod_file_cache docco

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

24 years agoUse ap_dso_error() instead of ap_strerror() when ap_dso_sym() fails.
Jeff Trawick [Sun, 30 Jul 2000 02:03:42 +0000 (02:03 +0000)]
Use ap_dso_error() instead of ap_strerror() when ap_dso_sym() fails.

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

24 years agoBegin to document http_config.h. This documents most (if not all) of the
Ryan Bloom [Sat, 29 Jul 2000 21:05:40 +0000 (21:05 +0000)]
Begin to document http_config.h.  This documents most (if not all) of the
structures defined by this header file.  The functions will be the next
thing that needs documenting.

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

24 years agoMove the Server Token stuff out of http_config_globals.h because it is
Ryan Bloom [Sat, 29 Jul 2000 19:50:08 +0000 (19:50 +0000)]
Move the Server Token stuff out of http_config_globals.h because it is
now isolated in http_core.c

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

24 years agoMissed the footer
Bill Stoddard [Sat, 29 Jul 2000 19:49:43 +0000 (19:49 +0000)]
Missed the footer

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

24 years ago1.3 -> 2.0
Bill Stoddard [Sat, 29 Jul 2000 19:47:47 +0000 (19:47 +0000)]
1.3 -> 2.0

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

24 years agoCopy some 1.3 doc to 2.0
Bill Stoddard [Sat, 29 Jul 2000 19:43:35 +0000 (19:43 +0000)]
Copy some 1.3 doc to 2.0

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

24 years agoDocument ap_mpm.h using ScanDoc.
Ryan Bloom [Sat, 29 Jul 2000 18:49:51 +0000 (18:49 +0000)]
Document ap_mpm.h using ScanDoc.

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

24 years agoDocument ap_mmn.h using ScanDoc
Ryan Bloom [Sat, 29 Jul 2000 18:29:12 +0000 (18:29 +0000)]
Document ap_mmn.h using ScanDoc

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

24 years agoDocument ap_listen.h using ScanDoc.
Ryan Bloom [Sat, 29 Jul 2000 18:23:38 +0000 (18:23 +0000)]
Document ap_listen.h using ScanDoc.

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

24 years agoRemove iol_socket.h. This file had one declaration, and it makes more
Ryan Bloom [Sat, 29 Jul 2000 16:24:15 +0000 (16:24 +0000)]
Remove iol_socket.h.  This file had one declaration, and it makes more
sense for that declaraion to move to ap_iol.h.  This also modifies all of
the files that include iol_socket.h to include ap_iol.h

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

24 years agoAdd a small doc on how to document the APIs for use with ScanDoc.
Ryan Bloom [Sat, 29 Jul 2000 14:30:29 +0000 (14:30 +0000)]
Add a small doc on how to document the APIs for use with ScanDoc.

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

24 years agoconvert some -1 back to errno.
Ryan Bloom [Sat, 29 Jul 2000 14:14:32 +0000 (14:14 +0000)]
convert some -1 back to errno.

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

24 years agoAssociate virtual hosts with a specific child process. This doesn't
Ryan Bloom [Sat, 29 Jul 2000 07:29:48 +0000 (07:29 +0000)]
Associate virtual hosts with a specific child process.  This doesn't
work quite yet.  The problem right now is that the thread doesn't really
have the logic required to pass the request to the next child process.

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

24 years agoChange the storage allocation mechanism for ap_proc_t structures
Jeff Trawick [Sat, 29 Jul 2000 03:08:13 +0000 (03:08 +0000)]
Change the storage allocation mechanism for ap_proc_t structures
passed to ap_note_subprocess() by mod_rewrite and mod_include.  The
storage needs to last as long as the pool passed to
ap_note_subprocess(), so autodata won't work.

The mod_rewrite change wasn't tested.  A normal build with mod_rewrite
on Linux currently results in the link failing due to unresolved
references to dbm_*.

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

24 years agoFix segfault/SIGSEGV when running gzip from mod_mime_magic.c.
Jeff Trawick [Sat, 29 Jul 2000 02:04:49 +0000 (02:04 +0000)]
Fix segfault/SIGSEGV when running gzip from mod_mime_magic.c.
An invalid ap_proc_t was passed to ap_create_process().

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

24 years agoAdd the ability to register filters. This commit introduces a warning
Ryan Bloom [Fri, 28 Jul 2000 20:31:02 +0000 (20:31 +0000)]
Add the ability to register filters.  This commit introduces a warning
into the build.  This warning will be removed automatically, as soon as
we decide on a prototype for the function causing the warning.  That
decision is tied to which filtering mechanism we decide on.
Submitted by: Ryan Bloom and Greg Stein

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

24 years agoFix a small typo. TAKE3 directives really do need to take all 3 arguments.
Ryan Bloom [Fri, 28 Jul 2000 20:12:42 +0000 (20:12 +0000)]
Fix a small typo.  TAKE3 directives really do need to take all 3 arguments.
Submitted by: Jeff Trawick

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

24 years agoCleanup the perchild MPM. What I am doing so far in this MPM does not
Ryan Bloom [Fri, 28 Jul 2000 19:34:39 +0000 (19:34 +0000)]
Cleanup the perchild MPM.  What I am doing so far in this MPM does not
require hashes.  This makes it much easier to now associate the child
process with a virtual host.

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

24 years agoAdd the macro for AP_INIT_TAKE3 directives. I am assuming this was left
Ryan Bloom [Fri, 28 Jul 2000 18:53:01 +0000 (18:53 +0000)]
Add the macro for AP_INIT_TAKE3 directives.  I am assuming this was left
out by mistake.

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

24 years agoRemove the mod_cgid-won't-go-away problem from the STATUS file.
Jeff Trawick [Fri, 28 Jul 2000 18:16:47 +0000 (18:16 +0000)]
Remove the mod_cgid-won't-go-away problem from the STATUS file.

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

24 years agoUse ap_note_subprocess() to register the mod_cgid daemon process for cleanup
Jeff Trawick [Fri, 28 Jul 2000 18:15:21 +0000 (18:15 +0000)]
Use ap_note_subprocess() to register the mod_cgid daemon process for cleanup
so that it is killed at termination if it does not die when the parent gets
SIGTERM.  This change is to fix occasional problems where the process stays
around.

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

24 years agoUpdate the perchild MPM. At this point, it is possible to specify that
Ryan Bloom [Fri, 28 Jul 2000 17:45:13 +0000 (17:45 +0000)]
Update the perchild MPM.  At this point, it is possible to specify that
a child process runs as a specified user.  That child process is not
currently tied to a virtual host.  Using this MPM, I can launch Apache
and have it serve as both nobody and rbb.

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

24 years agoDon't bark at developers which are too lazy to pull down the htdocs
Sascha Schumann [Fri, 28 Jul 2000 16:22:32 +0000 (16:22 +0000)]
Don't bark at developers which are too lazy to pull down the htdocs
module. ;-)

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

24 years agoInstall htdocs again. This was recently removed for an unknown (or at
Jeff Trawick [Fri, 28 Jul 2000 15:39:47 +0000 (15:39 +0000)]
Install htdocs again.  This was recently removed for an unknown (or at
least unmentioned) reason.

Crash course on populating the htdocs directory:

cd myprefix/apache-2.0
cvs checkout -d htdocs httpd-docs-2.0/htdocs

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

24 years agoWin32: Enable compiling expat from the command line
Bill Stoddard [Fri, 28 Jul 2000 14:18:51 +0000 (14:18 +0000)]
Win32: Enable compiling expat from the command line

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

24 years agoap.h had nothing in it. I am removing it from Apache 2.0 all together.
Ryan Bloom [Fri, 28 Jul 2000 01:57:04 +0000 (01:57 +0000)]
ap.h had nothing in it.  I am removing it from Apache 2.0 all together.
This also removes it from the two files that were actually including it.

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

24 years agoDon't try to process a connection when accept() failed.
Jeff Trawick [Thu, 27 Jul 2000 23:05:44 +0000 (23:05 +0000)]
Don't try to process a connection when accept() failed.

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

24 years agoWin32: Revamp NT shutdown code. I think this shutdown code is pretty close
Bill Stoddard [Thu, 27 Jul 2000 18:42:39 +0000 (18:42 +0000)]
Win32: Revamp NT shutdown code. I think this shutdown code is pretty close
to production ready. Introduce a two-phase shutdown. First phase is
shutdown_pending which prevents new contexts from being queued to the
AcceptEx completion port.  The server runs for a period (~1 second)
in this state to enable threads to drain the completion port of active
connections by handling the connections. This works very well on a busy
server as the contexts are consumed quickly and completely (leaving non
to cancel in the next phase).

The next phase is the workers_may exit phase, which prevents threads
from blocking on the completion port (especially important to prevent
threads unblocking off of keep-alive connections from calling
GetQueuedCompletionStatus).  One we enter this phase, all threads blocked on the
port (we track the number carefully) are unblocked and allowed to exit.
Then we cancel any pending i/o completion contexts on the listeners (those which
were not consumed naturally in the shutdown phase). Then we reap the ABORTED
completion packets off the port. (Possible to reap a few good "accepted"
connections here also. Oh well...). Once we are done reaping completion packets,
we release the start mutex which allows the new child (in a restart) to
begin accepting connections.

It is really REALLY important to not let multiple processes call
GetQueuedCompletionStatus at the same time.  Results are unpredictable.

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

24 years agoAdd a patch for review.
Ryan Bloom [Thu, 27 Jul 2000 14:39:13 +0000 (14:39 +0000)]
Add a patch for review.

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

24 years agoRemove some items that are done from the STATUS file.
Ryan Bloom [Thu, 27 Jul 2000 14:28:40 +0000 (14:28 +0000)]
Remove some items that are done from the STATUS file.

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

24 years agoNo idea how these 3 characters got there, but remove them so this file
David Reid [Thu, 27 Jul 2000 11:19:41 +0000 (11:19 +0000)]
No idea how these 3 characters got there, but remove them so this file
will build again.

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

24 years ago Another day's progress... little changes, but just establishing the
William A. Rowe Jr [Thu, 27 Jul 2000 05:23:17 +0000 (05:23 +0000)]
  Another day's progress... little changes, but just establishing the
  baseline for fully implementing extensions.  Filters... that's still
  a little way away.  This demonstrates the HSE_STATUS_PENDING result
  wait event trap, so we let another thread keep working till we get
  the HSE_REQ_DONE_WITH_SESSION request.  Cleaned up callback names
  and tossed bunches of stuff in the isapi_cid (connection/request) and
  the isapi_loaded (dll details) for future caching optimizations.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoAdd a new MPM. Currently this is almost an exact copy of the dexter MPM.
Ryan Bloom [Thu, 27 Jul 2000 00:16:32 +0000 (00:16 +0000)]
Add a new MPM.  Currently this is almost an exact copy of the dexter MPM.
In time, this will be the MPM that allows each child process to have a
unique user id.  I need a place to work and keep track of my changes.
Don't expect this to work until next week sometime.

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

24 years agoCleanup the MPM #defines. Each MPM #defines a unique name that identifies
Ryan Bloom [Thu, 27 Jul 2000 00:04:11 +0000 (00:04 +0000)]
Cleanup the MPM #defines.  Each MPM #defines a unique name that identifies
it to the system.  That name should be of the format NAME_MPM where name
is something like DEXTER, MPMT_PTHREAD, SPMT_OS2, etc.

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

24 years agoFix a bug in our time parsing. We need to zero out a few fields so that
Ryan Bloom [Wed, 26 Jul 2000 18:44:01 +0000 (18:44 +0000)]
Fix a bug in our time parsing.  We need to zero out a few fields so that
the imploded date is valid.
PR: 6266

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

24 years agoFix some build issues for dexter:
Jeff Trawick [Wed, 26 Jul 2000 18:07:34 +0000 (18:07 +0000)]
Fix some build issues for dexter:

. dexter/scoreboard.c needed apr_strings.h to get the right
  function prototypes

. main/mpm_common.c needed to recognize that we were building
  for dexter; otherwise, no ap_reclaim_child_processes() was
  compiled and linking failed

(It would be nice to standardize on which preprocessor symbols
are checked for...  mpmname_MPM seems nice enough.  Didn't the
check for symbol mpmname (no "_MPM") come with mpmt.c?)

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

24 years agoBack out some changes that weren't supposed to be in my last commit.
Ryan Bloom [Wed, 26 Jul 2000 15:33:39 +0000 (15:33 +0000)]
Back out some changes that weren't supposed to be in my last commit.

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

24 years agoRemove all of the ap_is* functions from Apache. They were already in APR,
Ryan Bloom [Wed, 26 Jul 2000 15:31:30 +0000 (15:31 +0000)]
Remove all of the ap_is* functions from Apache.  They were already in APR,
and we all hate duplicate code.  :-)  This also required adding ap_isascii
to APR.

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

24 years agopacket minimization when doing sendfile...
Jeff Trawick [Wed, 26 Jul 2000 14:29:34 +0000 (14:29 +0000)]
packet minimization when doing sendfile...

When preparing to call iol_sendfile(), don't call ap_bflush() first.
Instead, pass the data ap_bflush() would have written (if any) to
iol_sendfile() as a header.  In practice, this prevents sending headers
separately from the first part of the file.
Submitted by: Greg Ames
Reviewed by: Jeff Trawick

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

24 years agoGet ap_socket_disable_nagle() working again.
Jeff Trawick [Wed, 26 Jul 2000 14:12:38 +0000 (14:12 +0000)]
Get ap_socket_disable_nagle() working again.
Submitted by: Greg Ames
Reviewed by: Jeff Trawick

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

24 years agoFix some compile warnings in mod_file_cache.
Jeff Trawick [Wed, 26 Jul 2000 14:03:08 +0000 (14:03 +0000)]
Fix some compile warnings in mod_file_cache.
Submitted by: Greg Ames
Reviewed by: Jeff Trawick

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

24 years agoFix an error in service.c, where we were returning APR_NOTFOUND and
Ryan Bloom [Wed, 26 Jul 2000 13:48:17 +0000 (13:48 +0000)]
Fix an error in service.c, where we were returning APR_NOTFOUND and
should have been return APR_ENOFILE
Submitted by: Gregory Nicholls <gnicholls@level8.com>
Reviewed by: Ryan Bloom

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

24 years agoThe Windows MPM was sometimes returning APR_NOTFOUND when it should
Ryan Bloom [Wed, 26 Jul 2000 13:45:01 +0000 (13:45 +0000)]
The Windows MPM was sometimes returning APR_NOTFOUND when it should
have been returning APR_ENOFILE.  This fixes that problem.
Submitted by: Gregory Nicholls <gnicholls@level8.com>
Reviewed by: Ryan Bloom

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

24 years agoNew translation
kevlo [Wed, 26 Jul 2000 09:41:02 +0000 (09:41 +0000)]
New translation
PR:
Obtained from:
Submitted by: Jerry Su <su@mail.thu.edu.tw>
Reviewed by: kevlo@

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

24 years ago- fix POOL_DEBUG ... restored the ap_pool_joins that dreid removed.
dgaudet [Wed, 26 Jul 2000 01:56:02 +0000 (01:56 +0000)]
- fix POOL_DEBUG ... restored the ap_pool_joins that dreid removed.
- removed the apr_abort foo since every caller was passing it NULL anyway;
  and this is debugging code, so i don't have any qualms about using
  stderr or abort().

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

24 years agoREmove the mpmt MPM. This also removes all of the config logic required
Ryan Bloom [Tue, 25 Jul 2000 23:48:21 +0000 (23:48 +0000)]
REmove the mpmt MPM.  This also removes all of the config logic required
to get this MPM to compile.  I may try to combine the two threading MPMs
a bit more, or I may not.

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

24 years agoChange --enable-shared that Apache defines to --enable-mods-shared. The
Ryan Bloom [Tue, 25 Jul 2000 20:08:12 +0000 (20:08 +0000)]
Change --enable-shared that Apache defines to --enable-mods-shared.  The
original name was conflicting with an option for ./configure that libtool
defines automatically.

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

24 years agoUpdate mod_so to use the new command_rec format.
Ryan Bloom [Tue, 25 Jul 2000 19:52:37 +0000 (19:52 +0000)]
Update mod_so to use the new command_rec format.

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

24 years agoFix typo in log message.
Jeff Trawick [Tue, 25 Jul 2000 17:39:20 +0000 (17:39 +0000)]
Fix typo in log message.

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

24 years agoRemove EXEC_ON_READ from ClearModuleList and AddModule. Having these
Ryan Bloom [Tue, 25 Jul 2000 05:35:34 +0000 (05:35 +0000)]
Remove EXEC_ON_READ from ClearModuleList and AddModule.  Having these
as EXEC_ON_READ was causing a seg fault, and it was unnecessary.  Neither
of these directives changes how the server interprets the config file,
they only change how the server responds to the configuration.
PR: 6318

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

24 years ago Undo my damage.
William A. Rowe Jr [Tue, 25 Jul 2000 03:40:24 +0000 (03:40 +0000)]
  Undo my damage.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years ago Undo the damage to mod_isapi (leave placeholders for new functions though)
William A. Rowe Jr [Tue, 25 Jul 2000 03:26:31 +0000 (03:26 +0000)]
  Undo the damage to mod_isapi (leave placeholders for new functions though)
  and add APR_EOL_STR to log files (precomiled, of course :)

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years ago This should be clean... ap_snprintf already holds a byte for the
William A. Rowe Jr [Tue, 25 Jul 2000 02:05:49 +0000 (02:05 +0000)]
  This should be clean... ap_snprintf already holds a byte for the
  null terminator, and this patch sets aside whatever space is needed
  for the newline termination.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years ago Caught a bit of my own bad style :)
William A. Rowe Jr [Tue, 25 Jul 2000 01:36:28 +0000 (01:36 +0000)]
  Caught a bit of my own bad style :)

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years ago Add APR_EOL_STR for a platform specific text delimiter, provided by
William A. Rowe Jr [Tue, 25 Jul 2000 01:06:32 +0000 (01:06 +0000)]
  Add APR_EOL_STR for a platform specific text delimiter, provided by
  apr.h (defined in apr.h.in and apr.hw).  This is needed -only- in APR
  created files (true raw files) such as logs.  It is not required in any
  splat to screen (stderr/stdout) formatting, nor any html markup.

  Some other modules slipped through in the prior apr_strings.h commit.
  Sorry 'bout that.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years ago Missing apr_strings.h - hope this wasn't destined for some global header.
William A. Rowe Jr [Tue, 25 Jul 2000 00:58:22 +0000 (00:58 +0000)]
  Missing apr_strings.h - hope this wasn't destined for some global header.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years ago Changes to get Win32 compiling again, including substituting
William A. Rowe Jr [Tue, 25 Jul 2000 00:42:09 +0000 (00:42 +0000)]
  Changes to get Win32 compiling again, including substituting
  apr_string.h for apr_lib.h, fix some bad linkage declarations,
  and some more comments on threadproc/win32/proc.c

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoFix some issues with mod_mime_magic. Basically, we need to include
Ryan Bloom [Mon, 24 Jul 2000 20:48:24 +0000 (20:48 +0000)]
Fix some issues with mod_mime_magic.  Basically, we need to include
apr_strings.h, the command table needed to be fixed to use the new
format, and we had vestiges of stat left around.

The top two issues are simple, we include apr_strings and fix the command
recs.

The last issue required using APR enums instead of the stat.h macros.  This
also allows us to remove some ugly #ifdefs.  :-)
Submitted by: Shaun Savage <shaun@igel.de>
Reviewed by: Ryan Bloom

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

24 years agoClean up rules.mk and add support for building C++ source files.
Sascha Schumann [Sun, 23 Jul 2000 18:00:45 +0000 (18:00 +0000)]
Clean up rules.mk and add support for building C++ source files.

If your module uses C++, you need to add APACHE_REQUIRE_CXX to your
module's config.m4.

Unfortunately, we cannot use any sophisticated pattern matching in make,
so instead of adding the C++ source files to LTLIBRARY_SOURCES, you need
to write for foo.cpp and bar.cpp:

LTLIBRARY_OBJECTS_X = foo.lo bar.lo

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

24 years agoRemove apr_strnatcmp.h. All of the functions prototyped in this file
Ryan Bloom [Sun, 23 Jul 2000 17:31:08 +0000 (17:31 +0000)]
Remove apr_strnatcmp.h.  All of the functions prototyped in this file
have been moved to apr_strings.h.  This also modifes Apache to include
apr_strings.h instead of apr_strnatcmp.h

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

24 years agoFix VPATH builds
Sascha Schumann [Sun, 23 Jul 2000 12:32:18 +0000 (12:32 +0000)]
Fix VPATH builds

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

24 years agoClean_child_exit is not a public function. This keeps it internal to
Ryan Bloom [Sat, 22 Jul 2000 03:38:57 +0000 (03:38 +0000)]
Clean_child_exit is not a public function.  This keeps it internal to
mpmt_pthread.c and allows mpmt_pthread to compile cleanly.

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

24 years agoInclude apr_strings.h in scoreboard.h. This allows it to compile cleanly
Ryan Bloom [Sat, 22 Jul 2000 03:36:21 +0000 (03:36 +0000)]
Include apr_strings.h in scoreboard.h.  This allows it to compile cleanly
again.

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

24 years agoMove all APR functions related to strings to their own directory, and
Ryan Bloom [Fri, 21 Jul 2000 19:50:58 +0000 (19:50 +0000)]
Move all APR functions related to strings to their own directory, and
create a new header for those functions.  This is the first step to
removing the apr/lib directory completely, and moving those files/functions
to descriptive directories.

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

24 years agoRemove a filtering patch from the STATUS file. This was the second patch
Ryan Bloom [Thu, 20 Jul 2000 21:31:19 +0000 (21:31 +0000)]
Remove a filtering patch from the STATUS file.  This was the second patch
I posted, and it was more or less a proof-of-concept for changing the
filter registration method.  Everybody agrees the patch was a bad idea, but
it did prove that the filtering registration code could be completely
re-written in very little time.

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

24 years agoProtect some sendfile()-specific logic with APR_HAS_SENDFILE
Jeff Trawick [Thu, 20 Jul 2000 18:19:36 +0000 (18:19 +0000)]
Protect some sendfile()-specific logic with APR_HAS_SENDFILE
so that mod_file_cache can build on a system with no sendfile().

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

24 years agoGet mod_cgid.c to compile on OS/390 again. It needs unistd.h
Jeff Trawick [Wed, 19 Jul 2000 18:04:24 +0000 (18:04 +0000)]
Get mod_cgid.c to compile on OS/390 again.  It needs unistd.h
for STDERR_FILENO.

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

24 years agoMake ap_child_init_lock() work properly... It didn't
Jeff Trawick [Wed, 19 Jul 2000 17:42:56 +0000 (17:42 +0000)]
Make ap_child_init_lock() work properly... It didn't
call ap_unix_child_init_lock() at the right time, so any
lock mechanism which had interesting work to do (only flock())
was broken.

Fix the flock() flavor of ap_unix_child_init_lock().  It expected
to create the lock file when it should in fact open the existing
one.  It also neglected to return the new ap_lock_t structure to
the caller.

Improve logging of lock init errors in prefork (I know, prefork is
a lame duck, but I used the improved logging in prefork to help
debug the problem).

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

24 years agoFix some bad ap_log_error() invocations. Comment on a bad
Jeff Trawick [Mon, 17 Jul 2000 22:11:47 +0000 (22:11 +0000)]
Fix some bad ap_log_error() invocations.  Comment on a bad
ap_log_rerror() invocation.

Almost all of this is in code never compiled.

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

24 years agoGrab OtherBill's latest 1.3 code to provide a default ServerName
Jeff Trawick [Mon, 17 Jul 2000 21:20:43 +0000 (21:20 +0000)]
Grab OtherBill's latest 1.3 code to provide a default ServerName
and log the error.
Submitted by: "William A. Rowe, Jr." <wrowe@lnd.com>

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

24 years agoFix copy/move depth infinity lock propagation problem.
Keith Wannamaker [Mon, 17 Jul 2000 05:17:02 +0000 (05:17 +0000)]
Fix copy/move depth infinity lock propagation problem.
Submitted by: Joe Orton <joe@orton.demon.co.uk>

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

24 years agoOS/2: Put back creation of listeners in main thread in spmt_os2 MPM.
Brian Havard [Sun, 16 Jul 2000 07:12:42 +0000 (07:12 +0000)]
OS/2: Put back creation of listeners in main thread in spmt_os2 MPM.

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

24 years agoab would start up more connections than needed, then quit when the
Roy T. Fielding [Sun, 16 Jul 2000 00:06:39 +0000 (00:06 +0000)]
ab would start up more connections than needed, then quit when the
desired number were finished. Also fixed a logic error involving
ab keepalives.

Submitted by: Victor J. Orlikowski
Reviewed by: Roy Fielding

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

24 years agoadd ap_full_read() and ap_full_write(). they guarantee to read/write the
Greg Stein [Sat, 15 Jul 2000 02:07:21 +0000 (02:07 +0000)]
add ap_full_read() and ap_full_write(). they guarantee to read/write the
    full buffer unless an error occurs.
use the new functions in SDBM and DAV. [and Subversion]
Win32 and OS/2 can directly include/use file_io/unix/fullrw.c since it is
    written in terms of other APR functions.

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

24 years agoap_dso_init() isn't needed. if/when a platform needs it, then
Greg Stein [Sat, 15 Jul 2000 01:07:42 +0000 (01:07 +0000)]
ap_dso_init() isn't needed. if/when a platform needs it, then
    ap_initialize() can be used to init DSO support. or set up a lazy
    initialization for it.
solves the questions, "when do I call it? can I call it more than once?"

Submitted by: Ben Collins-Sussman <sussman@red-bean.com>

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

24 years agoReplace this unknown hash function someone contributed with the classical DJB
Ralf S. Engelschall [Fri, 14 Jul 2000 20:03:09 +0000 (20:03 +0000)]
Replace this unknown hash function someone contributed with the classical DJB
times 33 hash (using XOR instead of ADD).  This hash is better understood and
is faster. Also because in the old function the "& 0xff" was not necessary and
just slowed down processing.

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

24 years agoMake Apache use the new APR buildconf script to generate APR and MM
Ryan Bloom [Fri, 14 Jul 2000 18:19:53 +0000 (18:19 +0000)]
Make Apache use the new APR buildconf script to generate APR and MM
./configure.

With this change, APR can build without Apache again.

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

24 years agoGet smpt_os2 working again after recent reorganization.
Brian Havard [Fri, 14 Jul 2000 14:45:33 +0000 (14:45 +0000)]
Get smpt_os2 working again after recent reorganization.
- globalize & namespace protects server_conf as ap_server_conf
- puts setup_listeners back in under a more appropriate name
  (setup_listen_poll()) as it's quite different to ap_setup_listeners in
  mpm_common.c.
- fake a suitable parameter to ap_process_child_status() as it assumes a child
  refers to a process when, in the context of spmt_os2, it's a thread.

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

24 years agoRemove #define conflict with mpm_winnt.h exposed by Ryan's recent patch
Bill Stoddard [Thu, 13 Jul 2000 21:27:37 +0000 (21:27 +0000)]
Remove #define conflict with mpm_winnt.h exposed by Ryan's recent patch
to ap_listen.h

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

24 years agoApache doesn't actually check for stdarg.h, but APR does. Just use the
Ryan Bloom [Thu, 13 Jul 2000 16:26:47 +0000 (16:26 +0000)]
Apache doesn't actually check for stdarg.h, but APR does.  Just use the
APR defined APR_HAVE_STDARG_H to check for the existance of stdarg.h

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

24 years agoFix the prefork MPM to make it compile and work again out-of-the-box.
Ryan Bloom [Thu, 13 Jul 2000 16:05:07 +0000 (16:05 +0000)]
Fix the prefork MPM to make it compile and work again out-of-the-box.

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

24 years agoupdate for APR-ized SDBM interfaces
Greg Stein [Thu, 13 Jul 2000 11:02:37 +0000 (11:02 +0000)]
update for APR-ized SDBM interfaces

Submitted by: Joe Orton <joe@orton.demon.co.uk>
Reviewed by: Greg Stein

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

24 years agoreverse the setup_listeners() change from a few days ago. it broke prefork
Greg Stein [Thu, 13 Jul 2000 09:17:46 +0000 (09:17 +0000)]
reverse the setup_listeners() change from a few days ago. it broke prefork
    by not getting listenmaxfd set, nor listenfds.

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

24 years agoSome status...
Bill Stoddard [Wed, 12 Jul 2000 22:04:42 +0000 (22:04 +0000)]
Some status...

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

24 years agoSave the write end of the pipe. pipe_log_spawn really needs to be combined with
Bill Stoddard [Wed, 12 Jul 2000 22:00:58 +0000 (22:00 +0000)]
Save the write end of the pipe. pipe_log_spawn really needs to be combined with
log_child.

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

24 years agoOoops... Didn't notice this one until I tried compiling with APR_HAS_OTHER_CHILD
Bill Stoddard [Wed, 12 Jul 2000 18:54:55 +0000 (18:54 +0000)]
Ooops... Didn't notice this one until I tried compiling with APR_HAS_OTHER_CHILD

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

24 years agoFix a nasty stack corruption. ap_proc_t should be allocated out of the same
Bill Stoddard [Wed, 12 Jul 2000 18:40:26 +0000 (18:40 +0000)]
Fix a nasty stack corruption. ap_proc_t should be allocated out of the same
pool passed to ap_create_process. A little further down the road to getting
reliable piped logs working on Win32.

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

24 years agofix problems with placing stuff across multiple lines.
Greg Stein [Wed, 12 Jul 2000 10:58:19 +0000 (10:58 +0000)]
fix problems with placing stuff across multiple lines.
    -- noted by Joe Orton.

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

24 years agoAdd mod_dav directives to the index
Keith Wannamaker [Wed, 12 Jul 2000 05:12:07 +0000 (05:12 +0000)]
Add mod_dav directives to the index

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

24 years agoInitial checkin of mod_dav documentation
Keith Wannamaker [Wed, 12 Jul 2000 05:01:27 +0000 (05:01 +0000)]
Initial checkin of mod_dav documentation

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