]>
granicus.if.org Git - apache/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Martin Kraemer [Wed, 7 Jul 1999 15:31:58 +0000 (15:31 +0000)]
Sorry, but using C comments in place of C++ comments
makes life for me and my compiler much easier.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83440
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Wed, 7 Jul 1999 15:16:43 +0000 (15:16 +0000)]
Update to new module layout (Hooks)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83439
13f79535 -47bb-0310-9956-
ffa450edef68
Ben Laurie [Tue, 6 Jul 1999 21:32:15 +0000 (21:32 +0000)]
More hooky stuff.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83435
13f79535 -47bb-0310-9956-
ffa450edef68
Ben Laurie [Mon, 5 Jul 1999 13:00:45 +0000 (13:00 +0000)]
Strawman hooks implementation (beginning of).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83434
13f79535 -47bb-0310-9956-
ffa450edef68
Ken Coar [Sun, 4 Jul 1999 16:33:00 +0000 (16:33 +0000)]
<P></P> can't contain a <OL></OL> pair.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83432
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Sun, 4 Jul 1999 01:51:16 +0000 (01:51 +0000)]
Missed closing tag
Submitted by: Joshua Slive <slive@finance.commerce.ubc.ca>
Reviewed by: Roy Fielding
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83430
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Sat, 3 Jul 1999 22:12:50 +0000 (22:12 +0000)]
Some answers to problems that often come up on the www.servers.unix
newsgroup.
Submitted by: Joshua Slive <slive@finance.commerce.ubc.ca>
Reviewed by: Roy Fielding
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83428
13f79535 -47bb-0310-9956-
ffa450edef68
Manoj Kasichainula [Fri, 2 Jul 1999 18:22:27 +0000 (18:22 +0000)]
Use ap_new_connection in pthread MPM. This required adding an argument
to ap_new_connection for now: thread_num.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83422
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Fri, 2 Jul 1999 06:56:09 +0000 (06:56 +0000)]
This module has only been added to the distribution in 1.3.7-dev, so
update the compatibility version number.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83419
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Tue, 29 Jun 1999 15:13:07 +0000 (15:13 +0000)]
Add a new command-line option -T that's the same as -t, but it does
not do DirectoryRoot checking. This assumes:
1. command-line options are prefered over Config directives
2. we want to maintain current behavior while making
life easier for mass vhosting
3. everybody's happy
I leave the decision to whether apachectl should use -t or -T
to others.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83411
13f79535 -47bb-0310-9956-
ffa450edef68
Ralf S. Engelschall [Tue, 29 Jun 1999 14:32:15 +0000 (14:32 +0000)]
Fix context description of RedirectMatch. It's also
useable in per-dir context - similar to Redirect.
Submitted by: Klaus Johannes Rusch <KlausRusch@atmedia.net>
PR: 4611
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83409
13f79535 -47bb-0310-9956-
ffa450edef68