Roy T. Fielding
aa9f315839
Add prototype for ap_select on OS/2
...
Submitted by: Brian Havard
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83785 13f79535-47bb-0310-9956-ffa450edef68
1999-08-26 16:54:14 +00:00
Roy T. Fielding
174302fd22
More MPM changes. Remove NO_OTHER_CHILD defines.
...
Submitted by: Dean Gaudet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83784 13f79535-47bb-0310-9956-ffa450edef68
1999-08-26 16:52:53 +00:00
Roy T. Fielding
e7fd96857e
Special Support for User-Space Threading Environments
...
Submitted by: Ralf S. Engelschall
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83783 13f79535-47bb-0310-9956-ffa450edef68
1999-08-26 16:49:14 +00:00
Roy T. Fielding
d747e338c8
More MPM changes. Remove ap_can_exec and add a couple prototypes.
...
Submitted by: Dean Gaudet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83782 13f79535-47bb-0310-9956-ffa450edef68
1999-08-26 16:43:56 +00:00
Roy T. Fielding
44679abe2b
Odd comments and leftover bits from the pthreads version.
...
The comments really should be deleted, or at least cleaned up.
Submitted by: pthreads leftovers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83779 13f79535-47bb-0310-9956-ffa450edef68
1999-08-26 16:30:39 +00:00
Roy T. Fielding
c5a36ee6c2
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
1999-08-26 14:53:24 +00:00
Roy T. Fielding
e3978962f9
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
1999-08-26 14:18:40 +00:00
Roy T. Fielding
19bca355c1
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
1999-08-26 12:54:16 +00:00
Roy T. Fielding
bab4dcb050
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
1999-08-26 10:45:57 +00:00
Roy T. Fielding
b09d9fa1cc
Replace file descriptor with APRFile [Dean]
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83762 13f79535-47bb-0310-9956-ffa450edef68
1999-08-26 07:21:44 +00:00
Roy T. Fielding
ef31f58424
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
1999-08-24 05:50:50 +00:00
Manoj Kasichainula
2ab2189444
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
1999-08-13 06:58:08 +00:00
Manoj Kasichainula
2bc99dc33d
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
1999-08-05 19:56:24 +00:00
Ben Laurie
ec84a171ef
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
1999-07-22 19:17:21 +00:00
Ben Laurie
529108e58a
Strawman hooks implementation (beginning of).
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83434 13f79535-47bb-0310-9956-ffa450edef68
1999-07-05 13:00:45 +00:00
Manoj Kasichainula
327369045d
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
1999-07-02 18:22:27 +00:00
Ben Laurie
d4ecd1b907
New API for I/O layering, and dependency updates.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83398 13f79535-47bb-0310-9956-ffa450edef68
1999-06-29 09:00:25 +00:00
Manoj Kasichainula
34f01e3709
Change method of checking for active FDs after poll() in the pthread
...
MPM. The new method doesn't require any changes to the listen
abstraction.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83394 13f79535-47bb-0310-9956-ffa450edef68
1999-06-29 02:49:29 +00:00
Manoj Kasichainula
db15def934
Updated the pthread MPM to work with the rest of the code
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83390 13f79535-47bb-0310-9956-ffa450edef68
1999-06-27 03:45:15 +00:00
dgaudet
405ecf711c
- ap_listen.h: interface to Listen, ListenBackLog and SendBufferSize
...
directives
- I didn't update mpmt_pthread with this change, it shouldn't be hard to fix.
- maybe this isn't the best way to abstract listen... but it gets a little
bit of the job done
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83385 13f79535-47bb-0310-9956-ffa450edef68
1999-06-25 01:25:11 +00:00
dgaudet
10a5e5bba2
ap_mpm_graceful_stop -> ap_graceful_stop_signalled
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83355 13f79535-47bb-0310-9956-ffa450edef68
1999-06-20 23:09:53 +00:00
dgaudet
e35df818ef
documentation
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83353 13f79535-47bb-0310-9956-ffa450edef68
1999-06-20 22:05:13 +00:00
dgaudet
70ff924463
crude ap_thread_mutex abstraction
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83351 13f79535-47bb-0310-9956-ffa450edef68
1999-06-20 21:12:49 +00:00
dgaudet
db82a6637e
Initial revision
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83343 13f79535-47bb-0310-9956-ffa450edef68
1999-06-18 18:39:23 +00:00