]>
granicus.if.org Git - apache/log
Roy T. Fielding [Thu, 26 Aug 1999 14:53:24 +0000 (14:53 +0000)]
This evil little change modifies the interface to ap_parseHTTPdate()
for no good reason. It'll be backed out real soon.
Submitted by: pthreads leftovers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83772
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Thu, 26 Aug 1999 14:37:39 +0000 (14:37 +0000)]
Sorry, but using C comments in place of C++ comments
makes life for me and my compiler much easier.
This one should be back-ported to Apache 1.3.10-dev
Submitted by: Martin Kraemer
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83771
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Thu, 26 Aug 1999 14:18:40 +0000 (14:18 +0000)]
Start to implement module-defined hooks that are a) fast and b) typesafe.
Replace pre_connection module call with a register_hook call and
implement pre_connection as a hook. The intent is that these hooks will
be extended to allow Apache to be multi-protocol, and also to allow the
calling order to be specified on a per-hook/per-module basis. [Ben Laurie]
Port a bunch of modules to the new module structure.
["Michael H. Voase" <mvoase@midcoast.com.au>]
Submitted by: Ben Laurie
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83770
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Thu, 26 Aug 1999 14:15:07 +0000 (14:15 +0000)]
Changes from pthreads. Removes timeouts, adds mutex.
This probably breaks the proxy on everything but pthreads.
Submitted by: Bill Stoddard
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83769
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Thu, 26 Aug 1999 14:11:38 +0000 (14:11 +0000)]
Removed timeouts.
Submitted by: Bill Stoddard, Dean Gaudet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83768
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Thu, 26 Aug 1999 13:57:37 +0000 (13:57 +0000)]
user and ap_auth_type fields were moved from connection_rec to request_rec
Submitted by: Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83767
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Thu, 26 Aug 1999 12:54:16 +0000 (12:54 +0000)]
Replace all alarms and timeouts with a mutex on alloc.
Replace file descriptors with APRFile.
Add ap_is_aborted macro.
Submitted by: Bill Stoddard, Dean Gaudet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83766
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Thu, 26 Aug 1999 12:13:02 +0000 (12:13 +0000)]
Parts where server was eliminated from connection rec.
Submitted by: Dean Gaudet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83765
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Thu, 26 Aug 1999 12:02:31 +0000 (12:02 +0000)]
Removed RLIMIT stuff, supposedly to be implemented later in mod_cgi.
Disabled suexec, supposedly to be reimplemented later.
Submitted by: Bill Stoddard, Dean Gaudet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83764
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Thu, 26 Aug 1999 10:45:57 +0000 (10:45 +0000)]
Rearchitect the mess in http_main.c, http_core.c and buff.c.
Basic restructuring to introduce the MPM concept; includes various
changes to the module API... better described by docs/initial_blurb.txt.
Created multiple process model (MPM) concept by ripping out the process
guts from http_main.c and http_core.c and moving them to separate files
under src/modules/mpm/
Moved socket creation stuff to listen.c.
Moved connection open, maintenance and close to http_connection.c.
I/O layering and BUFF revamp. Much of buff.c moved to ap_iol,
iol_socket, and iol_file. See docs/buff.txt.
Moved user and auth fields from connection_rec to request_rec.
Removed RLIMIT stuff, supposedly to be implemented later in mod_cgi.
Disabled suexec, supposedly to be reimplemented later.
Submitted by: Dean Gaudet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83763
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Thu, 26 Aug 1999 07:21:44 +0000 (07:21 +0000)]
Replace file descriptor with APRFile [Dean]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83762
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Thu, 26 Aug 1999 06:23:55 +0000 (06:23 +0000)]
A run alias for personal use.
Submitted by: Dean Gaudet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83761
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Thu, 26 Aug 1999 05:17:40 +0000 (05:17 +0000)]
Make process model directives conditional based on MPM module.
Add examples for each MPM.
Submitted by: Dean Gaudet, Ralf S. Engelschall
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83760
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Thu, 26 Aug 1999 05:13:00 +0000 (05:13 +0000)]
Reduce default MaxClients for testing MPM.
[This file is probably obsolete -- Roy]
Submitted by: Dean Gaudet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83759
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Thu, 26 Aug 1999 05:05:16 +0000 (05:05 +0000)]
Update Lars' key
Submitted by: Lars Eilebrecht
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83756
13f79535 -47bb-0310-9956-
ffa450edef68
Dirk-Willem van Gulik [Wed, 25 Aug 1999 12:49:22 +0000 (12:49 +0000)]
Blush.. this should have been removed long ago. Stumbled across
it whilst trying to write a quick parser to get some well formed
or meaningfull semantics to then have XML or SGML to play with..
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83753
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Tue, 24 Aug 1999 06:55:44 +0000 (06:55 +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@83751
13f79535 -47bb-0310-9956-
ffa450edef68
Roy T. Fielding [Tue, 24 Aug 1999 06:46:03 +0000 (06:46 +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@83750
13f79535 -47bb-0310-9956-
ffa450edef68
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
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
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
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
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
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
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
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
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
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
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
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