]> granicus.if.org Git - apache/log
apache
23 years agoAllow modules to be added to the server at configure time. The syntax
Ryan Bloom [Mon, 9 Apr 2001 05:18:40 +0000 (05:18 +0000)]
Allow modules to be added to the server at configure time.  The syntax
is:

--with-module=module_type:/path/to/module

module_type is the directory under modules/ that the module should be
copied to.  Currently, this only adds static modules

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

23 years agoGoodbye more dead code.
Graham Leggett [Sun, 8 Apr 2001 22:26:45 +0000 (22:26 +0000)]
Goodbye more dead code.
PR:
Obtained from:
Reviewed by:

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

23 years agoStopped the CORE filter from sending off an HTTP response when a
Graham Leggett [Sun, 8 Apr 2001 22:18:31 +0000 (22:18 +0000)]
Stopped the CORE filter from sending off an HTTP response when a
CONNECT tunnel was closed. Fixed some filter definition madness that
proves that I need some sleep.
PR:
Obtained from:
Reviewed by:

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

23 years agoHTTP_VERSION() is the correct way to do this...
Graham Leggett [Sun, 8 Apr 2001 16:29:30 +0000 (16:29 +0000)]
HTTP_VERSION() is the correct way to do this...
PR:
Obtained from:
Reviewed by:

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

23 years agoMore error checks to make sure the poll() loop dies when the connection
Graham Leggett [Sun, 8 Apr 2001 14:52:19 +0000 (14:52 +0000)]
More error checks to make sure the poll() loop dies when the connection
on either side is closed...
PR:
Obtained from:
Reviewed by:

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

23 years agoCONNECT now works!!! Woohoo!!!
Graham Leggett [Sun, 8 Apr 2001 12:54:34 +0000 (12:54 +0000)]
CONNECT now works!!! Woohoo!!!
the poll() loop was overhauled - many of the reads, writes and selects
were happening on the wrong sockets.
PR:
Obtained from:
Reviewed by:

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

23 years agoVarious cleanups and comments
Graham Leggett [Sun, 8 Apr 2001 11:35:54 +0000 (11:35 +0000)]
Various cleanups and comments
PR:
Obtained from:
Reviewed by:

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

23 years agoAdd #defines for protocol version checks...
Graham Leggett [Sun, 8 Apr 2001 09:49:49 +0000 (09:49 +0000)]
Add #defines for protocol version checks...
PR:
Obtained from:
Reviewed by:

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

23 years agoAs in the case of 1.3, there are expected cases where this should not
Victor J. Orlikowski [Sun, 8 Apr 2001 07:52:33 +0000 (07:52 +0000)]
As in the case of 1.3, there are expected cases where this should not
return a port (i.e. a uri beginning with /). Thus, we keep the
default case fast, and let module authors check back on the port being
set on their own.

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

23 years agoBacking my earlier change out; There exists the possibility for
Victor J. Orlikowski [Sun, 8 Apr 2001 07:13:42 +0000 (07:13 +0000)]
Backing my earlier change out; There exists the possibility for
ap_parse_uri_components to not fill in the port field in certain cases,
i.e. wherein the uri begins with /

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

23 years agoMake the CONNECT proxy talk HTTP/1.1. Still need to check if this is
Graham Leggett [Sat, 7 Apr 2001 21:12:39 +0000 (21:12 +0000)]
Make the CONNECT proxy talk HTTP/1.1. Still need to check if this is
compliant with HTTP/1.1 though...
PR:
Obtained from:
Reviewed by:

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

23 years ago*) Made log entries consistent with proxy: CONNECT:
Graham Leggett [Sat, 7 Apr 2001 21:09:37 +0000 (21:09 +0000)]
*) Made log entries consistent with proxy: CONNECT:
*) checked that sockets were being closed on error
PR:
Obtained from:
Reviewed by:

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

23 years agoproxy_connect.c needs ap_parse_hostinfo_components() to decode the URI,
Graham Leggett [Sat, 7 Apr 2001 20:57:05 +0000 (20:57 +0000)]
proxy_connect.c needs ap_parse_hostinfo_components() to decode the URI,
not ap_parse_uri_components()
PR:
Obtained from:
Reviewed by:

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

23 years agoDownstream keepalives in mod_proxy should not kick in if the upstream
Graham Leggett [Sat, 7 Apr 2001 19:41:03 +0000 (19:41 +0000)]
Downstream keepalives in mod_proxy should not kick in if the upstream
client is < HTTP/1.1
PR:
Obtained from:
Reviewed by:

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

23 years agotweak unixd.h so that exports.c is built properly
Jeff Trawick [Sat, 7 Apr 2001 19:37:54 +0000 (19:37 +0000)]
tweak unixd.h so that exports.c is built properly

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

23 years agoap_os_systemcase_filename isn't implemented on OS/2 & isn't used anywhere
Brian Havard [Sat, 7 Apr 2001 15:31:55 +0000 (15:31 +0000)]
ap_os_systemcase_filename isn't implemented on OS/2 & isn't used anywhere
anyway. This stops exports.c requiring it.

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

23 years agoSockets weren't being closed if the proxy could not connect to
Graham Leggett [Sat, 7 Apr 2001 14:06:13 +0000 (14:06 +0000)]
Sockets weren't being closed if the proxy could not connect to
a remote machine...
PR:
Obtained from:
Reviewed by:

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

23 years agoOS/2: Export some APR global variables from the httpd core.
Brian Havard [Sat, 7 Apr 2001 13:46:56 +0000 (13:46 +0000)]
OS/2: Export some APR global variables from the httpd core.

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

23 years agoOS/2: Set the max file handles for the process to something more useful than
Brian Havard [Sat, 7 Apr 2001 13:45:19 +0000 (13:45 +0000)]
OS/2: Set the max file handles for the process to something more useful than
the default of around 40. This gives us 2 per possible thread.

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

23 years agoA few symbols from os.h need to be exported.
Brian Havard [Sat, 7 Apr 2001 13:41:29 +0000 (13:41 +0000)]
A few symbols from os.h need to be exported.

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

23 years agoTurns out continuation lines in ftp can start with a space... fix detection
Graham Leggett [Sat, 7 Apr 2001 12:59:36 +0000 (12:59 +0000)]
Turns out continuation lines in ftp can start with a space... fix detection
of these things in proxy_ftp.c
PR:
Obtained from:
Reviewed by:

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

23 years agoFixed problem where the port was left at zero on requests instead of
Graham Leggett [Sat, 7 Apr 2001 12:24:38 +0000 (12:24 +0000)]
Fixed problem where the port was left at zero on requests instead of
being set to the default scheme port 80
PR:
Obtained from:
Reviewed by:

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

23 years agoSome bugfixes to proxy_ftp.c
Graham Leggett [Sat, 7 Apr 2001 12:05:21 +0000 (12:05 +0000)]
Some bugfixes to proxy_ftp.c
PR:
Obtained from:
Reviewed by:

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

23 years agoUpdate CHANGES file to include the prefork idle child cleanup fix.
Paul J. Reder [Fri, 6 Apr 2001 20:24:13 +0000 (20:24 +0000)]
Update CHANGES file to include the prefork idle child cleanup fix.

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

23 years agoChanges required to make prefork clean up idle children properly. There was a window...
Paul J. Reder [Fri, 6 Apr 2001 20:12:09 +0000 (20:12 +0000)]
Changes required to make prefork clean up idle children properly. There was a window during which a starting worker deadlocks when an idle cleanup arrives before it completes init. Apache then keeps trying to cleanup the same deadlocked worker forever (until higher pids come along, but it still will never reduce below the deadlocked pid). Thus the number of children would not reduce to the correct idle level.

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

23 years agoBugfixes to proxy_ftp.c -> in some places uri_addr was used instead
Graham Leggett [Fri, 6 Apr 2001 14:25:54 +0000 (14:25 +0000)]
Bugfixes to proxy_ftp.c -> in some places uri_addr was used instead
of connect_addr - all hail cut and paste!
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoConverted send_dir() to ap_proxy_send_dir_filter() in proxy_ftp.c.
Graham Leggett [Fri, 6 Apr 2001 10:44:08 +0000 (10:44 +0000)]
Converted send_dir() to ap_proxy_send_dir_filter() in proxy_ftp.c.
Fixed up the header files
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoMore pool allocation errors. The apr_sockaddr_t structures connect_addr and
Victor J. Orlikowski [Fri, 6 Apr 2001 01:59:26 +0000 (01:59 +0000)]
More pool allocation errors. The apr_sockaddr_t structures connect_addr and
uri_addr were getting allocated out of the wrong pool (one of the request pools)
when they were expected to stick around for the life of the socket.
Further, the default pool to be used should have been the connection pool in the
request_rec.

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

23 years agoupdate status; add FTP back in to the build
Chuck Murcko [Thu, 5 Apr 2001 23:48:43 +0000 (23:48 +0000)]
update status; add FTP back in to the build

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

23 years agoMajor rework of ap_proxy_ftp_handler() to use filters (begone foul
Graham Leggett [Thu, 5 Apr 2001 21:27:50 +0000 (21:27 +0000)]
Major rework of ap_proxy_ftp_handler() to use filters (begone foul
BUFF!!!). It compiles, but is untested, and the build environment needs
to be fixed to include proxy_ftp.c.
PR:
Obtained from:
Reviewed by:

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

23 years agoNow that APR knows when TCP_NODELAY is inherited, use its setting to
Jeff Trawick [Thu, 5 Apr 2001 19:04:14 +0000 (19:04 +0000)]
Now that APR knows when TCP_NODELAY is inherited, use its setting to
know when to set that option on the listening socket.

(not that I understand to start with why we bother saving this minimal
pathlength when it isn't inherited)

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

23 years agoCleanup of dead functions within proxy_util.c.
Graham Leggett [Thu, 5 Apr 2001 18:53:04 +0000 (18:53 +0000)]
Cleanup of dead functions within proxy_util.c.
PR:
Obtained from:
Reviewed by:

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

23 years agoReworked the storage of the client socket between keepalive connections
Graham Leggett [Thu, 5 Apr 2001 18:25:04 +0000 (18:25 +0000)]
Reworked the storage of the client socket between keepalive connections
to fix some nasty problems with the socket lasting longer than the
memory pool it was allocated from.
PR:
Obtained from:
Reviewed by:

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

23 years agoas Bill did with threaded, don't let a child process return to parent code
Jeff Trawick [Thu, 5 Apr 2001 17:03:13 +0000 (17:03 +0000)]
as Bill did with threaded, don't let a child process return to parent code
when make_child() returns

fix a bad type for the len parm to apr_bucket_read()

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

23 years ago Time to refresh mak on Win32
William A. Rowe Jr [Thu, 5 Apr 2001 09:21:46 +0000 (09:21 +0000)]
  Time to refresh mak on Win32

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

23 years ago Lost mod_info at some point (probably well adding the experimental mods)
William A. Rowe Jr [Thu, 5 Apr 2001 09:11:09 +0000 (09:11 +0000)]
  Lost mod_info at some point (probably well adding the experimental mods)
  so put it back

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

23 years agoMove the error logging of a failed send into the core output filter. This
David Reid [Wed, 4 Apr 2001 21:41:52 +0000 (21:41 +0000)]
Move the error logging of a failed send into the core output filter.  This
should catch errors in any way we send data.

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

23 years agoSome code rewriting in ap_proxy_connect_handler():
Graham Leggett [Wed, 4 Apr 2001 18:47:42 +0000 (18:47 +0000)]
Some code rewriting in ap_proxy_connect_handler():
*) Fixed bug where a hostname without a "." in it (such as "localhost")
would not trigger an IP address check with ProxyBlock.
*) Fixed ProxyBlock bugs with ap_proxy_http_handler() and
ap_proxy_connect_handler().
*) Updated ap_proxy_connect_handler() to support APR, while
moving some common code between http_handler and connect_handler
to proxy_util.c.
PR:
Obtained from:
Reviewed by:

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

23 years agoSince ap_parse_uri_components() now guarantees port will be filled in,
Victor J. Orlikowski [Wed, 4 Apr 2001 07:33:30 +0000 (07:33 +0000)]
Since ap_parse_uri_components() now guarantees port will be filled in,
this is no longer needed in dav.

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

23 years agoAs in 1.3, make sure the port is set in ap_parse_uri_components().
Victor J. Orlikowski [Wed, 4 Apr 2001 07:22:20 +0000 (07:22 +0000)]
As in 1.3, make sure the port is set in ap_parse_uri_components().
Reviewed by: Chuck Murcko <chuck@topsail.org>

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

23 years agoModule writers for 2.0 shouldn't still be relying on a no-op for
Victor J. Orlikowski [Wed, 4 Apr 2001 07:15:35 +0000 (07:15 +0000)]
Module writers for 2.0 shouldn't still be relying on a no-op for
compatibilities' sake. Let's kill ap_util_uri_init, since it serves no
purpose now.

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

23 years ago*Sigh.* Again, removing UTIL_URI_REGEX stuff, this time from 2.0.
Victor J. Orlikowski [Wed, 4 Apr 2001 07:00:38 +0000 (07:00 +0000)]
*Sigh.* Again, removing UTIL_URI_REGEX stuff, this time from 2.0.

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

23 years agoBack out the 2.0.17 stuff. We'll just re-tag the one file in 2.0.16
Ryan Bloom [Wed, 4 Apr 2001 03:39:39 +0000 (03:39 +0000)]
Back out the 2.0.17 stuff.  We'll just re-tag the one file in 2.0.16
and re-roll.

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

23 years agoUpdate for 2.0.17. The only change was in APR-util, but APR and APR-util
Ryan Bloom [Wed, 4 Apr 2001 03:31:31 +0000 (03:31 +0000)]
Update for 2.0.17.  The only change was in APR-util, but APR and APR-util
aren't at a point that they have their own release strategy, so this means
a new tag for Apache.  :-(

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

23 years agoOS/2 loadable modules are done.
Brian Havard [Wed, 4 Apr 2001 01:46:36 +0000 (01:46 +0000)]
OS/2 loadable modules are done.

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

23 years agoWorking in 2.0.17-dev now.
Ryan Bloom [Wed, 4 Apr 2001 00:52:02 +0000 (00:52 +0000)]
Working in 2.0.17-dev now.

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

23 years agoUpdate the CHANGES and ap_release files.
Ryan Bloom [Wed, 4 Apr 2001 00:35:09 +0000 (00:35 +0000)]
Update the CHANGES and ap_release files.

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

23 years agoTemporary (hopefully) reversion to the previously used hack to
Marc Slemko [Tue, 3 Apr 2001 23:47:39 +0000 (23:47 +0000)]
Temporary (hopefully) reversion to the previously used hack to
allow --prefix to work for now.  This means that part of the Apache
layout is duplicated in configure.in again.

There are a _LOT_ of inconsistencies in different places about what
items in config.layout are actually used and how they can be set.

Also, change the couple of other things that are necessary to make
/usr/local/apache2 the default prefix when using this way of doing
things.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoDone.
Bill Stoddard [Tue, 3 Apr 2001 22:56:48 +0000 (22:56 +0000)]
Done.

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

23 years agoOh bother. OPTIM isn't treated the same in apr and
Jim Jagielski [Tue, 3 Apr 2001 20:57:57 +0000 (20:57 +0000)]
Oh bother. OPTIM isn't treated the same in apr and
httpd-2.0. While being fixed, allow to build

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

23 years agoMinor sync-up of how httpd-2.0 and apr handles
Jim Jagielski [Tue, 3 Apr 2001 20:38:10 +0000 (20:38 +0000)]
Minor sync-up of how httpd-2.0 and apr handles
these. -g is more an Optimization flag, and the others are
more compiler flags

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

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