]> granicus.if.org Git - apache/log
apache
25 years agoApache 1.3.9 baseline for the Apache 2.0 repository.
Roy T. Fielding [Tue, 24 Aug 1999 05:50:50 +0000 (05:50 +0000)]
Apache 1.3.9 baseline for the Apache 2.0 repository.

Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9
Submitted by: Apache Group

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

25 years agoApache 1.3.9 baseline for the Apache 2.0 repository.
Roy T. Fielding [Tue, 24 Aug 1999 05:34:15 +0000 (05:34 +0000)]
Apache 1.3.9 baseline for the Apache 2.0 repository.

Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9
Submitted by: Apache Group

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

25 years agoForgot listen.c in the earlier AcceptEx patch to winnt.c.
Bill Stoddard [Sat, 21 Aug 1999 04:43:15 +0000 (04:43 +0000)]
Forgot listen.c in the earlier AcceptEx patch to winnt.c.
Enable winnt mpm to detech OS at runtime.

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

25 years agoUse AcceptEx (a.k.a. accept and receive) on windows NT. Begin work to make
Bill Stoddard [Fri, 20 Aug 1999 20:20:33 +0000 (20:20 +0000)]
Use AcceptEx (a.k.a. accept and receive) on windows NT. Begin work to make
the WIN9x code co-exist with the NT specific code. Since I started this work,
I've managed to improve the static page serving performance of Apache on NT by
almost 50%. Still a long way from Apache on Linux though.

TODO:
- Reuse the AcceptEx accept socket (performance)
- Clean up the organization of the winnt mpm
- Implement Async AcceptEx and Receive. Will this break modules?
- File handle cache (file i/o accounts for more than 50% of the time per request)
- TransmitFile (I have prototype code implemented). Should we add a send_file API
to the I/O control layer? Maybe Apache should always try to send_file. Platforms
that don't support send_file could in turn, invoke the appropriate buff code
which would then invoke socket iol write/writev.

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

25 years ago Spell it out in words of half a syllable. Some people..!
Ken Coar [Thu, 19 Aug 1999 21:52:01 +0000 (21:52 +0000)]
Spell it out in words of half a syllable.  Some people..!

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

25 years agoMove the code to force Expat linking into common code.
Manoj Kasichainula [Tue, 17 Aug 1999 22:05:17 +0000 (22:05 +0000)]
Move the code to force Expat linking into common code.

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

25 years agomerge the differences in apache-1.3 from tag mpm-merge-1 up to
Manoj Kasichainula [Tue, 17 Aug 1999 20:59:29 +0000 (20:59 +0000)]
merge the differences in apache-1.3 from tag mpm-merge-1 up to
APACHE_1_3_9 (a.k.a. mpm-merge-2) onto the mpm tree

prior to the merge, the mpm tree was tagged with apache-1_3-merge-2-pre,
and after the merge, the mpm tree will be tagged with
apache-1_3-merge-2-post

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

25 years agoMore cleanup...
Bill Stoddard [Tue, 17 Aug 1999 19:51:43 +0000 (19:51 +0000)]
More cleanup...

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

25 years agoServer will build and serve static pages (page size < bufsize) with the appropriate...
Bill Stoddard [Mon, 16 Aug 1999 22:36:25 +0000 (22:36 +0000)]
Server will build and serve static pages (page size < bufsize) with the appropriate makefile hacks (remove mod_cgi, mod_include, etc.).

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

25 years agoGet case indent right.
Ben Laurie [Sun, 15 Aug 1999 21:55:19 +0000 (21:55 +0000)]
Get case indent right.

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

25 years agoUnbreak dexter and pthread MPM after Ben's latest hook changes.
Ralf S. Engelschall [Sun, 15 Aug 1999 11:02:44 +0000 (11:02 +0000)]
Unbreak dexter and pthread MPM after Ben's latest hook changes.

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

25 years agoThe current documentation on the Rlimit{CPU,MEM,Nproc} directives
Roy T. Fielding [Sun, 15 Aug 1999 06:55:48 +0000 (06:55 +0000)]
The current documentation on the Rlimit{CPU,MEM,Nproc} directives
uses the wording "for all processes", which leads one to believe that
the limit applies to all of the Apache children processes.
However, this is not the case. The resource limits are applied in
ap_call_exec() which is only called by mod_cgi and mod_include.

Submitted by: David Harris <dharris@drh.net>
Reviewed by: Roy Fielding

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

25 years agoFix formatting.
Ben Laurie [Sun, 15 Aug 1999 00:15:44 +0000 (00:15 +0000)]
Fix formatting.

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

25 years agoChild initializer hook.
Ben Laurie [Sun, 15 Aug 1999 00:11:18 +0000 (00:11 +0000)]
Child initializer hook.

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

25 years agoAuth checker hook
Ben Laurie [Sun, 15 Aug 1999 00:01:25 +0000 (00:01 +0000)]
Auth checker hook

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

25 years agoAccess checker hook.
Ben Laurie [Sat, 14 Aug 1999 23:46:44 +0000 (23:46 +0000)]
Access checker hook.

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

25 years agoFix a couple of error messages.
Manoj Kasichainula [Fri, 13 Aug 1999 22:30:57 +0000 (22:30 +0000)]
Fix a couple of error messages.

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

25 years agoMove the ap_sys_siglist code from the Unix MPMs to unixd.[ch]
Manoj Kasichainula [Fri, 13 Aug 1999 21:54:06 +0000 (21:54 +0000)]
Move the ap_sys_siglist code from the Unix MPMs to unixd.[ch]

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

25 years agoGet rid of the single-child worker thread implementation for now. It's a
Manoj Kasichainula [Fri, 13 Aug 1999 19:47:01 +0000 (19:47 +0000)]
Get rid of the single-child worker thread implementation for now. It's a
pain keeping track of them both, and it can be added back easily..

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

25 years agoUpdate listener code. Workaround stupid WIN32 bug(?) in WSASocket (fails with 10091...
Bill Stoddard [Fri, 13 Aug 1999 19:45:26 +0000 (19:45 +0000)]
Update listener code. Workaround stupid WIN32 bug(?) in WSASocket (fails with 10091 if the process
environment block is not fully inherited from the parent). Start working on I/O layering support.
It's time to make this thing serve a page. Waiting to check-in iol_file and iol_socket...

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

25 years agoAdd a connection ID to conn_rec. It uniquely identifies a connection at
Manoj Kasichainula [Fri, 13 Aug 1999 06:58:08 +0000 (06:58 +0000)]
Add a connection ID to conn_rec. It uniquely identifies a connection at
any instant in time. It's not very well tested yet.

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

25 years agoAdd -R flag to apachectl for binary builds to work around lack of absolute
Randy Terbush [Fri, 13 Aug 1999 03:26:29 +0000 (03:26 +0000)]
Add -R flag to apachectl for binary builds to work around lack of absolute
path to ./libexec directory for SHARED_CORE architectures that need to
load libhttp.ep.

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

25 years agoFlesh out the descriptions of dexter and mpmt_pthread a bit.
Manoj Kasichainula [Thu, 12 Aug 1999 18:47:11 +0000 (18:47 +0000)]
Flesh out the descriptions of dexter and mpmt_pthread a bit.

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

25 years agoTry to find overview in the MPM mess.
Ralf S. Engelschall [Thu, 12 Aug 1999 08:20:07 +0000 (08:20 +0000)]
Try to find overview in the MPM mess.
Is this correctly described or did I misunderstood anything?
Feel free to fix me...

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

25 years agoA little experiment. Add a special worker thread function for the case
Manoj Kasichainula [Thu, 12 Aug 1999 02:02:27 +0000 (02:02 +0000)]
A little experiment. Add a special worker thread function for the case
when only one child process is running. It eliminates cross-process
serialization and can reuse the data from a poll call.

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

25 years agoMove a little code around to shorten the worker_thread function a bit.
Manoj Kasichainula [Wed, 11 Aug 1999 23:55:42 +0000 (23:55 +0000)]
Move a little code around to shorten the worker_thread function a bit.

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

25 years agoStill a complete hacked up mess, but getting better!
Bill Stoddard [Wed, 11 Aug 1999 16:03:55 +0000 (16:03 +0000)]
Still a complete hacked up mess, but getting better!

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

25 years agoPut back the process_child_status code from 1.3. Handling of synchronous
Manoj Kasichainula [Tue, 10 Aug 1999 21:18:43 +0000 (21:18 +0000)]
Put back the process_child_status code from 1.3. Handling of synchronous
signals like SEGV and FPE is still a bit dodgy, though, so this won't
accomplish much by itself.

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

25 years agoFix some changed assumptions in config file format.
Randy Terbush [Tue, 10 Aug 1999 16:06:52 +0000 (16:06 +0000)]
Fix some changed assumptions in config file format.

Submitted by: Tony Finch
Reviewed by: Randy Terbush

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

25 years agoUse <!--#include virtual="footer.html" --> like for header include
Martin Kraemer [Tue, 10 Aug 1999 14:23:16 +0000 (14:23 +0000)]
Use <!--#include virtual="footer.html" --> like for header include

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

25 years agochanges for new modules/experimental/mod_auth_digest
Ronald Tschalar [Sun, 8 Aug 1999 22:37:15 +0000 (22:37 +0000)]
changes for new modules/experimental/mod_auth_digest

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

25 years agomerge the differences in apache-1.3 from tag apache-apr-merge-3 up
dgaudet [Fri, 6 Aug 1999 00:55:28 +0000 (00:55 +0000)]
merge the differences in apache-1.3 from tag apache-apr-merge-3 up
to mpm-merge-1 onto the mpm tree

prior to the merge, the mpm tree was tagged with apache-1_3-merge-1-pre
and after the merge, the mpm tree will be tagged with apache-1_3-merge-1-post

note: none of htdocs/manual is present in mpm at this point.

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

25 years agoA few more hacks before taking off for the weekend.
Bill Stoddard [Thu, 5 Aug 1999 22:05:47 +0000 (22:05 +0000)]
A few more hacks before taking off for the weekend.

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

25 years agoWin32: Start work on the winnt mpm. This is all horribly broken and hacked right now
Bill Stoddard [Thu, 5 Aug 1999 21:08:25 +0000 (21:08 +0000)]
Win32: Start work on the winnt mpm. This is all horribly broken and hacked right now

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

25 years agoTake child_num and thread_num out of conn_rec. They aren't used anywhere
Manoj Kasichainula [Thu, 5 Aug 1999 19:56:24 +0000 (19:56 +0000)]
Take child_num and thread_num out of conn_rec. They aren't used anywhere
anymore, and conn_rec is the wrong place for them.

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

25 years ago Typo fixage..
Ken Coar [Thu, 5 Aug 1999 18:43:47 +0000 (18:43 +0000)]
Typo fixage..

Submitted by: Jayaram A <jayaram@wipinfo.soft.net>
Reviewed by: Ken Coar

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

25 years agoFrom Joshua's msg,
Dirk-Willem van Gulik [Thu, 5 Aug 1999 10:33:36 +0000 (10:33 +0000)]
From Joshua's msg,

Here's a little patch to correct an omission that seems to cause
occasional confusion: Context: Directory actually means Context:
Directory, Location, Files except for specific exceptions.

Obtained from:
Submitted by: Joshua Slive <slive@finance.commerce.ubc.ca>
Reviewed by: dirkx

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

25 years agoAttempt to close pr 4808 Can you mention htpassword in the mod_auth documentation.
Dirk-Willem van Gulik [Wed, 4 Aug 1999 22:03:04 +0000 (22:03 +0000)]
Attempt to close pr 4808 Can you mention htpassword in the mod_auth documentation.
PR: 4808
Obtained from:
Submitted by:
Reviewed by:

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

25 years ago Oops. Forgot the <HR> that I wasn't supposed to forget..
Ken Coar [Wed, 4 Aug 1999 18:10:40 +0000 (18:10 +0000)]
Oops.  Forgot the <HR> that I wasn't supposed to forget..

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

25 years ago Boy is this one turning into a FAQ..
Ken Coar [Wed, 4 Aug 1999 17:43:46 +0000 (17:43 +0000)]
Boy is this one turning into a FAQ..

PR: Too numerous to mention.

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

25 years agoUndo the stupid pipe of death changes I made earlier today. dean noted
Manoj Kasichainula [Wed, 4 Aug 1999 00:21:35 +0000 (00:21 +0000)]
Undo the stupid pipe of death changes I made earlier today. dean noted
that we need an char_of_death array to do this safely, and it's just not
worth the effort. The EINTR stuff is left behind, though. Hopefully this
is now decent again.

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

25 years agoEliminate a spurious runtime warning.
Manoj Kasichainula [Tue, 3 Aug 1999 23:43:02 +0000 (23:43 +0000)]
Eliminate a spurious runtime warning.

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

25 years agoUpdate OS/2 mpm with new hooks.
Brian Havard [Tue, 3 Aug 1999 23:39:11 +0000 (23:39 +0000)]
Update OS/2 mpm with new hooks.

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

25 years agoFix a couple of potential graceful restart bugs noted by Dean: EINTR was
Manoj Kasichainula [Tue, 3 Aug 1999 23:36:43 +0000 (23:36 +0000)]
Fix a couple of potential graceful restart bugs noted by Dean: EINTR was
never dealt with in the code to write to the pipe of death, and in
pathological cases where the number of processes is greater than
PIPE_BUF, we could end up only killing some processes.

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

25 years agoNo reason to have a loop writing one byte at a time to the pipe of death
Manoj Kasichainula [Tue, 3 Aug 1999 20:41:37 +0000 (20:41 +0000)]
No reason to have a loop writing one byte at a time to the pipe of death
when the write call will do it for us. Also fix the comments a bit.

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

25 years agoget rid of the vestigial ap_open_logs call (and the ap_clear_pool that
Manoj Kasichainula [Tue, 3 Aug 1999 20:03:09 +0000 (20:03 +0000)]
get rid of the vestigial ap_open_logs call (and the ap_clear_pool that
went along with it), to fix logging problems. Sometimes the bug would
show up as a segfault, and sometimes as logging to an incorrect file.

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

25 years agoUpdate with new hooks.
Manoj Kasichainula [Tue, 3 Aug 1999 18:17:51 +0000 (18:17 +0000)]
Update with new hooks.

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

25 years agoMake the server compile cleanly on TPF.
Manoj Kasichainula [Mon, 2 Aug 1999 05:03:35 +0000 (05:03 +0000)]
Make the server compile cleanly on TPF.

Submitted by: David McCreedy <McCreedy@us.ibm.com>

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

25 years agoSet up emacs for the Apache Style Guide.
Ben Laurie [Sun, 1 Aug 1999 15:20:53 +0000 (15:20 +0000)]
Set up emacs for the Apache Style Guide.

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

25 years agoAnother hook.
Ben Laurie [Sun, 1 Aug 1999 14:43:28 +0000 (14:43 +0000)]
Another hook.

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

25 years agoAnother hook.
Ben Laurie [Sun, 1 Aug 1999 14:12:33 +0000 (14:12 +0000)]
Another hook.

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

25 years agoBreak out the hook implementations into three kinds, thus avoiding null macro
Ben Laurie [Sat, 31 Jul 1999 09:31:21 +0000 (09:31 +0000)]
Break out the hook implementations into three kinds, thus avoiding null macro
arguments. Gates made me do it!

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

25 years agoFix PR#4720
Ralf S. Engelschall [Fri, 30 Jul 1999 09:51:01 +0000 (09:51 +0000)]
Fix PR#4720

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

25 years agoSupport non-threaded operation, for the most part. The code still
Manoj Kasichainula [Thu, 29 Jul 1999 20:43:28 +0000 (20:43 +0000)]
Support non-threaded operation, for the most part. The code still
references pthread calls, but they are essentially no-ops in the
non-threaded case; these can be #defined or wrapped away.

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

25 years agoUse Ben Hyde's warning fix on two other MPMs.
Manoj Kasichainula [Thu, 29 Jul 1999 20:06:20 +0000 (20:06 +0000)]
Use Ben Hyde's warning fix on two other MPMs.

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

25 years agoDoc changes.
Randy Terbush [Thu, 29 Jul 1999 18:17:43 +0000 (18:17 +0000)]
Doc changes.
Submitted by: Alan J. Flavell <flavell@mail.cern.ch>
Reviewed by: Randy Terbush

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

25 years agoReplace Min/MaxSpareServers with Min/MaxSpareThreads. This allows the
Manoj Kasichainula [Wed, 28 Jul 1999 22:35:42 +0000 (22:35 +0000)]
Replace Min/MaxSpareServers with Min/MaxSpareThreads. This allows the
admin to specify with finer granularity how the server pool should be
run.

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

25 years agoUpdate with latest hook additions.
Manoj Kasichainula [Tue, 27 Jul 1999 23:54:24 +0000 (23:54 +0000)]
Update with latest hook additions.

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

25 years agoAnother hook (I won't be upset if someone else wants to do some!).
Ben Laurie [Tue, 27 Jul 1999 21:16:46 +0000 (21:16 +0000)]
Another hook (I won't be upset if someone else wants to do some!).

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

25 years agoFix a warning.
Ben Laurie [Tue, 27 Jul 1999 13:31:20 +0000 (13:31 +0000)]
Fix a warning.

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

25 years ago- get rid of pre_command_line_hook ... use register_hooks for this purpose
dgaudet [Tue, 27 Jul 1999 12:05:08 +0000 (12:05 +0000)]
- get rid of pre_command_line_hook ... use register_hooks for this purpose
- get rid of optreset... screw -D, use environment variables ONE_PROCESS,
  SHOW_HOOKS, DUMP_VHOSTS, ... at least it builds this way :)

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

25 years agosome bug fixes from David
dgaudet [Mon, 26 Jul 1999 07:03:09 +0000 (07:03 +0000)]
some bug fixes from David

Submitted by: David Reid <beos@server1.jetnet.co.uk>

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

25 years agoUpdate for newest hooks
Manoj Kasichainula [Mon, 26 Jul 1999 03:28:15 +0000 (03:28 +0000)]
Update for newest hooks

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

25 years agoMake sure we terminate.
Ben Laurie [Sun, 25 Jul 1999 14:03:16 +0000 (14:03 +0000)]
Make sure we terminate.

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

25 years agoGood grief! How hard is it to try _all_ the elements in a list?
Ben Laurie [Sun, 25 Jul 1999 13:58:58 +0000 (13:58 +0000)]
Good grief! How hard is it to try _all_ the elements in a list?

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

25 years agoAllow for new hooks.
Ben Laurie [Sat, 24 Jul 1999 20:54:36 +0000 (20:54 +0000)]
Allow for new hooks.

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

25 years agoAnother hook.
Ben Laurie [Sat, 24 Jul 1999 18:38:55 +0000 (18:38 +0000)]
Another hook.

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

25 years agoAnother hook.
Ben Laurie [Sat, 24 Jul 1999 18:16:11 +0000 (18:16 +0000)]
Another hook.

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

25 years agoFix listener selection logic.
Ben Laurie [Sat, 24 Jul 1999 13:55:56 +0000 (13:55 +0000)]
Fix listener selection logic.

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

25 years agoAdd a MaxThreadsPerChild directive
Manoj Kasichainula [Fri, 23 Jul 1999 23:35:20 +0000 (23:35 +0000)]
Add a MaxThreadsPerChild directive

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

25 years agoClean up and properly specify defaults for the new directives.
Manoj Kasichainula [Fri, 23 Jul 1999 22:43:47 +0000 (22:43 +0000)]
Clean up and properly specify defaults for the new directives.

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

25 years agoAdd a little naming consistency, and put in an error condition for
Manoj Kasichainula [Fri, 23 Jul 1999 22:20:20 +0000 (22:20 +0000)]
Add a little naming consistency, and put in an error condition for
MaxSpareThreads being too high.

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

25 years agoAdd support for dynamically creating and destroying threads based on a
Manoj Kasichainula [Fri, 23 Jul 1999 22:15:10 +0000 (22:15 +0000)]
Add support for dynamically creating and destroying threads based on a
Min/MaxSpareThreads algorithm, and clean up a couple of stray pieces of
gunk from the days of scoreboardhood.

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

25 years agoSupport for echo protocol, to show how multiprotocol support works.
Ben Laurie [Fri, 23 Jul 1999 18:52:29 +0000 (18:52 +0000)]
Support for echo protocol, to show how multiprotocol support works.

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

25 years agoActually, we should always close the connection when it is finished.
Ben Laurie [Fri, 23 Jul 1999 18:14:44 +0000 (18:14 +0000)]
Actually, we should always close the connection when it is finished.

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

25 years agoAnd with one bound, he was free! This seemingly minor change allows modules
Ben Laurie [Thu, 22 Jul 1999 19:17:21 +0000 (19:17 +0000)]
And with one bound, he was free! This seemingly minor change allows modules
to take over connection processing, thus making Apache multiprotocol. Woo!

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

25 years agoUpdate windows documentation to address questions on the newsgroups and PR database.
Bill Stoddard [Thu, 22 Jul 1999 17:50:59 +0000 (17:50 +0000)]
Update windows documentation to address questions on the newsgroups and PR database.

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

25 years agoFix silly bug. accept() has to be inside the accept mutexed block. doh.
Manoj Kasichainula [Wed, 21 Jul 1999 22:32:36 +0000 (22:32 +0000)]
Fix silly bug. accept() has to be inside the accept mutexed block. doh.

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

25 years agoCleanups and fixes. Get rid of more stuff having to do with scoreboard
Manoj Kasichainula [Wed, 21 Jul 1999 22:18:30 +0000 (22:18 +0000)]
Cleanups and fixes. Get rid of more stuff having to do with scoreboard
slots in the children. Also squashes a couple of bugs.

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

25 years agoSome fixing for startup of children after a graceful restart, so that the
Manoj Kasichainula [Wed, 21 Jul 1999 20:44:41 +0000 (20:44 +0000)]
Some fixing for startup of children after a graceful restart, so that the
processes can start faster.

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

25 years agoOops, forgot this one
Manoj Kasichainula [Wed, 21 Jul 1999 19:08:33 +0000 (19:08 +0000)]
Oops, forgot this one

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

25 years agoA new experimental MPM. Right now, it is the mpmt_pthread MPM with idle
Manoj Kasichainula [Wed, 21 Jul 1999 19:07:07 +0000 (19:07 +0000)]
A new experimental MPM. Right now, it is the mpmt_pthread MPM with idle
process management taken out (so the number of processes is constant)
and with the scoreboard eliminated (replaced with a little table seen
only by the parent). This will be a testbed for playing around with
thread pools.

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

25 years agoReleasing a semaphore you don't own isn't a fatal error.
Brian Havard [Mon, 19 Jul 1999 07:32:20 +0000 (07:32 +0000)]
Releasing a semaphore you don't own isn't a fatal error.
Also update with latest hook.

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

25 years agoAnother MPM-specific define to move into the pthread MPM.
Manoj Kasichainula [Mon, 19 Jul 1999 05:17:49 +0000 (05:17 +0000)]
Another MPM-specific define to move into the pthread MPM.

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

25 years agoSync module strucuture with the prefork MPM again.
Manoj Kasichainula [Sun, 18 Jul 1999 21:37:31 +0000 (21:37 +0000)]
Sync module strucuture with the prefork MPM again.

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

25 years agoAnother hook.
Ben Laurie [Sat, 17 Jul 1999 10:35:48 +0000 (10:35 +0000)]
Another hook.

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

25 years agoBe careful, accept_mutex_child_init() has to be done _before_
Ralf S. Engelschall [Fri, 16 Jul 1999 10:27:03 +0000 (10:27 +0000)]
Be careful, accept_mutex_child_init() has to be done _before_
unixd_setup_child() switches the process UID, because else under platforms
where the mutex is flock() based this fails...

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

25 years agoUse new module structure
Martin Kraemer [Fri, 16 Jul 1999 07:15:48 +0000 (07:15 +0000)]
Use new module structure

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

25 years agoMove HARD_SERVER_LIMIT, HARD_THREAD_LIMIT, and other defines from
Manoj Kasichainula [Fri, 16 Jul 1999 05:30:35 +0000 (05:30 +0000)]
Move HARD_SERVER_LIMIT, HARD_THREAD_LIMIT, and other defines from
httpd.h that are really mpm-specific, and move them into a header file
in each MPM directory.

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

25 years agopoll+accept without accept serialziation is dangerous, so for the
Manoj Kasichainula [Fri, 16 Jul 1999 00:24:04 +0000 (00:24 +0000)]
poll+accept without accept serialziation is dangerous, so for the
moment, keep serialization on all the time and get rid of the attempts
to make its usage thread-safe.

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

25 years agoMove the scoreboard header files for each MPM into the appropriate MPM
Manoj Kasichainula [Tue, 13 Jul 1999 20:32:50 +0000 (20:32 +0000)]
Move the scoreboard header files for each MPM into the appropriate MPM
subdirectories:

    src/include/scoreboard.h -> src/modules/mpm/mpmt_pthread/scoreboard.h
    src/include/scoreboard_prefork.h -> src/modules/mpm/prefork/scoreboard.h

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

25 years agoMore cleanup on OS/2 spmt mpm including shutdown/restart processing and
Brian Havard [Tue, 13 Jul 1999 09:31:59 +0000 (09:31 +0000)]
More cleanup on OS/2 spmt mpm including shutdown/restart processing and
moving variables to appropriate scope.

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

25 years agocommit David's beos port.
dgaudet [Mon, 12 Jul 1999 22:51:15 +0000 (22:51 +0000)]
commit David's beos port.

Submitted by: David Reid <abb37@dial.pipex.com>

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

25 years agoAssorted fixes for the OS/2 mpm:
Brian Havard [Mon, 12 Jul 1999 08:35:39 +0000 (08:35 +0000)]
Assorted fixes for the OS/2 mpm:
- pchild really should be thread local
- clean_child_exit() should call _endthread(), not exit()
- Use DosSleep() for delay in wait_or_timeout() instead of ap_select
- Rework logic of searching for listen rec in child main, was getting hung
  in infinite loop when two sockets were being listened to. NOTE: I got it
  from prefork.c originally so that's probably broken too.
- Remove a debugging fprintf I accidentally left in...

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

25 years agoAnother hook.
Ben Laurie [Sun, 11 Jul 1999 19:00:50 +0000 (19:00 +0000)]
Another hook.

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

25 years agoMake run_all symbolic.
Ben Laurie [Sun, 11 Jul 1999 16:42:24 +0000 (16:42 +0000)]
Make run_all symbolic.

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

25 years agoMake it all work on OS/2.
Brian Havard [Sun, 11 Jul 1999 14:49:06 +0000 (14:49 +0000)]
Make it all work on OS/2.
Includes an OS/2 specific single process, multithreaded mpm.

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

25 years agoAdd topological sorting to hook ordering.
Ben Laurie [Sun, 11 Jul 1999 13:27:27 +0000 (13:27 +0000)]
Add topological sorting to hook ordering.

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

25 years agoGet rid of the accept abstraction, which seems out-of-place in the MPM
Manoj Kasichainula [Fri, 9 Jul 1999 20:40:23 +0000 (20:40 +0000)]
Get rid of the accept abstraction, which seems out-of-place in the MPM
codebase, and make the poll-accept model the only model supported. Also,
some code was cleaned up and rewritten in the process.

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

25 years agoPrevent pthread.h from showing up in the Makefile dependancies when we
Manoj Kasichainula [Fri, 9 Jul 1999 20:30:15 +0000 (20:30 +0000)]
Prevent pthread.h from showing up in the Makefile dependancies when we
rerun "make depend"

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