]> granicus.if.org Git - apache/log
apache
25 years agoForgot this hook...
Bill Stoddard [Mon, 30 Aug 1999 20:39:33 +0000 (20:39 +0000)]
Forgot this hook...

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

25 years agoLink in the winnt mpm
Bill Stoddard [Mon, 30 Aug 1999 20:37:16 +0000 (20:37 +0000)]
Link in the winnt mpm

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

25 years agoPort a few more modules to use the new hooks style.
Bill Stoddard [Mon, 30 Aug 1999 15:43:48 +0000 (15:43 +0000)]
Port a few more modules to use the new hooks style.

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

25 years agoAdd couple of hooks to the APacheCore.def file. Port mod_auth_anon and mod_digest to
Bill Stoddard [Mon, 30 Aug 1999 15:21:32 +0000 (15:21 +0000)]
Add couple of hooks to the APacheCore.def file. Port mod_auth_anon and mod_digest to
use the new hooks.

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

25 years agoLost the Apache feather icon along the way. Adding it back in...
Bill Stoddard [Mon, 30 Aug 1999 15:04:27 +0000 (15:04 +0000)]
Lost the Apache feather icon along the way. Adding it back in...

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

25 years agoUpdate OS/2 MPM for latest hooks.
Brian Havard [Mon, 30 Aug 1999 14:47:21 +0000 (14:47 +0000)]
Update OS/2 MPM for latest hooks.

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

25 years agoRemove some shadowing
Jim Jagielski [Sat, 28 Aug 1999 13:31:36 +0000 (13:31 +0000)]
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

25 years agoget rid of two additional warnings
Ralf S. Engelschall [Sat, 28 Aug 1999 13:00:55 +0000 (13:00 +0000)]
get rid of two additional warnings

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

25 years agoclean_child_exit() is really used globally inside dexter MPM,
Ralf S. Engelschall [Sat, 28 Aug 1999 12:37:58 +0000 (12:37 +0000)]
clean_child_exit() is really used globally inside dexter MPM,
so rename it to ap_clean_child_exit().

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

25 years agoFix the following bunch of warnings in dexter MPM:
Ralf S. Engelschall [Sat, 28 Aug 1999 12:32:11 +0000 (12:32 +0000)]
Fix the following bunch of warnings in dexter MPM:

egcc -c  -I../../../os/unix -I../../../include -I../../../modules/mpm/dexter
-pipe -O2 -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-align
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline
-Wno-long-long -funsigned-char -DTARGET=\"apache\" -DUSE_EXPAT
-I../../../lib/expat-lite `../../../apaci` dexter.c
dexter.c:188: warning: no previous prototype for `clean_child_exit'
dexter.c:491: warning: no previous prototype for `ap_start_shutdown'
dexter.c:504: warning: no previous prototype for `ap_start_restart'
dexter.c:682: warning: declaration of `pconf' shadows global declaration
dexter.c: In function `setup_listeners':
dexter.c:683: warning: declaration of `pconf' shadows global declaration
dexter.c: In function `process_socket':
dexter.c:744: warning: pointer targets in passing arg 3 of `getsockname'
differ in signedness
dexter.c: In function `worker_thread':
dexter.c:932: warning: pointer targets in passing arg 3 of `accept' differ in
signedness
dexter.c: In function `ap_mpm_run':
dexter.c:1365: warning: declaration of `i' shadows previous local
dexter.c: At top level:
dexter.c:1404: warning: declaration of `pconf' shadows global declaration
dexter.c: In function `dexter_pre_config':
dexter.c:1405: warning: declaration of `pconf' shadows global declaration

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

25 years agoMake ``configure --with-option=devel'' under
Ralf S. Engelschall [Sat, 28 Aug 1999 12:22:10 +0000 (12:22 +0000)]
Make ``configure --with-option=devel'' under
GCC 2.95.1 happy by avoiding various warnings...

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

25 years agoEnough for one week.
Roy T. Fielding [Sat, 28 Aug 1999 03:25:04 +0000 (03:25 +0000)]
Enough for one week.

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

25 years agono shortage of things TODO
Roy T. Fielding [Sat, 28 Aug 1999 02:44:09 +0000 (02:44 +0000)]
no shortage of things TODO

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

25 years agoRemove error message that was missed in an earlier merge with 1.3.x.
Roy T. Fielding [Sat, 28 Aug 1999 02:37:59 +0000 (02:37 +0000)]
Remove error message that was missed in an earlier merge with 1.3.x.

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

25 years agoFix merge bug
Bill Stoddard [Sat, 28 Aug 1999 02:34:37 +0000 (02:34 +0000)]
Fix merge bug

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

25 years agoMove "handler not found" warning message to below the check
Roy T. Fielding [Fri, 27 Aug 1999 23:47:09 +0000 (23:47 +0000)]
Move "handler not found" warning message to below the check
for a wildcard handler.  Gee, you'd think someone would have
fixed it before seven PRs.

PR: 2584, 3349, 3436, 3548, 4384, 4795, 4807
Submitted by: Dirk <dirkm@teleport.com>, Roy Fielding

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

25 years agoA bunch of changes to get the server compiling on WIN32. mod_cgi, mod_include,
Bill Stoddard [Fri, 27 Aug 1999 22:57:27 +0000 (22:57 +0000)]
A bunch of changes to get the server compiling on WIN32. mod_cgi, mod_include,
mod_isapi and mod_so don't work so I am not making them. Moved a lot of code out
of multithread.*  and into os.* (didn't want to add multithread to the new repository).
Much of this can be cleaned up when APR is stable.

And Dean's gonna but me for sure for the http_main hit. It's may be
possible to name a DLL entry point 'main()'. Just havent tried it yet.

Enjoy!

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

25 years agoReverse the unnecessary change to the interface of ap_parseHTTPdate()
Roy T. Fielding [Fri, 27 Aug 1999 22:18:49 +0000 (22:18 +0000)]
Reverse the unnecessary change to the interface of ap_parseHTTPdate()
that was discovered while rebuilding the repository.

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

25 years agoSome cleanups. Among other things:
Manoj Kasichainula [Fri, 27 Aug 1999 22:16:18 +0000 (22:16 +0000)]
Some cleanups. Among other things:
  - The scoreboard is gond, so we don't call it that anymore
  - We were accessing the child table through a weird combination of
    wrappers and direct access; just switch to direct access and get rid
    of scoreboard.[ch]

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

25 years agoReverse the errors from bad merges that were found while
Roy T. Fielding [Fri, 27 Aug 1999 22:03:06 +0000 (22:03 +0000)]
Reverse the errors from bad merges that were found while
rebuilding the repository.

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

25 years agoBe consistent with how we indicate child death and use status =
Manoj Kasichainula [Fri, 27 Aug 1999 21:28:16 +0000 (21:28 +0000)]
Be consistent with how we indicate child death and use status =
SERVER_DEAD instead of pid = 0. I don't think this actually caused any
bugs, but just in case...

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

25 years agoFix a bug in setting max_daemons_limit that could lead to not noticing
Manoj Kasichainula [Fri, 27 Aug 1999 21:22:28 +0000 (21:22 +0000)]
Fix a bug in setting max_daemons_limit that could lead to not noticing
that a child has died in some cases.

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

25 years agoWIN32: htdigest and htpasswd project and make files for Win32 were deleted
Bill Stoddard [Fri, 27 Aug 1999 20:43:41 +0000 (20:43 +0000)]
WIN32: htdigest and htpasswd project and make files for Win32 were deleted
somewhere along the way. Adding them back...

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

25 years agoYay! A whole new repository for silly comments about weather, pop
Manoj Kasichainula [Fri, 27 Aug 1999 19:02:51 +0000 (19:02 +0000)]
Yay! A whole new repository for silly comments about weather, pop
culture, and spoons.

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

25 years agoFirst crack at a status file for Apache 2.0. Please fix mistakes and
Manoj Kasichainula [Fri, 27 Aug 1999 18:57:17 +0000 (18:57 +0000)]
First crack at a status file for Apache 2.0. Please fix mistakes and
add/rearrange your pet projects

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

25 years agoNow that this beast was officially declared as the Apache 2.0 stuff, let it
Ralf S. Engelschall [Fri, 27 Aug 1999 10:20:37 +0000 (10:20 +0000)]
Now that this beast was officially declared as the Apache 2.0 stuff, let it
also say this in his Server headers while testing.  Those who dislike numbers:
feel free to name it "foo" or whatever meaningless if it's important that we
still do not use numbers. I just want that the version corresponds to the
repository area, because I often get confused by running different Apache
versions on my development box.

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

25 years agoGet rid of the stupid Id line that makes merges impossible.
Roy T. Fielding [Thu, 26 Aug 1999 18:29:09 +0000 (18:29 +0000)]
Get rid of the stupid Id line that makes merges impossible.

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

25 years agoUpdate all exports for pthreads and MPM
Roy T. Fielding [Thu, 26 Aug 1999 18:27:57 +0000 (18:27 +0000)]
Update all exports for pthreads and MPM

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

25 years agoAdd define for ap_spawnvp. Dean removed obsolete symbols NO_OTHER_CHILD
Roy T. Fielding [Thu, 26 Aug 1999 18:11:33 +0000 (18:11 +0000)]
Add define for ap_spawnvp.  Dean removed obsolete symbols NO_OTHER_CHILD
and NO_RELIABLE_PIPED_LOGS.

Submitted by: Ryan Bloom, Manoj Kasichainula

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

25 years agoAdd ap_spawnvp for thread safety.
Roy T. Fielding [Thu, 26 Aug 1999 18:06:13 +0000 (18:06 +0000)]
Add ap_spawnvp for thread safety.

Submitted by: Ryan Bloom, Manoj Kasichainula

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

25 years agoUpdate (or is this reversing ???) the JCL examples for TPF.
Roy T. Fielding [Thu, 26 Aug 1999 18:02:06 +0000 (18:02 +0000)]
Update (or is this reversing ???) the JCL examples for TPF.

Submitted by: MPM leftovers

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

25 years agoOS/2 EMX library's select() isn't thread safe so bypass it and go direct to
Roy T. Fielding [Thu, 26 Aug 1999 17:58:01 +0000 (17:58 +0000)]
OS/2 EMX library's select() isn't thread safe so bypass it and go direct to
the OS/2 API call. Unfortunately this only works on socket handles which will
break probe_writable_fds() so I'll have to find a way to fix that too.

Submitted by: Brian Havard

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

25 years agoChanges for thread safety in pthreads.
Roy T. Fielding [Thu, 26 Aug 1999 17:38:57 +0000 (17:38 +0000)]
Changes for thread safety in pthreads.

Submitted by: Ryan Bloom

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

25 years agoChanges to mod_status so that the two new states for threads are recognized
Roy T. Fielding [Thu, 26 Aug 1999 17:34:28 +0000 (17:34 +0000)]
Changes to mod_status so that the two new states for threads are recognized
and reported properly.

Submitted by: Ryan Bloom

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

25 years agoReplace comment about SIGUSR1 with SIGWINCH.
Roy T. Fielding [Thu, 26 Aug 1999 17:32:02 +0000 (17:32 +0000)]
Replace comment about SIGUSR1 with SIGWINCH.

Submitted by: Manoj Kasichainula

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

25 years agoRemove ap_excess_requests_per_child reference that broke compilation,
Roy T. Fielding [Thu, 26 Aug 1999 17:30:18 +0000 (17:30 +0000)]
Remove ap_excess_requests_per_child reference that broke compilation,
for now anyway.  Likewise for run mode, which is now obsolete.

Submitted by: Manoj Kasichainula

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

25 years agoTODO: changing directory should be handled by CreateProcess
Roy T. Fielding [Thu, 26 Aug 1999 17:26:45 +0000 (17:26 +0000)]
TODO: changing directory should be handled by CreateProcess

Submitted by: Dean Gaudet

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

25 years agoRemove support for ap_suexec_enabled
Roy T. Fielding [Thu, 26 Aug 1999 17:25:09 +0000 (17:25 +0000)]
Remove support for ap_suexec_enabled

Submitted by: Dean Gaudet

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

25 years agoModifications to make mod_unique_id thread safe. This should work on Windows,
Roy T. Fielding [Thu, 26 Aug 1999 17:22:35 +0000 (17:22 +0000)]
Modifications to make mod_unique_id thread safe.  This should work on Windows,
but no guarantees.  I haven't verified it will always give a unique ID, but
the logic is good.  I'll write some test cases to see if I can make it fail
later.

Submitted by: Ryan Bloom

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

25 years agoRemove timeouts as part of pthreads changes.
Roy T. Fielding [Thu, 26 Aug 1999 17:17:22 +0000 (17:17 +0000)]
Remove timeouts as part of pthreads changes.

Submitted by: Bill Stoddard

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

25 years agoExtra bit left off of hook additions.
Roy T. Fielding [Thu, 26 Aug 1999 17:11:08 +0000 (17:11 +0000)]
Extra bit left off of hook additions.

Submitted by: Ben Laurie

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

25 years agoStart to implement module-defined hooks that are a) fast and b) typesafe.
Roy T. Fielding [Thu, 26 Aug 1999 17:09:12 +0000 (17:09 +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@83786 13f79535-47bb-0310-9956-ffa450edef68

25 years agoAdd prototype for ap_select on OS/2
Roy T. Fielding [Thu, 26 Aug 1999 16:54:14 +0000 (16:54 +0000)]
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

25 years agoMore MPM changes. Remove NO_OTHER_CHILD defines.
Roy T. Fielding [Thu, 26 Aug 1999 16:52:53 +0000 (16:52 +0000)]
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

25 years agoSpecial Support for User-Space Threading Environments
Roy T. Fielding [Thu, 26 Aug 1999 16:49:14 +0000 (16:49 +0000)]
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

25 years agoMore MPM changes. Remove ap_can_exec and add a couple prototypes.
Roy T. Fielding [Thu, 26 Aug 1999 16:43:56 +0000 (16:43 +0000)]
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

25 years agoOptimize ap_make_dirstr_prefix().
Roy T. Fielding [Thu, 26 Aug 1999 16:37:41 +0000 (16:37 +0000)]
Optimize ap_make_dirstr_prefix().

Submitted by: Manoj Kasichainula

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

25 years agoReplace file descriptors with APRFile.
Roy T. Fielding [Thu, 26 Aug 1999 16:34:15 +0000 (16:34 +0000)]
Replace file descriptors with APRFile.

Submitted by: Bill Stoddard

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

25 years agoOdd comments and leftover bits from the pthreads version.
Roy T. Fielding [Thu, 26 Aug 1999 16:30:39 +0000 (16:30 +0000)]
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

25 years agoAdd an erroe message when handler not found. This may be bogus,
Roy T. Fielding [Thu, 26 Aug 1999 16:08:08 +0000 (16:08 +0000)]
Add an erroe message when handler not found.  This may be bogus,
since a change similar to this in 1.3.x generated many PR complaints.

Submitted by: pthreads leftovers

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

25 years agoReplace SIGUSR1 with SIGWINCH
Roy T. Fielding [Thu, 26 Aug 1999 16:04:13 +0000 (16:04 +0000)]
Replace SIGUSR1 with SIGWINCH

Submitted by: Manoj Kasichainula

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

25 years agoTODO: re-implement SAFEREAD external to BUFF using a layer
Roy T. Fielding [Thu, 26 Aug 1999 16:02:06 +0000 (16:02 +0000)]
TODO: re-implement SAFEREAD external to BUFF using a layer

Submitted by: Dean Gaudet

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

25 years agoUse less memory when generating an error message.
Roy T. Fielding [Thu, 26 Aug 1999 15:52:46 +0000 (15:52 +0000)]
Use less memory when generating an error message.

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

25 years agoFaster versions of ap_gm_timestr_822() and ap_unescape_url().
Roy T. Fielding [Thu, 26 Aug 1999 15:47:49 +0000 (15:47 +0000)]
Faster versions of ap_gm_timestr_822() and ap_unescape_url().

Submitted by: Manoj Kasichainula

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

25 years agoFIXME: These changes are just errors from bad merges in the past.
Roy T. Fielding [Thu, 26 Aug 1999 15:17:10 +0000 (15:17 +0000)]
FIXME: These changes are just errors from bad merges in the past.

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

25 years agoThis evil little change modifies the interface to ap_parseHTTPdate()
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

25 years agoSorry, but using C comments in place of C++ comments
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

25 years agoStart to implement module-defined hooks that are a) fast and b) typesafe.
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

25 years agoChanges from pthreads. Removes timeouts, adds mutex.
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

25 years agoRemoved timeouts.
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

25 years agouser and ap_auth_type fields were moved from connection_rec to request_rec
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

25 years agoReplace all alarms and timeouts with a mutex on alloc.
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

25 years agoParts where server was eliminated from connection rec.
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

25 years agoRemoved RLIMIT stuff, supposedly to be implemented later in mod_cgi.
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

25 years agoRearchitect the mess in http_main.c, http_core.c and buff.c.
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

25 years agoReplace file descriptor with APRFile [Dean]
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

25 years agoA run alias for personal use.
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

25 years agoMake process model directives conditional based on MPM module.
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

25 years agoReduce default MaxClients for testing MPM.
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

25 years agoUpdate Lars' key
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

25 years agoBlush.. this should have been removed long ago. Stumbled across
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

25 years agoApache 1.3.9 baseline for the Apache 2.0 repository.
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

25 years agoApache 1.3.9 baseline for the Apache 2.0 repository.
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

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