]> granicus.if.org Git - apache/log
apache
23 years agoThis adds some simple error logging to send_the_file. There are a
David Reid [Tue, 3 Apr 2001 19:32:19 +0000 (19:32 +0000)]
This adds some simple error logging to send_the_file. There are a
lot more cases that we should log :(

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

23 years agoclean up some mod_cgid issues related to other child maintenance...
Jeff Trawick [Tue, 3 Apr 2001 19:12:14 +0000 (19:12 +0000)]
clean up some mod_cgid issues related to other child maintenance...

  the APR_OC_REASON_DEATH/APR_OC_REASON_LOST code was sending SIGWINCH
  to the parent (usually init) instead of itself

  APR_OC_REASON_RESTART/_UNREGISTER code separated so that we go through
  there once

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

23 years agowhen handling a graceful restart, kill the child using the correct handle
Jeff Trawick [Tue, 3 Apr 2001 18:50:07 +0000 (18:50 +0000)]
when handling a graceful restart, kill the child using the correct handle
to the pipe of death; otherwise the syscall fails

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

23 years agoMake Apache check APR's configuration when determining the default MPM.
Ryan Bloom [Tue, 3 Apr 2001 18:37:18 +0000 (18:37 +0000)]
Make Apache check APR's configuration when determining the default MPM.
This way, if APR is built without threads, then Apache defaults to the
prefork MPM.

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

23 years ago- change inconsistent use of logdir and logfiledir all to logfiledir, to
Marc Slemko [Tue, 3 Apr 2001 17:03:35 +0000 (17:03 +0000)]
- change inconsistent use of logdir and logfiledir all to logfiledir, to
  make the config.layout file work properly.
- change default layout to be "Apache", as defined in config.layout,
  instead of duplicating (some of) that layout in configure itself.
- change default installation path to /usr/local/apache2

PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoUhh, we really need the prototypes for standard string functions.
Jeff Trawick [Tue, 3 Apr 2001 16:49:25 +0000 (16:49 +0000)]
Uhh, we really need the prototypes for standard string functions.

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

23 years agoAdd the code to actually enable accept filters in 2.0
Ryan Bloom [Tue, 3 Apr 2001 15:06:13 +0000 (15:06 +0000)]
Add the code to actually enable accept filters in 2.0

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

23 years ago cvs ugliness :-)
William A. Rowe Jr [Tue, 3 Apr 2001 06:20:09 +0000 (06:20 +0000)]
  cvs ugliness :-)

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

23 years ago ms vc ugliness
William A. Rowe Jr [Tue, 3 Apr 2001 06:15:15 +0000 (06:15 +0000)]
  ms vc ugliness

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

23 years ago Hmmm... this made things easier for me to read a while back, perhaps
William A. Rowe Jr [Tue, 3 Apr 2001 06:02:41 +0000 (06:02 +0000)]
  Hmmm... this made things easier for me to read a while back, perhaps
  someone else may appreciate

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

23 years ago Ahhh... the missing file from Ben's and my experiments
William A. Rowe Jr [Tue, 3 Apr 2001 06:01:49 +0000 (06:01 +0000)]
  Ahhh... the missing file from Ben's and my experiments

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

23 years agoUse APR's macro to generate config.nice
Roy T. Fielding [Tue, 3 Apr 2001 05:51:20 +0000 (05:51 +0000)]
Use APR's macro to generate config.nice

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

23 years agoThreads is a feature, so it is HAS threads not HAVE threads...
Marc Slemko [Tue, 3 Apr 2001 03:19:58 +0000 (03:19 +0000)]
Threads is a feature, so it is HAS threads not HAVE threads...

PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agotell the user what's going if APR threads aren't unavailable, and Apache
Greg Ames [Tue, 3 Apr 2001 02:15:35 +0000 (02:15 +0000)]
tell the user what's going if APR threads aren't unavailable, and Apache
is using a threaded MPM.

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

23 years agoMake live simpler - as we are using strchr already
Dirk-Willem van Gulik [Tue, 3 Apr 2001 01:56:18 +0000 (01:56 +0000)]
Make live simpler - as we are using strchr already

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

23 years agoNote OS/2 loadable module support.
Brian Havard [Tue, 3 Apr 2001 01:43:13 +0000 (01:43 +0000)]
Note OS/2 loadable module support.
I've really got to get into the habit of adding these....

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

23 years agoDoing last minute alphabettically sorting things to look nice is not always a good...
Dirk-Willem van Gulik [Tue, 3 Apr 2001 01:41:51 +0000 (01:41 +0000)]
Doing last minute alphabettically sorting things to look nice is not always a good idea.

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

23 years ago Whoops... this could be causing problems
William A. Rowe Jr [Tue, 3 Apr 2001 01:40:28 +0000 (01:40 +0000)]
  Whoops... this could be causing problems

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

23 years agomake sure we have the prototype for index() (fixes a Solaris warning)
Jeff Trawick [Tue, 3 Apr 2001 01:39:13 +0000 (01:39 +0000)]
make sure we have the prototype for index() (fixes a Solaris warning)

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

23 years ago Some experiments, not targets of the InstallBin complete build
William A. Rowe Jr [Tue, 3 Apr 2001 01:16:22 +0000 (01:16 +0000)]
  Some experiments, not targets of the InstallBin complete build

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

23 years agoGet MaxRequestsPerChild working on Windows.
Bill Stoddard [Tue, 3 Apr 2001 01:09:25 +0000 (01:09 +0000)]
Get MaxRequestsPerChild working on Windows.

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

23 years agoAdd a note to check the FAQ. A very common problem caused by VPNs
Bill Stoddard [Tue, 3 Apr 2001 00:44:47 +0000 (00:44 +0000)]
Add a note to check the FAQ. A very common problem caused by VPNs
like Aventail Connect is flagged by this code and is documented in the FAQ.

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

23 years agoGrab the context lock when draining the qhead
Bill Stoddard [Tue, 3 Apr 2001 00:40:56 +0000 (00:40 +0000)]
Grab the context lock when draining the qhead

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

23 years agoNow doing this check at the top of the loop
Bill Stoddard [Tue, 3 Apr 2001 00:37:38 +0000 (00:37 +0000)]
Now doing this check at the top of the loop

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

23 years agoSome shutdown work.
Bill Stoddard [Tue, 3 Apr 2001 00:36:09 +0000 (00:36 +0000)]
Some shutdown work.

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

23 years agoUse EXTRA_CPPFLAGS where it needs to be used.
Roy T. Fielding [Tue, 3 Apr 2001 00:29:42 +0000 (00:29 +0000)]
Use EXTRA_CPPFLAGS where it needs to be used.

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

23 years ago Here they are, real working examples [well, perhaps working.]
William A. Rowe Jr [Tue, 3 Apr 2001 00:27:16 +0000 (00:27 +0000)]
  Here they are, real working examples [well, perhaps working.]
  [Ben Laurie, Will Rowe]

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

23 years agoA sunny day in Cupertino.
Greg Ames [Mon, 2 Apr 2001 22:07:35 +0000 (22:07 +0000)]
A sunny day in Cupertino.

We haven't seen this problem on daedalus since the ap_getline() assert was
fixed a week and a half ago.  It is hereby declared fixed.

Here's a theory:  the garbage in c->remaining caused header lines to be
sucked in on persistant/pipelined connections when only the http request
line was desired, causing mime headers to get logged, including the \n
delimiters.

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

23 years agoconsistent types; avoid warning on AIX for mismatch between printf
Jeff Trawick [Mon, 2 Apr 2001 21:59:03 +0000 (21:59 +0000)]
consistent types; avoid warning on AIX for mismatch between printf
format and arg

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

23 years agoFixing a few compiler warnings with mod_proxy
Graham Leggett [Mon, 2 Apr 2001 21:19:22 +0000 (21:19 +0000)]
Fixing a few compiler warnings with mod_proxy
PR:
Obtained from:
Reviewed by:

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

23 years agoFixed problem where responses without entity bodies would cause
Graham Leggett [Mon, 2 Apr 2001 20:55:23 +0000 (20:55 +0000)]
Fixed problem where responses without entity bodies would cause
the directly following proxy keepalive request to fail.
PR:
Obtained from:
Reviewed by:

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

23 years agoChanges to get AIX DSOs working, sans APR changes.
Victor J. Orlikowski [Mon, 2 Apr 2001 19:06:02 +0000 (19:06 +0000)]
Changes to get AIX DSOs working, sans APR changes.
Basically, this allows linker flags to be passed for the httpd executable
and DSOs only.

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

23 years ago"void *res = signal(blah)" isn't cool 'cause void * is not compatible with
Jeff Trawick [Mon, 2 Apr 2001 18:49:44 +0000 (18:49 +0000)]
"void *res = signal(blah)" isn't cool 'cause void * is not compatible with
a function pointer; but we don't need to save the old signal pointer anyway
so drop the variable

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

23 years agokeep ab from dividing by zero when heartbeatres is zero
Jeff Trawick [Mon, 2 Apr 2001 17:58:23 +0000 (17:58 +0000)]
keep ab from dividing by zero when heartbeatres is zero

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

23 years agoCleanup all the warnings introduced in AB yesterday.
Ryan Bloom [Mon, 2 Apr 2001 17:50:45 +0000 (17:50 +0000)]
Cleanup all the warnings introduced in AB yesterday.

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

23 years agoFix segfaults for configuration file syntax errors such as
Jeff Trawick [Mon, 2 Apr 2001 17:08:03 +0000 (17:08 +0000)]
Fix segfaults for configuration file syntax errors such as
"<Directory>" followed by "</Directory" and "<Directory>" followed
by "</Directoryz>"

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

23 years ago *) Added support for downstream keepalives in mod_proxy.
Graham Leggett [Mon, 2 Apr 2001 17:04:19 +0000 (17:04 +0000)]
  *) Added support for downstream keepalives in mod_proxy.
  *) Changed mod_proxy ap_proxy_http_handler() to support APR properly.
PR:
Obtained from:
Reviewed by:

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

23 years agoFix --enable-layout processing on NetBSD. This makes us use a consistant
Ryan Bloom [Mon, 2 Apr 2001 16:15:31 +0000 (16:15 +0000)]
Fix --enable-layout processing on NetBSD.  This makes us use a consistant
location for the config.layout file, and it makes us a bit more portable.
PR:     7482
Submitted by:   jun-ichiro hagino <itojun@iijlab.net>

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

23 years agoReformat declaration so make_export.awk will recognize them. Yes, I know this
Brian Havard [Mon, 2 Apr 2001 15:28:09 +0000 (15:28 +0000)]
Reformat declaration so make_export.awk will recognize them. Yes, I know this
makes lines longer than is normally acceptable but I'd like to see anyone come
up with an awk script that handles these things broken over multiple lines...

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

23 years agoSwitch to using aplibtool for building under OS/2 & add support for building
Brian Havard [Mon, 2 Apr 2001 15:20:45 +0000 (15:20 +0000)]
Switch to using aplibtool for building under OS/2 & add support for building
loadable modules as OS/2 DLLs.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoCommit early and often. This should merge all changes into
Dirk-Willem van Gulik [Mon, 2 Apr 2001 06:19:45 +0000 (06:19 +0000)]
Commit early and often. This should merge all changes into
ab from 1.3 into 2.0. SSL work not completed; I need to move
some of the autoconf detection of mod_wtls to a more central
place first. Any suggestions appreciated :-)

PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoEither MacOS-X is much more sensitive for border conditions - or I am just being
Dirk-Willem van Gulik [Mon, 2 Apr 2001 04:39:01 +0000 (04:39 +0000)]
Either MacOS-X is much more sensitive for border conditions - or I am just being
unlucky. This allows for apr_send() to do consequitive partial write's; by keeping
a buffer and TO within ab itself. Ab was already doing that for read anyway.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoFirst stab at encapsulating the apr_send() to make it a
Dirk-Willem van Gulik [Mon, 2 Apr 2001 03:25:32 +0000 (03:25 +0000)]
First stab at encapsulating the apr_send() to make it a
little more pushy. Ran into this whilst' porting the -1.3
changes forward.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoPrevent cobbering of lenght for subsequent sends. Still not quite
Dirk-Willem van Gulik [Mon, 2 Apr 2001 01:50:40 +0000 (01:50 +0000)]
Prevent cobbering of lenght for subsequent sends. Still not quite
right; we ough to call apr_send again if len != requested_len - but
then our timeout could be len * timeout if we happen to only stuff
one byte down the pipe each time.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoGet mod_file_cache to refuse to compile on systems with neither
Jeff Trawick [Sat, 31 Mar 2001 11:51:16 +0000 (11:51 +0000)]
Get mod_file_cache to refuse to compile on systems with neither
sendfile nor mmap.

Get mod_file_cache to compile on systems with sendfile but !mmap.

Submitted by: Greg Stein

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

23 years agoif the perl interpreter is not found in PATH, use
Jeff Trawick [Sat, 31 Mar 2001 11:31:45 +0000 (11:31 +0000)]
if the perl interpreter is not found in PATH, use
"/replace/with/path/to/perl/interpreter" for the path when
substituting in split-logfiles et al so that an unlucky user
will have a better clue about why these programs won't work

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

23 years agoremove some items which are no longer used/needed.
Greg Stein [Fri, 30 Mar 2001 23:27:09 +0000 (23:27 +0000)]
remove some items which are no longer used/needed.

Reviewed by: David McCreedy <mccreedy@us.ibm.com>

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

23 years agoNow that apr_poll has been corrected and doesn't loose fd's between calls
David Reid [Fri, 30 Mar 2001 20:01:49 +0000 (20:01 +0000)]
Now that apr_poll has been corrected and doesn't loose fd's between calls
this can be done once again.

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

23 years agoChanges to the httpd.exp file, to get DSOs working. This is most of the
Victor J. Orlikowski [Fri, 30 Mar 2001 18:34:40 +0000 (18:34 +0000)]
Changes to the httpd.exp file, to get DSOs working. This is most of the
way there, but there may yet be some symbols missing. Working on a script
to keep this in line.

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

23 years agooops... really fix the storage leak this time... we were doing cleanups
Jeff Trawick [Thu, 29 Mar 2001 03:23:44 +0000 (03:23 +0000)]
oops... really fix the storage leak this time... we were doing cleanups
after the last change, but we were losing the pool and its retained
storage

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

23 years agoFix a storage leak in mod_cgid... the temporary pool created for
Jeff Trawick [Thu, 29 Mar 2001 00:17:50 +0000 (00:17 +0000)]
Fix a storage leak in mod_cgid... the temporary pool created for
each request was not cleaned up.

This removes the nastiest symptom of some excess pipes being created
(i.e., we don't run out of file descriptors), though something
additional is needed to keep from creating the pipes to begin with.

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

23 years ago Change the links to point to the new distribution directory.
Ken Coar [Wed, 28 Mar 2001 21:26:29 +0000 (21:26 +0000)]
Change the links to point to the new distribution directory.

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

23 years agoclean up some warnings dealing with
Jeff Trawick [Wed, 28 Mar 2001 16:34:05 +0000 (16:34 +0000)]
clean up some warnings dealing with
1) mismatches between printf format strings and arguments
2) wrong type for last parm to ap[r]_xml_to_text
3) missing time.h decls

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

23 years agoAbort apache buildconf if apr buildconf or apr-util buildconf fails.
Jeff Trawick [Wed, 28 Mar 2001 16:03:49 +0000 (16:03 +0000)]
Abort apache buildconf if apr buildconf or apr-util buildconf fails.
Otherwise, the error message from apr or apr-util (e.g., invalid libtool
version) is lost in the stream of output.

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

23 years agoFix the OPTIONS response. It was attempting to send an HTTP response
Greg Stein [Wed, 28 Mar 2001 10:40:44 +0000 (10:40 +0000)]
Fix the OPTIONS response. It was attempting to send an HTTP response
(header) through the filter stack, which just wrapped that response in
another set of headers.

Instead, just set the Allow header and return. The EOS will then flush that
header with the rest of the data through the header filter, and generate the
proper response.

Also, cleaned out the unused header_filter_ctx and the "len" variable from
the header filter, and added some comments here and there.

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

23 years agoPatch to sync with some changes to mod_dav 1.1:
Greg Stein [Wed, 28 Mar 2001 07:37:25 +0000 (07:37 +0000)]
Patch to sync with some changes to mod_dav 1.1:

*) revamp the set_target stuff -- latest draft calls this UPDATE
*) update the CHECKIN method handling
*) liveprop providers can catch/define "core" properties before the core
   gets a chance.

Submitted by: John Vasta <jvasta@rational.com>
Reviewed by: Greg Stein

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

23 years agoGet rid of some old WIN32 cruft
Bill Stoddard [Tue, 27 Mar 2001 19:47:13 +0000 (19:47 +0000)]
Get rid of some old WIN32 cruft

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

23 years agoPerformance: Add quick_handler hook. This hook is called at the
Bill Stoddard [Tue, 27 Mar 2001 19:19:08 +0000 (19:19 +0000)]
Performance: Add quick_handler hook. This hook is called at the
very beginning of the request processing before location_walk,
translate_name, etc.  This hook is useful for URI keyed content
caches like Mike Abbott's Quick Shortcut Cache.

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

23 years agoRemove the cvsignore file from the dead dexter directory.
Victor J. Orlikowski [Tue, 27 Mar 2001 18:34:59 +0000 (18:34 +0000)]
Remove the cvsignore file from the dead dexter directory.

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

23 years agomake sure we have the prototype for strcasecmp()
Jeff Trawick [Tue, 27 Mar 2001 11:47:23 +0000 (11:47 +0000)]
make sure we have the prototype for strcasecmp()

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

23 years agoswitch to --enable-* rather than --with-* for the debug options
Greg Stein [Tue, 27 Mar 2001 10:54:09 +0000 (10:54 +0000)]
switch to --enable-* rather than --with-* for the debug options

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

23 years agoget rid of an unused variabe in file_cache_xlat()
Jeff Trawick [Mon, 26 Mar 2001 23:40:41 +0000 (23:40 +0000)]
get rid of an unused variabe in file_cache_xlat()

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

23 years agoGet mod_file_cache to compile again on platforms with no apr_sendfile().
Jeff Trawick [Mon, 26 Mar 2001 19:11:09 +0000 (19:11 +0000)]
Get mod_file_cache to compile again on platforms with no apr_sendfile().

Get the Tru64 compiler to shut up about an incompatibility between void **
and struct **.

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

23 years agoEat our own cooking. Cleanup code paths and use apr_hash functions. Good
Bill Stoddard [Mon, 26 Mar 2001 18:01:17 +0000 (18:01 +0000)]
Eat our own cooking.  Cleanup code paths and use apr_hash functions. Good
for a small performance boost.

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

23 years agoFix the printf format string for a process id.
Jeff Trawick [Mon, 26 Mar 2001 16:44:27 +0000 (16:44 +0000)]
Fix the printf format string for a process id.

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

23 years agotop_module global variable renamed to ap_top_module
Doug MacEachern [Mon, 26 Mar 2001 15:39:52 +0000 (15:39 +0000)]
top_module global variable renamed to ap_top_module

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

23 years agorevise the set of predefined PROPID values based on DeltaV Internet Draft #14
Greg Stein [Mon, 26 Mar 2001 10:10:31 +0000 (10:10 +0000)]
revise the set of predefined PROPID values based on DeltaV Internet Draft #14

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

23 years agoMove ap_set_last_modified to the core. This is a potentially
Ryan Bloom [Sun, 25 Mar 2001 20:42:47 +0000 (20:42 +0000)]
Move ap_set_last_modified to the core.  This is a potentially
controversial change, because this is kind of HTTP specific.  However
many protocols should be able to take advantage of this kind of
information.  I expect that headers will need one more layer of
indirection for multi-protocol work, but this is a small step in
the right direction.

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

23 years agoHeader Bugfix / General Cleanups in ap_proxy_http_handler / X-Forwarded-* headers
Graham Leggett [Sun, 25 Mar 2001 20:23:25 +0000 (20:23 +0000)]
Header Bugfix / General Cleanups in ap_proxy_http_handler / X-Forwarded-* headers
PR:
Obtained from:
Reviewed by: Chuck Murcko

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

23 years agoEnable mod_status by default. This matches the docs and what 1.3 does.
Ryan Bloom [Sun, 25 Mar 2001 20:07:54 +0000 (20:07 +0000)]
Enable mod_status by default.  This matches the docs and what 1.3 does.
Submitted by: Ed Korthof

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

23 years agoadd item
Doug MacEachern [Sun, 25 Mar 2001 19:19:44 +0000 (19:19 +0000)]
add item

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

23 years agochange create_request hook to RUN_ALL/return int so handlers can throw errors
Doug MacEachern [Sun, 25 Mar 2001 17:38:18 +0000 (17:38 +0000)]
change create_request hook to RUN_ALL/return int so handlers can throw errors

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

23 years agoAdd a ScriptSock default to the defualt config file. This is only enabled
Ryan Bloom [Sun, 25 Mar 2001 16:54:48 +0000 (16:54 +0000)]
Add a ScriptSock default to the defualt config file.  This is only enabled
when the mod_cgid module is used.
PR: 7408
Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp>

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

23 years agoWe are working on 2.0.16 now.
Ryan Bloom [Sun, 25 Mar 2001 15:56:59 +0000 (15:56 +0000)]
We are working on 2.0.16 now.

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

23 years agoPrepare for the next roll
Ryan Bloom [Sun, 25 Mar 2001 04:05:42 +0000 (04:05 +0000)]
Prepare for the next roll

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

23 years agoRemove files that now reside in srclib/apr/build
Roy T. Fielding [Sat, 24 Mar 2001 11:04:38 +0000 (11:04 +0000)]
Remove files that now reside in srclib/apr/build

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

23 years agoUntangled the buildconf script and eliminated the need for build's
Roy T. Fielding [Sat, 24 Mar 2001 09:43:06 +0000 (09:43 +0000)]
Untangled the buildconf script and eliminated the need for build's
aclocal.m4, generated_lists, build.mk, build2.mk, and a host of other
libtool muck that is now under srclib/apr/build.  More to follow.

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

23 years agoRemove some unused bits and improve comments.
Roy T. Fielding [Sat, 24 Mar 2001 07:43:25 +0000 (07:43 +0000)]
Remove some unused bits and improve comments.

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

23 years agoTweak some declarations so they're picked up by make_export.awk
Brian Havard [Sat, 24 Mar 2001 06:43:19 +0000 (06:43 +0000)]
Tweak some declarations so they're picked up by make_export.awk

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

23 years agoThis will ensure the child pool is cleaned up nicely.
Bill Stoddard [Fri, 23 Mar 2001 15:42:26 +0000 (15:42 +0000)]
This will ensure the child pool is cleaned up nicely.

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

23 years agoWin32: Don't accept more connections that we have worker threads
Bill Stoddard [Thu, 22 Mar 2001 23:05:54 +0000 (23:05 +0000)]
Win32: Don't accept more connections that we have worker threads
to handle. This is specific to NT/2000.

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

23 years agoExit the child main thread in make_child on child exit. This fixes a problem
Bill Stoddard [Thu, 22 Mar 2001 19:29:09 +0000 (19:29 +0000)]
Exit the child main thread in make_child on child exit.  This fixes a problem
where the child main thread was looping in make_child() forking errant processes.

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

23 years agoGet rid of some warnings which crept into the Unix MPMs a
Jeff Trawick [Thu, 22 Mar 2001 12:32:21 +0000 (12:32 +0000)]
Get rid of some warnings which crept into the Unix MPMs a
few days ago.

mpm_common.h started referencing AP_MPM_NEEDS_RECLAIM_CHILD_PROCESSES
but did not include the header file where this might be defined.

The result was no prototype for ap_reclaim_child_processes() on
platforms which needed it.

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

23 years agoFix a major security problem with double-reverse lookup checking.
Jeff Trawick [Thu, 22 Mar 2001 10:03:29 +0000 (10:03 +0000)]
Fix a major security problem with double-reverse lookup checking.
Previously, a client connecting over IPv4 would not be matched
properly when the server had an IPv6 listening socket.

PR:       7407
Submitted by: Taketo Kabe <kiabe@sra-tohoku.co.jp>
Reviewed by:  Jeff Trawick

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

23 years ago Address a build problem for VC7.0/PSDK headers identified by
William A. Rowe Jr [Thu, 22 Mar 2001 06:01:19 +0000 (06:01 +0000)]
  Address a build problem for VC7.0/PSDK headers identified by
  Jerker B�ck <info.jelmar@telia.com>.  This isn't the only
  workaround possible, but IWFM.  VC6/7 users please confirm.

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

23 years ago This should wrap this freshen up
William A. Rowe Jr [Thu, 22 Mar 2001 05:56:59 +0000 (05:56 +0000)]
  This should wrap this freshen up

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

23 years agoUpdated Welcome page translation for Brazilian Portugese
Joshua Slive [Thu, 22 Mar 2001 05:32:05 +0000 (05:32 +0000)]
Updated Welcome page translation for Brazilian Portugese

Submitted by:    Ricardo Oliva <rfoliva@home.com>

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

23 years agoupdate on daedalus.
Greg Ames [Wed, 21 Mar 2001 19:09:22 +0000 (19:09 +0000)]
update on daedalus.

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

23 years agoAdd a not to the CHANGES file now that I've had confirmation that the
David Reid [Wed, 21 Mar 2001 16:24:46 +0000 (16:24 +0000)]
Add a not to the CHANGES file now that I've had confirmation that the
changes made last night actually work :)

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

23 years agoThis change actually gets beos shutting down and restarting!
David Reid [Wed, 21 Mar 2001 06:42:38 +0000 (06:42 +0000)]
This change actually gets beos shutting down and restarting!

It's not perfect, but it's a long way towards it.  The problem turned out
to be simple, we weren't resetting the poll selections before we went into
poll for the second time.  Not sure if this means our poll impl. using
select is broken or not?

It also changes us to use the new UDP in APR.  With these changes and some
restructuring in the worker_thread and I'm done for tonight!

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

23 years agoback out the logging of read errors in getline. daedalus was logging
Greg Ames [Wed, 21 Mar 2001 02:20:00 +0000 (02:20 +0000)]
back out the logging of read errors in getline.  daedalus was logging
boatloads of "(54)Connection reset by peer: ap_get_brigade() failed" errors.

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

23 years agoEmpty out the brigade shared by ap_getline()/ap_get_client_block()
Jeff Trawick [Tue, 20 Mar 2001 21:40:50 +0000 (21:40 +0000)]
Empty out the brigade shared by ap_getline()/ap_get_client_block()
on error exit from ap_getline().  Some other code got upset because
the wrong data was in the brigade.

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

23 years agoAdded my public key to the list.
Paul J. Reder [Tue, 20 Mar 2001 19:03:13 +0000 (19:03 +0000)]
Added my public key to the list.

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

23 years agoHandle ap_discard_request_body() being called more than once.
Jeff Trawick [Mon, 19 Mar 2001 21:54:57 +0000 (21:54 +0000)]
Handle ap_discard_request_body() being called more than once.

Add a debug assertion to verify that c->remain is zero when a new
request starts.  ap_http_filter() does the wrong thing otherwise.

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

23 years agoremove descriptions of daedalus problems which are apparently fixed.
Greg Ames [Mon, 19 Mar 2001 19:48:07 +0000 (19:48 +0000)]
remove descriptions of daedalus problems which are apparently fixed.

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

23 years agoFix a problem in mod_mime_magic where file descriptor 2 would be
Jeff Trawick [Mon, 19 Mar 2001 16:07:59 +0000 (16:07 +0000)]
Fix a problem in mod_mime_magic where file descriptor 2 would be
inadvertently closed.  This logic was in the uncompress child in 1.3
but was in the parent in 2.0.

uncompress_child() was renamed to create_uncompress_child() to reflect
a change in use since 1.3.

A note was added about missing 1.3 logic for doing something with the
stderr of the uncompress process.

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

23 years agoDeclaration of ap_reclaim_child_processes() in exports.c needs to be
Brian Havard [Mon, 19 Mar 2001 13:07:28 +0000 (13:07 +0000)]
Declaration of ap_reclaim_child_processes() in exports.c needs to be
conditional in the same way that the function's definition is so give it a
suitable macro that will be recogized by the scripts that make exports.c.

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

23 years agoUnder OS/2's emx gcc (and maybe others) uninitialized global variables don't
Brian Havard [Mon, 19 Mar 2001 13:01:20 +0000 (13:01 +0000)]
Under OS/2's emx gcc (and maybe others) uninitialized global variables don't
get exported so initialize ap_ugly_hack to something.

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

23 years agoreorganize STATUS; update copyright
Chuck Murcko [Mon, 19 Mar 2001 08:54:41 +0000 (08:54 +0000)]
reorganize STATUS; update copyright

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

23 years agoThe mod_proxy side of Graham's Auth patch
Chuck Murcko [Sun, 18 Mar 2001 04:56:26 +0000 (04:56 +0000)]
The mod_proxy side of Graham's Auth patch
Obtained from: Graham Leggett
Reviewed by: Chuck Murcko

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