]> granicus.if.org Git - apache/log
apache
24 years agoFirst patch to re-order function parameters. This one gets the low hanging
Ryan Bloom [Mon, 4 Oct 1999 16:38:16 +0000 (16:38 +0000)]
First patch to re-order function parameters.  This one gets the low hanging
fruit, and moves most of the result parameters to the first argument.
Future patches in this series will move the rest of the result parameters
to the beginning of the list, and will move the context's to the end of the
list

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

24 years agoExit the child process if too many select errors
Bill Stoddard [Fri, 1 Oct 1999 17:18:28 +0000 (17:18 +0000)]
Exit the child process if too many select errors

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

24 years agoStop CVS from complaing about a manually created src/lib/pth/ subdir
Ralf S. Engelschall [Mon, 27 Sep 1999 07:29:08 +0000 (07:29 +0000)]
Stop CVS from complaing about a manually created src/lib/pth/ subdir
if one build with GNU Pth through the pre-configured setup in config.options.

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

24 years agoMake the support stuff finitely working again.
Ralf S. Engelschall [Mon, 27 Sep 1999 07:19:55 +0000 (07:19 +0000)]
Make the support stuff finitely working again.

BTW, how can it be that nowadays it can happen that the Apache Group has a
source tree which doesn't compile under Unix for more than two weeks (I was
busy with exams and it didn't compile src/support/ already there)? In the past
this was definitely not possible.  Seems like the source-centered hacker focus
drifts away... sorry, for me this seems like a horrifying evolution, friends.
Please let us always make sure that the source at least compiles. I don't want
to say it should also run, but hell, it should at least compile and if not it
should be fixed within a few days...

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

24 years agoRestarts were hosed after the APR changes because we were opening
Manoj Kasichainula [Fri, 24 Sep 1999 22:01:21 +0000 (22:01 +0000)]
Restarts were hosed after the APR changes because we were opening
sockets even when we had them open already. So, for now, add an "active"
flag that indicates whether the socket stored in the listen_rec is an
actual open socket yet.

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

24 years agoFix some broken logic. This logic now replicates what is in Apache 1.3.
Bill Stoddard [Fri, 24 Sep 1999 21:21:20 +0000 (21:21 +0000)]
Fix some broken logic. This logic now replicates what is in Apache 1.3.

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

24 years agoWhen generating the Location: header, mod_speling forgot
Martin Kraemer [Thu, 23 Sep 1999 19:29:13 +0000 (19:29 +0000)]
When generating the Location: header, mod_speling forgot
to escape the spelling-fixed uri. (Forward-Port from 1.3)

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

24 years agoMove ap_pregcomp and ap_pregfree from APR to Apache proper, since these
Manoj Kasichainula [Mon, 20 Sep 1999 22:18:51 +0000 (22:18 +0000)]
Move ap_pregcomp and ap_pregfree from APR to Apache proper, since these
functions depend on Apache's regex libraries. This also should fix
compilation on platforms not using hsregex.

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

24 years agoMake ap_getipaddr threadsafe.
Ben Laurie [Sat, 18 Sep 1999 11:48:17 +0000 (11:48 +0000)]
Make ap_getipaddr threadsafe.

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

24 years agoInstead of blocking all signals in child_main, we were unblocking them;
Manoj Kasichainula [Fri, 17 Sep 1999 23:32:11 +0000 (23:32 +0000)]
Instead of blocking all signals in child_main, we were unblocking them;
this fixes that. Reported by Dave Colasurdo <davecola@us.ibm.com>.

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

24 years agoUpdate FAQ with winsock 2 info..
Bill Stoddard [Fri, 17 Sep 1999 17:31:37 +0000 (17:31 +0000)]
Update FAQ with winsock 2 info..

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

24 years agoA change to how APR uses user data. Now, user data is a linked list that
Ryan Bloom [Tue, 14 Sep 1999 13:37:45 +0000 (13:37 +0000)]
A change to how APR uses user data.  Now, user data is a linked list that
is retreivable using a char string.  Basically, you provide a string that
will be used as a key when you store the data.  If the key was used before,
we will overwrite the old data.  When you want to retreive your data, pass
in the same key, and we will find the data you care about.  This also makes
it harder to put user data in when creating a context, so that option has
disappeared.  It is also impossible to inherit user data from parent contexts.
This option may be added in later.  I will be documenting this VERY soon.

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

24 years agoCut out cruft... More APR'izing...
Bill Stoddard [Mon, 13 Sep 1999 18:30:32 +0000 (18:30 +0000)]
Cut out cruft... More APR'izing...

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

24 years agoAdd apr include file search path. Remove alloc.c and alloc.h
Bill Stoddard [Mon, 13 Sep 1999 17:03:29 +0000 (17:03 +0000)]
Add apr include file search path. Remove alloc.c and alloc.h

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

24 years agoAdd apr include path to win32 dsp and make file
Bill Stoddard [Mon, 13 Sep 1999 15:20:53 +0000 (15:20 +0000)]
Add apr include path to win32 dsp and make file

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

24 years agoA bit of WIN32 header file cleanup
Bill Stoddard [Mon, 13 Sep 1999 14:07:22 +0000 (14:07 +0000)]
A bit of WIN32 header file cleanup

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

24 years agoFix warnings.
Ben Laurie [Sat, 11 Sep 1999 22:14:37 +0000 (22:14 +0000)]
Fix warnings.

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

24 years agoUse return status instead of character value for EOF.
Ben Laurie [Sat, 11 Sep 1999 22:14:11 +0000 (22:14 +0000)]
Use return status instead of character value for EOF.

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

24 years agoReally get rid of unused options.
Ben Laurie [Sat, 11 Sep 1999 19:52:27 +0000 (19:52 +0000)]
Really get rid of unused options.

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

24 years agoThis change should allow Apache to build on all platforms with the popenf
Ryan Bloom [Sat, 11 Sep 1999 15:58:37 +0000 (15:58 +0000)]
This change should allow Apache to build on all platforms with the popenf
changes.  I have not been able to test this, but it should be evident what I
am doing if it doesn't work.

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

24 years agoMake prefork compile on FreeBSD.
Ben Laurie [Sat, 11 Sep 1999 10:25:59 +0000 (10:25 +0000)]
Make prefork compile on FreeBSD.

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

24 years agoUpdate dexter to work with the latest APR changes
Manoj Kasichainula [Wed, 8 Sep 1999 18:58:46 +0000 (18:58 +0000)]
Update dexter to work with the latest APR changes

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

24 years agoRemove all of the calls to functions like "ap_popenf". These functions were
Ryan Bloom [Wed, 8 Sep 1999 14:15:55 +0000 (14:15 +0000)]
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

24 years agobeos updates from David Reid <beos@server1.jetnet.co.uk>
dgaudet [Tue, 7 Sep 1999 22:31:02 +0000 (22:31 +0000)]
beos updates from David Reid <beos@server1.jetnet.co.uk>

Submitted by: David Reid <beos@server1.jetnet.co.uk>

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

24 years agoThe closesocket define causes problems on BeOS. Get rid of it where
Manoj Kasichainula [Mon, 6 Sep 1999 03:23:39 +0000 (03:23 +0000)]
The closesocket define causes problems on BeOS. Get rid of it where
appropriate.

Submitted by: In part by David Reid <abb37@dial.pipex.com>

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

25 years agoFix hyperlink
Ralf S. Engelschall [Sat, 4 Sep 1999 14:19:25 +0000 (14:19 +0000)]
Fix hyperlink

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

25 years agoMoved mod_auth_digest.c from experimental to standard.
Roy T. Fielding [Wed, 1 Sep 1999 22:48:13 +0000 (22:48 +0000)]
Moved mod_auth_digest.c from experimental to standard.

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

25 years agoMore TPF-related changes. Among them:
Manoj Kasichainula [Wed, 1 Sep 1999 04:28:52 +0000 (04:28 +0000)]
More TPF-related changes. Among them:
  - Code reorganization to eliminate some TPF #ifdefs
  - Tweaks to the regex code for easier testing
  - Documentation and build updates
  - Notes in the CHANGES file
Submitted by: David McCreedy <McCreedy@us.ibm.com> and others at IBM

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

25 years agoFix all of those annoying --i -> - ap_context_t problems caused by a
Ryan Bloom [Tue, 31 Aug 1999 21:54:52 +0000 (21:54 +0000)]
Fix all of those annoying --i -> - ap_context_t problems caused by a
search/replace gone wrong.

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

25 years ago"Our computers are down. We'll call you back tomorrow morning." Grumble.
Manoj Kasichainula [Tue, 31 Aug 1999 21:46:35 +0000 (21:46 +0000)]
"Our computers are down. We'll call you back tomorrow morning." Grumble.

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

25 years agoFix dexter to work after Ryan's context patches.
Manoj Kasichainula [Tue, 31 Aug 1999 21:34:05 +0000 (21:34 +0000)]
Fix dexter to work after Ryan's context patches.

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

25 years agoFix faulty comparison. MSVC TRUE == 1 while Borland TRUE == -1
Bill Stoddard [Tue, 31 Aug 1999 15:26:45 +0000 (15:26 +0000)]
Fix faulty comparison. MSVC TRUE == 1 while Borland TRUE == -1
PR: 4333, 4887
Submitted by: Sergey Verlan

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

25 years agoFix some errors from a global search and replace gone wrong. This should
Ryan Bloom [Tue, 31 Aug 1999 12:33:08 +0000 (12:33 +0000)]
Fix some errors from a global search and replace gone wrong.  This should
let the new context changes work on all platforms.

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

25 years agoChanged pools to contexts. Tested with prefork and pthread mpm's. I'll
Ryan Bloom [Tue, 31 Aug 1999 05:35:52 +0000 (05:35 +0000)]
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

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