]> granicus.if.org Git - apache/log
apache
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

23 years agoAdd a hook, create_request. This hook allows modules to modify
Ryan Bloom [Sun, 18 Mar 2001 02:33:23 +0000 (02:33 +0000)]
Add a hook, create_request.  This hook allows modules to modify
a request while it is being created.  This hook is called for all
request_rec's, main request, sub request, and internal redirect.
When this hook is called, the the r->main, r->prev, r->next
pointers have been set, so modules can determine what kind of
request this is.

Currently, this is only used by the core module, but protocol modules
are going to need to have the ability to affect the request while it is
being read.

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

23 years agoMore doxygenation.
Ben Laurie [Sat, 17 Mar 2001 15:58:09 +0000 (15:58 +0000)]
More doxygenation.

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

23 years agoCleanup the build process a bit more. The Apache configure
Ryan Bloom [Fri, 16 Mar 2001 23:04:56 +0000 (23:04 +0000)]
Cleanup the build process a bit more.  The Apache configure
script no longer creates its own helper scripts, it just
uses APR's.
Submitted by: jean-frederic clere <jfrederic.clere@fujitsu-siemens.com>

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

23 years agoStops the forced downgrade of the connection to HTTP/1.0 for proxy requests.
Chuck Murcko [Fri, 16 Mar 2001 07:37:12 +0000 (07:37 +0000)]
Stops the forced downgrade of the connection to HTTP/1.0 for proxy requests.
Submitted by: Graham Leggett
Reviewed by: Chuck Murcko

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

23 years agoThis is a fix that went into v1.3 quite a while back, but not into v2.0.
Chuck Murcko [Fri, 16 Mar 2001 07:28:08 +0000 (07:28 +0000)]
This is a fix that went into v1.3 quite a while back, but not into v2.0.
It sorts out the problem when a password protected reverse proxy URL
sends a Proxy-Authenticate to a browser instead of a WWW-Authenticate.

This patch covers the changes to the httpd-2.0 tree.

Submitted by: Graham Leggett
Reviewed by: Chuck Murcko

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

23 years agochange INADDR_NONE to APR_INADDR_NONE
Chuck Murcko [Fri, 16 Mar 2001 05:49:51 +0000 (05:49 +0000)]
change INADDR_NONE to APR_INADDR_NONE
Submitted by: Ian Holsman <IanH@cnet.com>
Reviewed by: Chuck Murcko

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

23 years ago Fix dbmmanage.pl generation for Win32
William A. Rowe Jr [Fri, 16 Mar 2001 04:18:41 +0000 (04:18 +0000)]
  Fix dbmmanage.pl generation for Win32

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

23 years agoAvoid using sscanf to determine the HTTP protocol number in
Bill Stoddard [Fri, 16 Mar 2001 04:17:38 +0000 (04:17 +0000)]
Avoid using sscanf to determine the HTTP protocol number in
the common case because sscanf is a performance hog. From
Mike Abbot's Accelerating Apache patch number 6.

Submitted by: Mike Abbot <mja@trudge.engr.sgi.com>
Reviewed by: Bill Stoddard

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

23 years ago Fix a security exposure in mod_access. Previously when IPv6
Jeff Trawick [Thu, 15 Mar 2001 22:09:27 +0000 (22:09 +0000)]
 Fix a security exposure in mod_access.  Previously when IPv6
listening sockets were used, allow/deny-from-IPv4-address rules
were not evaluated properly (PR #7407).  Also, add the ability to
specify IPv6 address strings with optional prefix length on Allow
and Deny.

Note: A bit more of PR #7407 remains dealing with a problem with
double-reverse lookups when an IPv6 listening socket is used.

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

23 years agoInclude some newly-generated files in .cvsignore.
Jeff Trawick [Thu, 15 Mar 2001 12:07:29 +0000 (12:07 +0000)]
Include some newly-generated files in .cvsignore.

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

23 years agoPull in the Connection handling part of the v1.3 patch for HTTP/1.1.
Graham Leggett [Wed, 14 Mar 2001 21:16:41 +0000 (21:16 +0000)]
Pull in the Connection handling part of the v1.3 patch for HTTP/1.1.
Some preliminary HTTP/1.1 work
Some comments and fixes
PR:
Obtained from:
Reviewed by:

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

23 years agodbmmanage, log_server_status, et al are now generated files; get them
Jeff Trawick [Wed, 14 Mar 2001 12:17:41 +0000 (12:17 +0000)]
dbmmanage, log_server_status, et al are now generated files; get them
out of CVS

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

23 years agofix a sprintf() format string; use APR_OFF_T_FMT for apr_off_t as %ld
Jeff Trawick [Wed, 14 Mar 2001 02:32:03 +0000 (02:32 +0000)]
fix a sprintf() format string; use APR_OFF_T_FMT for apr_off_t as %ld
doesn't work everywhere (e.g., FreeBSD)

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

23 years agoinclude string.h for the strstr() prototype
Jeff Trawick [Wed, 14 Mar 2001 02:28:23 +0000 (02:28 +0000)]
include string.h for the strstr() prototype

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

23 years agoCheck in not-quite-working hooks groupings.
Ben Laurie [Tue, 13 Mar 2001 22:20:55 +0000 (22:20 +0000)]
Check in not-quite-working hooks groupings.

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

23 years agosmall updates on daedalus
Greg Ames [Tue, 13 Mar 2001 22:09:32 +0000 (22:09 +0000)]
small updates on daedalus

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

23 years ago Enhance customisability of rotatelogs: strftime(3)
Ken Coar [Tue, 13 Mar 2001 21:25:28 +0000 (21:25 +0000)]
Enhance customisability of rotatelogs: strftime(3)
formatting of filename and offset from UTC.

Reviewed by: Greg Stein, David Reid, OtherBill

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

23 years ago*) mod_dav.c: allow PUT to a WORKING resource (this actually the only valid
Greg Stein [Tue, 13 Mar 2001 02:13:55 +0000 (02:13 +0000)]
*) mod_dav.c: allow PUT to a WORKING resource (this actually the only valid
   place to do a PUT(!))

*) util.c: add a comment. allow validation to proceed without a lock
   database (the rest of the code supported it; one erroneous check disabled
   that work)

*) util_lock.c: allow dav_unlock() to be a no-op when a lock provide isn't
   present; this allows DELETE to work.

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

23 years agoConsolidate ap_max_requests_per_child and max_requests_per_child vars. Move
Bill Stoddard [Mon, 12 Mar 2001 18:10:49 +0000 (18:10 +0000)]
Consolidate ap_max_requests_per_child and max_requests_per_child vars. Move
some vars closer to where they are used (listenfds, et, al)

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

23 years agoSome mpm_winnt module clean-up to make it more readable.
Bill Stoddard [Mon, 12 Mar 2001 18:01:23 +0000 (18:01 +0000)]
Some mpm_winnt module clean-up to make it more readable.

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

23 years agoGet rid of useless function call overhead.
Bill Stoddard [Mon, 12 Mar 2001 17:37:02 +0000 (17:37 +0000)]
Get rid of useless function call overhead.

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

23 years ago *) Reimplement the Windows MPM (mpm_winnt.c) to eliminate calling
Bill Stoddard [Mon, 12 Mar 2001 17:29:02 +0000 (17:29 +0000)]
  *) Reimplement the Windows MPM (mpm_winnt.c) to eliminate calling
     DuplicateHandle on an IOCompletionPort (a practice which
     MS "discourages"). The new model does not rely on associating
     the completion port with the listening sockets, thus the
     completion port can be completely managed within the child
     process.  A dedicated thread accepts connections off the network,
     then calls PostQueuedCompletionStatus() to wake up worker
     threads blocked on the completion port.
     [Bill Stoddard]

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

23 years ago Bring the other Perl scripts into the autoconf-edited
Ken Coar [Sun, 11 Mar 2001 23:40:47 +0000 (23:40 +0000)]
Bring the other Perl scripts into the autoconf-edited
find-the-interpreter fold, like apxs and apachectl.

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

23 years agoMore doxygenation.
Ben Laurie [Sun, 11 Mar 2001 23:24:56 +0000 (23:24 +0000)]
More doxygenation.

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

23 years ago Bring forward the suexec umask setting option from 1.3, and
Ken Coar [Sun, 11 Mar 2001 23:22:32 +0000 (23:22 +0000)]
Bring forward the suexec umask setting option from 1.3, and
also fix some configure.in bits that would define macros
that needed to be numbers as strings instead.

Obtained from: Apache HTTP Server 1.3

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

23 years agoMake emacs indent top-level comments in headers correctly.
Ben Laurie [Sun, 11 Mar 2001 20:49:37 +0000 (20:49 +0000)]
Make emacs indent top-level comments in headers correctly.

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

23 years agoOtherBill told me last night that I never bumped for 2.0.15. Whoops.
Ryan Bloom [Sun, 11 Mar 2001 15:01:18 +0000 (15:01 +0000)]
OtherBill told me last night that I never bumped for 2.0.15.  Whoops.

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