Ryan Bloom
69adf379b4
Remove all of the calls to functions like "ap_popenf". These functions were
...
moved down to APR, but they are being removed. They are not portable, and
were only moved down for backwards compatability. With this change, they can
be safely removed, which is the next commit on it's way.
Submitted by: Ryan Bloom and Paul Reder
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83879 13f79535-47bb-0310-9956-ffa450edef68
1999-09-08 14:15:55 +00:00
Ryan Bloom
c37f14ddf3
Changed pools to contexts. Tested with prefork and pthread mpm's. I'll
...
check this out tomorrow and make sure everything was checked in correctly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83852 13f79535-47bb-0310-9956-ffa450edef68
1999-08-31 05:35:52 +00:00
Jim Jagielski
3b4a4499c2
Remove some shadowing
...
warnings. Avoid some possible confusion as well :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83840 13f79535-47bb-0310-9956-ffa450edef68
1999-08-28 13:31:36 +00:00
Ben Laurie
78847f9190
Child initializer hook.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83680 13f79535-47bb-0310-9956-ffa450edef68
1999-08-15 00:11:18 +00:00
Ben Laurie
9aecb9f843
Auth checker hook
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83679 13f79535-47bb-0310-9956-ffa450edef68
1999-08-15 00:01:25 +00:00
Ben Laurie
80160d27a0
Access checker hook.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83678 13f79535-47bb-0310-9956-ffa450edef68
1999-08-14 23:46:44 +00:00
Manoj Kasichainula
89338891e0
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
1999-08-13 21:54:06 +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
dgaudet
a0ad84fbe8
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
1999-08-06 00:55:28 +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
d61fe22a65
Another hook.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83548 13f79535-47bb-0310-9956-ffa450edef68
1999-08-01 14:43:28 +00:00
Ben Laurie
2746674d11
Another hook.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83547 13f79535-47bb-0310-9956-ffa450edef68
1999-08-01 14:12:33 +00:00
Ben Laurie
ec496cb324
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
1999-07-27 21:16:46 +00:00
Ben Laurie
72cf120387
Fix a warning.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83513 13f79535-47bb-0310-9956-ffa450edef68
1999-07-27 13:31:20 +00:00
dgaudet
5dfa1ce145
- 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
1999-07-27 12:05:08 +00:00
Ben Laurie
0485394662
Make sure we terminate.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83503 13f79535-47bb-0310-9956-ffa450edef68
1999-07-25 14:03:16 +00:00
Ben Laurie
a867fa6abb
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
1999-07-25 13:58:58 +00:00
Ben Laurie
3c90bf9873
Another hook.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83499 13f79535-47bb-0310-9956-ffa450edef68
1999-07-24 18:38:55 +00:00
Ben Laurie
48d5f9f6cb
Another hook.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83498 13f79535-47bb-0310-9956-ffa450edef68
1999-07-24 18:16:11 +00:00
Ben Laurie
b293e9f684
Fix listener selection logic.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83496 13f79535-47bb-0310-9956-ffa450edef68
1999-07-24 13:55:56 +00:00
Ben Laurie
8892eab004
Another hook.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83462 13f79535-47bb-0310-9956-ffa450edef68
1999-07-17 10:35:48 +00:00
Manoj Kasichainula
283f046873
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
1999-07-16 05:30:35 +00:00
Manoj Kasichainula
0c2af0a578
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
1999-07-13 20:32:50 +00:00
Ben Laurie
d935d798f0
Another hook.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83452 13f79535-47bb-0310-9956-ffa450edef68
1999-07-11 19:00:50 +00:00
Ben Laurie
38636a0a35
Add topological sorting to hook ordering.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83449 13f79535-47bb-0310-9956-ffa450edef68
1999-07-11 13:27:27 +00:00
Ben Laurie
d460554109
More hooky stuff.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83435 13f79535-47bb-0310-9956-ffa450edef68
1999-07-06 21:32:15 +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
Ben Laurie
e021b95ded
If last_lr is the last listener, then lr can start out NULL.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83389 13f79535-47bb-0310-9956-ffa450edef68
1999-06-26 12:25:36 +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
4786e9a31e
I think this is a better i/o layer interface.
...
- move main/iol_unix.c to os/unix/iol_socket.c
- create main/iol_file.c ... use APR methods eventually
- remove iol_data from ap_iol, instead the ap_iol is just embedded into
the private data of the i/o layer
- remove ap_bpushfd(), replace with ap_bpush_iol()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83375 13f79535-47bb-0310-9956-ffa450edef68
1999-06-24 08:58:03 +00:00
dgaudet
0a0920b4b8
new-fangled BUFF... this could easily be broken, but hey, the one that
...
was in here before was broken in different ways... I've served up a few
pages with this one.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83373 13f79535-47bb-0310-9956-ffa450edef68
1999-06-24 07:29:32 +00:00
Jim Jagielski
b75c7339bd
Consistant and shorter naming
...
of MPM methods implemented.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83372 13f79535-47bb-0310-9956-ffa450edef68
1999-06-24 01:57:58 +00:00