]> granicus.if.org Git - apache/log
apache
22 years agodon't allocate SSLConnRec unless ssl is enabled on this vhost.
Doug MacEachern [Sun, 10 Mar 2002 00:22:07 +0000 (00:22 +0000)]
don't allocate SSLConnRec unless ssl is enabled on this vhost.
also provides a shorter shortcut for mod_ssl hooks to decline if ssl
is not enabled.

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

22 years agoFirst crack at the automatic directive index. Now the only thing that
Joshua Slive [Sat, 9 Mar 2002 22:42:54 +0000 (22:42 +0000)]
First crack at the automatic directive index.  Now the only thing that
needs to be done if a new module is added is to stick it in allmodules.xml.
The directives will then get included in the index.

The technique in the xsl stylesheet can surely be improved, and we can
also now do fancy stuff like having a "quick reference" which includes
syntax/etc.  But this is a good start.

I haven't committed the html output of this yet, because there are still
a few modules yet to be converted to xml.

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

22 years agoXML for mod_proxy.
Joshua Slive [Sat, 9 Mar 2002 22:23:29 +0000 (22:23 +0000)]
XML for mod_proxy.

Note: This one was and still is is pretty rough shape, both in terms of

1. Stinky markup (why use a <p> when a couple <br>s will do?)

2. Out of date and insufficient content.

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

22 years agoAdd a missing manualdir entry in the Debian layout.
Justin Erenkrantz [Sat, 9 Mar 2002 19:37:09 +0000 (19:37 +0000)]
Add a missing manualdir entry in the Debian layout.

Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz

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

22 years agoStop copying APR's libtool. And pass enough parameters to apr's subconfig
Justin Erenkrantz [Sat, 9 Mar 2002 19:29:18 +0000 (19:29 +0000)]
Stop copying APR's libtool.  And pass enough parameters to apr's subconfig
so that it can figure out where we would like libtool to be installed.

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

22 years agoUpdate transformations.
Joshua Slive [Sat, 9 Mar 2002 18:31:23 +0000 (18:31 +0000)]
Update transformations.

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

22 years agoNew xml versions.
Joshua Slive [Sat, 9 Mar 2002 18:31:00 +0000 (18:31 +0000)]
New xml versions.

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

22 years agoStyle Police comming through...
Sander Striker [Sat, 9 Mar 2002 14:13:49 +0000 (14:13 +0000)]
Style Police comming through...

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

22 years agoprovide missing MAX() macro so that proxy can compile again
Jeff Trawick [Sat, 9 Mar 2002 14:04:11 +0000 (14:04 +0000)]
provide missing MAX() macro so that proxy can compile again

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

22 years agoNew directive ProxyIOBufferSize. Sets the size of the buffer used
Graham Leggett [Sat, 9 Mar 2002 07:15:33 +0000 (07:15 +0000)]
New directive ProxyIOBufferSize. Sets the size of the buffer used
when reading from a remote HTTP server in proxy.

Modify receive/send loop in proxy_http and proxy_ftp so that
should it be necessary, the remote server socket is closed before
transmitting the last buffer (set by ProxyIOBufferSize) to the
client. This prevents the backend server from being forced to hang
around while the last few bytes are transmitted to a slow client.
Fix the case where no error checking was performed on the final
brigade in the loop.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoScrap CacheMaxExpireMin and CacheDefaultExpireMin. Change
Graham Leggett [Sat, 9 Mar 2002 06:59:28 +0000 (06:59 +0000)]
Scrap CacheMaxExpireMin and CacheDefaultExpireMin. Change
CacheMaxExpire and CacheDefaultExpire to use seconds rather than
hours.
PR:
Obtained from:
Submitted by:
Reviewed by: Bill Stoddard

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

22 years agoNo this is not a pretty site... close the cached file descriptor. There is no clean
Bill Stoddard [Fri, 8 Mar 2002 21:59:25 +0000 (21:59 +0000)]
No this is not a pretty site... close the cached file descriptor. There is no clean
way to get this back into an apr_file_t since we are in the request pool cleanup.

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

22 years agocomments on a showstopper
Jeff Trawick [Fri, 8 Mar 2002 21:34:20 +0000 (21:34 +0000)]
comments on a showstopper

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

22 years agoap_rgetline_core: fix a bug with folding observed while testing ebcdic.
Greg Ames [Fri, 8 Mar 2002 20:24:07 +0000 (20:24 +0000)]
ap_rgetline_core: fix a bug with folding observed while testing ebcdic.
Garbage characters sometimes appeared after a legitimate folded header.
We weren't allocating an extra byte for the trailing null, or copying it,
when called from get_mime_headers (folding is in use, and ap_rgetline is
responsible for allocating memory).  No need to worry about a trailing
LF - it's already been nuked.

I checked the partial line code to see if it had a similar bug.  It looked
like it did, and that the code which trims the back end of the line would
run multiple times and whack innocent bytes.  However, gdb showed that this
section of code appears to be dead due to input filter chain changes.

also, removed an assignment to a dead variable.

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

22 years agosupport reuse of encrypted DSA keys on restart
Doug MacEachern [Fri, 8 Mar 2002 18:16:41 +0000 (18:16 +0000)]
support reuse of encrypted DSA keys on restart

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

22 years agoFix a bug that would cause SERVER_CONFIG_FILE to be an absolute path,
Aaron Bannert [Fri, 8 Mar 2002 18:00:40 +0000 (18:00 +0000)]
Fix a bug that would cause SERVER_CONFIG_FILE to be an absolute path,
which would prevent the relocation of an httpd binary without having to
specify the -f flag.

Now it will be relative to the $prefix if $sysconfdir shares a common prefix,
or it will remain relative to $sysconfdir.

Submitted by: Thom May <thom@planetarytramp.net>, Aaron Bannert

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

22 years agoMake the xml match the DTD.
Joshua Slive [Fri, 8 Mar 2002 18:00:37 +0000 (18:00 +0000)]
Make the xml match the DTD.

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

22 years agoThis is not a showstopper, and it's definately not new.
Aaron Bannert [Fri, 8 Mar 2002 17:49:05 +0000 (17:49 +0000)]
This is not a showstopper, and it's definately not new.

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

22 years ago33 has come and gone.
Justin Erenkrantz [Fri, 8 Mar 2002 17:43:41 +0000 (17:43 +0000)]
33 has come and gone.

Add note about the fact that we aren't doing config substitution properly.
This is a showstopper, IMHO.

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

22 years agoUpdate the html tranformations.
Joshua Slive [Fri, 8 Mar 2002 17:19:23 +0000 (17:19 +0000)]
Update the html tranformations.

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

22 years agoAdd some more xml versions.
Joshua Slive [Fri, 8 Mar 2002 17:19:00 +0000 (17:19 +0000)]
Add some more xml versions.

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

22 years agoLooks like we'll have a nice weekend in the Carolinas.
Greg Ames [Fri, 8 Mar 2002 14:32:55 +0000 (14:32 +0000)]
Looks like we'll have a nice weekend in the Carolinas.

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

22 years agoadd a bit of error checking to the mod_cgid daemon's logic to read
Jeff Trawick [Fri, 8 Mar 2002 13:46:36 +0000 (13:46 +0000)]
add a bit of error checking to the mod_cgid daemon's logic to read
the request over the unix socket

it isn't perfect (EINTR, partial reads) but it is good enough to
avoid segfaulting if some code tries to verify that cgid is active
by connecting to its unix socket

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

22 years agoAdd file handle caching to mod_mem_cache. This is still experimental and
Bill Stoddard [Fri, 8 Mar 2002 04:25:30 +0000 (04:25 +0000)]
Add file handle caching to mod_mem_cache. This is still experimental and
is enabled by the #define CACHE_FD, which is off by default.

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

22 years agonew directive SSIUndefinedEcho.
Ian Holsman [Fri, 8 Mar 2002 04:14:26 +0000 (04:14 +0000)]
new directive SSIUndefinedEcho.
this allows webadmins to change the default '(none)' to something
a bit more presentable (eg <!-- undef -->)
PR:
Obtained from: Rex (the hack he had to fix this was so ugly I was forced to do this)
Submitted by:
Reviewed by:

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

22 years agoimplement a common function for getting a socket and trying to connect
Jeff Trawick [Fri, 8 Mar 2002 02:03:47 +0000 (02:03 +0000)]
implement a common function for getting a socket and trying to connect
to the target host; use that common function for proxy HTTP and proxy
CONNECT

In that new function, fix this problem:

     Proxy HTTP and CONNECT: Keep trying other addresses from the DNS
     when we can't get a socket in the specified address family.  We may
     have gotten back an IPv6 address first and yet our system is not
     configured to allow IPv6 sockets.

An example host is www.ipv6.org.  The first address I get back is
an IPv6 address, but my machine may not be configured to allow an
AF_INET6 socket.

Before the fix: The apr_socket() failure was fatal.
After the fix:  When apr_socket() fails, we go to the next address from
                the resolver, successfully create a socket in the
                specified family (AF_INET), and all is well.

(an unrelated fix in this commit was to pass a server_rec in a broken
ap_log_error() call)

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

22 years ago* mod_dav.c (dav_handle_err): look through the error stack for some
Greg Stein [Fri, 8 Mar 2002 01:22:20 +0000 (01:22 +0000)]
* mod_dav.c (dav_handle_err):  look through the error stack for some
    kind of errortag.  any buried errortag is better than a generic
    response.

Submitted by: Ben Collins-Sussman <sussman@collab.net>

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

22 years agoremove unused ap_server_ctx member from SSLSrvConfigRec
Doug MacEachern [Fri, 8 Mar 2002 00:03:50 +0000 (00:03 +0000)]
remove unused ap_server_ctx member from SSLSrvConfigRec

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

22 years agofix typo in ap_proxy_http_canon: s/https:/https/
Doug MacEachern [Thu, 7 Mar 2002 23:40:03 +0000 (23:40 +0000)]
fix typo in ap_proxy_http_canon: s/https:/https/

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

22 years agoComments like this help keep the sanity of module authors.
Aaron Bannert [Thu, 7 Mar 2002 22:55:03 +0000 (22:55 +0000)]
Comments like this help keep the sanity of module authors.

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

22 years agoDeconstify...
Bill Stoddard [Thu, 7 Mar 2002 22:48:37 +0000 (22:48 +0000)]
Deconstify...

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

22 years agoDeconstify these fields...
Bill Stoddard [Thu, 7 Mar 2002 22:47:15 +0000 (22:47 +0000)]
Deconstify these fields...

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

22 years agoNeed to check if the userdir is absolute before it gets split apart by ap_getword()
Bradley Nicholes [Thu, 7 Mar 2002 22:36:07 +0000 (22:36 +0000)]
Need to check if the userdir is absolute before it gets split apart by ap_getword()
Also fixed up the !HAVE_DRIVE_LETTERS case (such as NetWare) where
the volume delimiter ( colon ) is not in an absolute position.

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

22 years agoAlignment tweaks. No function change.
Bill Stoddard [Thu, 7 Mar 2002 22:26:33 +0000 (22:26 +0000)]
Alignment tweaks. No function change.

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

22 years agoBail out gracefully if any part od cache load fails. Still need to handle bailing
Bill Stoddard [Thu, 7 Mar 2002 22:24:56 +0000 (22:24 +0000)]
Bail out gracefully if any part od cache load fails. Still need to handle bailing
out of serving out of the cache fails.

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

22 years agoChange the return type on read_headers, write_headers, read_body and write_body.
Bill Stoddard [Thu, 7 Mar 2002 22:13:15 +0000 (22:13 +0000)]
Change the return type on read_headers, write_headers, read_body and write_body.
Sanitize some of the return codes.

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

22 years agoap_rgetline: fix folding and partial line handling on ebcdic boxes. The
Greg Ames [Thu, 7 Mar 2002 22:08:46 +0000 (22:08 +0000)]
ap_rgetline: fix folding and partial line handling on ebcdic boxes.  The
normal case worked OK, but due to the recursion and multiple exit points,
input bytes could go thru charset translation multiple times or not at all.

Suggested by: Justin Erenkrantz

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

22 years agoDo a better job of cleaning up (plug memory leaks) and handling aborted
Bill Stoddard [Thu, 7 Mar 2002 21:44:49 +0000 (21:44 +0000)]
Do a better job of cleaning up (plug memory leaks) and handling aborted
cache updates. We really need a better way to allocate cache_objects.
Making WAY too many malloc/calloc calls...

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

22 years agoTorch a stale commented out line.
Sander Striker [Thu, 7 Mar 2002 20:03:02 +0000 (20:03 +0000)]
Torch a stale commented out line.

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

22 years agoBig style patch.
Sander Striker [Thu, 7 Mar 2002 19:53:31 +0000 (19:53 +0000)]
Big style patch.
Mostly detab, but also changed some comments from:
/*
**
*/

to:

/*
 *
 */

The latter is the dominant style in apache.  The only
other places they can be found (AFAIK) are mod_ssl and
mod_rewrite.

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

22 years agoTrack cache size as items are added to and removed from the cache
Bill Stoddard [Thu, 7 Mar 2002 19:27:58 +0000 (19:27 +0000)]
Track cache size as items are added to and removed from the cache

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

22 years agoPlace some limits on the size of the cache and the number of objects that can be
Bill Stoddard [Thu, 7 Mar 2002 19:21:56 +0000 (19:21 +0000)]
Place some limits on the size of the cache and the number of objects that can be
placed in the cache.

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

22 years agoNetWare .def files for the DAV modules
Bradley Nicholes [Thu, 7 Mar 2002 18:14:03 +0000 (18:14 +0000)]
NetWare .def files for the DAV modules

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

22 years agoAdded DAV to the build project
Bradley Nicholes [Thu, 7 Mar 2002 18:12:41 +0000 (18:12 +0000)]
Added DAV to the build project

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

22 years agoAdd a comment...
Bill Stoddard [Thu, 7 Mar 2002 15:16:25 +0000 (15:16 +0000)]
Add a comment...

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

22 years agoIt is bad to recursively remove every CVS directory in a person's
Aaron Bannert [Thu, 7 Mar 2002 15:09:36 +0000 (15:09 +0000)]
It is bad to recursively remove every CVS directory in a person's
home directory. Bad bad bad. Make sure the variable was set to
something before cd-ing to blank and ending up in their $HOME.

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

22 years agoIt is bad to recursively remove every CVS directory in a person's
Aaron Bannert [Thu, 7 Mar 2002 15:06:07 +0000 (15:06 +0000)]
It is bad to recursively remove every CVS directory in a person's
home directory. Bad bad bad. Make sure the variable was set to something
before cd-ing to blank and ending up in their $HOME.

Also, since each line under a make rule is treated as a new subshell,
it's not necessary to surround the whole line in ()s.

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

22 years agoMention adding a missing errordir entry in the Debian config.layout.
Aaron Bannert [Thu, 7 Mar 2002 14:59:32 +0000 (14:59 +0000)]
Mention adding a missing errordir entry in the Debian config.layout.

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

22 years agoWill the real errordir please step forward.
Aaron Bannert [Thu, 7 Mar 2002 14:55:14 +0000 (14:55 +0000)]
Will the real errordir please step forward.

Submitted by: Thom May <thom@planetarytramp.net>

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

22 years agoAdd CacheMinObjectSize and CacheMaxObjectSize directives to mod_mem_cache
Bill Stoddard [Thu, 7 Mar 2002 14:55:10 +0000 (14:55 +0000)]
Add CacheMinObjectSize and CacheMaxObjectSize directives to mod_mem_cache

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

22 years agoAdd a missing errordir entry in the Debian config.layout.
Aaron Bannert [Thu, 7 Mar 2002 14:26:07 +0000 (14:26 +0000)]
Add a missing errordir entry in the Debian config.layout.

PR: 10067
Obtained from:  Dirk-Jan Faber <dirk-jan@selwerd.nl>

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

22 years agoCleanup some left behind style nits I missed and clean
Sander Striker [Thu, 7 Mar 2002 14:13:23 +0000 (14:13 +0000)]
Cleanup some left behind style nits I missed and clean
one up I just introduced :(.
Add the standard comments to the module struct.

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

22 years agoAlways fun when you mess up your first commit...
Sander Striker [Thu, 7 Mar 2002 13:12:59 +0000 (13:12 +0000)]
Always fun when you mess up your first commit...

Get the logic right this time.

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

22 years agoCheck to see if r->content_type != NULL before comparing it to something.
Sander Striker [Thu, 7 Mar 2002 13:08:34 +0000 (13:08 +0000)]
Check to see if r->content_type != NULL before comparing it to something.
Remove a check that was in here twice.

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

22 years agoOh Yoko!
Justin Erenkrantz [Thu, 7 Mar 2002 09:48:07 +0000 (09:48 +0000)]
Oh Yoko!

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

22 years agoAs hinted on dev@httpd, change filter naming schemes to match our
Justin Erenkrantz [Thu, 7 Mar 2002 09:27:17 +0000 (09:27 +0000)]
As hinted on dev@httpd, change filter naming schemes to match our
expectations of their usage.

The reason that we should make this change now is that we have changed
the implied meaning of AP_FTYPE_HTTP_HEADER - some users of this should
be PROTOCOL while others should be CONTENT_SET.  In order to clarify it,
toss all of the bogus names and force the filter writers to make sure
they understand what they are doing.

CONTENT_SET is new (horrible name - change if you have better idea), but
it indicates that it should run between RESOURCE and PROTOCOL.
mod_deflate is the ideal CONTENT_SET filter.

The changed type names are:
CONTENT is now RESOURCE.
HTTP_HEADER is now PROTOCOL.  However, most filters that used HTTP_HEADER
may want CONTENT_SET.  (Only things like POP and HTTP belong as PROTOCOL.)

MMN bump since all filters need to be recompiled due to filter reordering.

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

22 years agoWhen using mod_ssl, it is possible that we'd be called when there are no
Justin Erenkrantz [Thu, 7 Mar 2002 08:58:21 +0000 (08:58 +0000)]
When using mod_ssl, it is possible that we'd be called when there are no
protocol filters, so stop the segfault.

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

22 years agoFix prototype and return value of http_create_request to match new hook
Justin Erenkrantz [Thu, 7 Mar 2002 08:23:56 +0000 (08:23 +0000)]
Fix prototype and return value of http_create_request to match new hook
declaration.

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

22 years agoWe need to setup protocol filters for the fake request. If we don't,
Ryan Bloom [Thu, 7 Mar 2002 06:07:25 +0000 (06:07 +0000)]
We need to setup protocol filters for the fake request.  If we don't,
then when any request filters are added, the connection filters will be
lost.  This fixes the proxy.

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

22 years agoThere is no reason to insert the protocol filters in the insert_filters
Ryan Bloom [Thu, 7 Mar 2002 05:02:53 +0000 (05:02 +0000)]
There is no reason to insert the protocol filters in the insert_filters
phase.  This moves us to inserting the filters in the create_request
phase.  This makes more sense, because now the protocol filters are attached
to the request as soon as possible.  Previously, some requests never
called the insert_filters phase, so they don't get the filters.  Think
redirects for reqeusts that never call insert_filters.

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

22 years agoConversion to XML
Rich Bowen [Thu, 7 Mar 2002 03:46:33 +0000 (03:46 +0000)]
Conversion to XML

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

22 years agoRemove the prev pointer from the filter chain. This removes
Ryan Bloom [Thu, 7 Mar 2002 02:09:30 +0000 (02:09 +0000)]
Remove the prev pointer from the filter chain.  This removes
the complexity of trying to set the filter chain correctly, with the
side-effect of forcing us to walk the entire chain whenever we add
a filter.  Since the filter chains are small, the decrease in
complexity is worth it.
Reviewed by: Allan Edwards

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

22 years agoXML conversion
Rich Bowen [Thu, 7 Mar 2002 01:19:40 +0000 (01:19 +0000)]
XML conversion

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

22 years ago64-bit build on AIX:
Jeff Trawick [Thu, 7 Mar 2002 00:23:30 +0000 (00:23 +0000)]
64-bit build on AIX:
  fix major bogosity in the logic to avoid setting LDR_CNTRL=MAXDATA=xxx
  for a 64-bit build...  the name of the environment variable was wrong
  and even the test usage was bogus

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

22 years agoBring some more files into line with the new DTD.
Joshua Slive [Wed, 6 Mar 2002 22:16:49 +0000 (22:16 +0000)]
Bring some more files into line with the new DTD.

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

22 years agoBring some docs into line with the DTD.
Joshua Slive [Wed, 6 Mar 2002 20:58:48 +0000 (20:58 +0000)]
Bring some docs into line with the DTD.

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

22 years agoA few tweaks to the DTD found while validating existing docs.
Joshua Slive [Wed, 6 Mar 2002 20:42:40 +0000 (20:42 +0000)]
A few tweaks to the DTD found while validating existing docs.

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

22 years agoFix a problem in the new --enable-layout functionality where
Aaron Bannert [Wed, 6 Mar 2002 18:49:54 +0000 (18:49 +0000)]
Fix a problem in the new --enable-layout functionality where
it wouldn't allow overrides from variables like --prefix,
--bindir, etc.

Mention my fix to the core input filter for the AP_MODE_EXHAUSTIVE case.

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

22 years agoFix a problem in the new --enable-layout functionality where
Aaron Bannert [Wed, 6 Mar 2002 18:48:22 +0000 (18:48 +0000)]
Fix a problem in the new --enable-layout functionality where
it wouldn't allow overrides from variables like --prefix,
--bindir, etc.

Obtained from:  Partly from an autoconf-generated configure script.
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Aaron Bannert, Justin Erenkrantz

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

22 years agobump after the tag.
Ryan Bloom [Wed, 6 Mar 2002 18:09:09 +0000 (18:09 +0000)]
bump after the tag.

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

22 years agoFix a bug in the APR_MODE_EXHAUSTIVE mode for the core input filter.
Aaron Bannert [Wed, 6 Mar 2002 18:03:19 +0000 (18:03 +0000)]
Fix a bug in the APR_MODE_EXHAUSTIVE mode for the core input filter.
This patch changes nothing outside of that mode.

Also, why do we ever call apr_brigade_length() in the core? This doesn't
seem right to me, so here's a comment above the other call.

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

22 years agoPush for a new tag.
Ryan Bloom [Wed, 6 Mar 2002 18:00:14 +0000 (18:00 +0000)]
Push for a new tag.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoapr-utils rename apr_ansi_time_to_apr_time and
Ian Holsman [Wed, 6 Mar 2002 17:55:38 +0000 (17:55 +0000)]
apr-utils rename apr_ansi_time_to_apr_time and
apr_exploded_time_t.

PR:
Obtained from:
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Ian Holsman

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

22 years agomake sure r->proto_xxput_filter gets updated as necessary when
Allan K. Edwards [Wed, 6 Mar 2002 17:29:39 +0000 (17:29 +0000)]
make sure r->proto_xxput_filter gets updated as necessary when
deleting a filter from the chain

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

22 years agoBring the html transformations up-to-date.
Joshua Slive [Wed, 6 Mar 2002 17:08:19 +0000 (17:08 +0000)]
Bring the html transformations up-to-date.

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

22 years agoTry once more to fix the whitespace problems. This type use a big stick
Joshua Slive [Wed, 6 Mar 2002 17:06:41 +0000 (17:06 +0000)]
Try once more to fix the whitespace problems.  This type use a big stick
by turning off indenting.

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

22 years agoA few small changes to bring some docs in line with the DTD.
Joshua Slive [Wed, 6 Mar 2002 16:24:47 +0000 (16:24 +0000)]
A few small changes to bring some docs in line with the DTD.

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

22 years agoAdd a DTD for the new module docs.
Joshua Slive [Wed, 6 Mar 2002 16:19:35 +0000 (16:19 +0000)]
Add a DTD for the new module docs.

At the moment, not everything will validate with this DTD.  This could be
for a couple reasons:

1. The DTD needs some slight adjustments.

2. The xml needs some slight adjustments.

On the other hand, some things like mod_rewrite.xml are so far from this
DTD that I don't think I will bother trying to make it validate right
now.

Submitted By: Brad Miller <brad@beldamar.com>, Joshua Slive

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

22 years agoA few changes of my own:
Joshua Slive [Wed, 6 Mar 2002 15:57:52 +0000 (15:57 +0000)]
A few changes of my own:

Get rid of the 100% table widths, since they don't render well in MSIE.
Add the &nbsp; back in "Module Identifier".
Fix the remaining extra-space problems.

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

22 years agoUpdated to stylessheets to translate remaining text
Joshua Slive [Wed, 6 Mar 2002 15:48:14 +0000 (15:48 +0000)]
Updated to stylessheets to translate remaining text
and improve a few spacing issues.

Submitted by: Patrik Grip-Jansson <patrikj@gnulix.org>

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

22 years agoRemove a comment that no longer applies.
Ryan Bloom [Wed, 6 Mar 2002 14:43:45 +0000 (14:43 +0000)]
Remove a comment that no longer applies.

Submitted by:  Greg Stein

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

22 years agomod_env xml conversion.
Joshua Slive [Wed, 6 Mar 2002 01:51:37 +0000 (01:51 +0000)]
mod_env xml conversion.

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

22 years agoAdd mpm_winnt conversion and fix a typo in mpm_common.
Joshua Slive [Tue, 5 Mar 2002 23:15:43 +0000 (23:15 +0000)]
Add mpm_winnt conversion and fix a typo in mpm_common.

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

22 years agoaxe the entry on graceful restart problems with worker
Jeff Trawick [Tue, 5 Mar 2002 21:23:29 +0000 (21:23 +0000)]
axe the entry on graceful restart problems with worker

I was too stupid to read the code to determine that the accept mutex
failure log messages were harmless and not indicative of a real problem.

I'll try to understand the conditions where I'm seeing connections
dropped.

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

22 years agofailures on the accept mutex are common at restart time, so be smart
Jeff Trawick [Tue, 5 Mar 2002 21:18:07 +0000 (21:18 +0000)]
failures on the accept mutex are common at restart time, so be smart
about the log level and use APLOG_DEBUG if we're restarting

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

22 years agofix a typo in a log message... the message claimed that apr_proc_mutex_lock()
Jeff Trawick [Tue, 5 Mar 2002 21:01:24 +0000 (21:01 +0000)]
fix a typo in a log message...  the message claimed that apr_proc_mutex_lock()
failed when actually it was apr_proc_mutex_unlock() which failed

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

22 years agoskip the lock release if the lock obtain failed
Jeff Trawick [Tue, 5 Mar 2002 20:51:50 +0000 (20:51 +0000)]
skip the lock release if the lock obtain failed

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

22 years agoSander's Stylistic Submission
Ian Holsman [Tue, 5 Mar 2002 20:43:24 +0000 (20:43 +0000)]
Sander's Stylistic Submission
(de-tab)
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoSander's Stylistic Submission
Ian Holsman [Tue, 5 Mar 2002 20:42:31 +0000 (20:42 +0000)]
Sander's Stylistic Submission
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoNetWare AWK script for producing the shipping version of the HTTPD.conf
Bradley Nicholes [Tue, 5 Mar 2002 19:55:32 +0000 (19:55 +0000)]
NetWare AWK script for producing the shipping version of the HTTPD.conf
file from the template

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

22 years agoDetabify those parts of this file which don't collide with the bucket
Cliff Woolley [Tue, 5 Mar 2002 18:21:39 +0000 (18:21 +0000)]
Detabify those parts of this file which don't collide with the bucket
freelist patch.  The remaining tabs go away for free with that patch.
Submitted by: Sander Striker
Reviewed by: Brian Pane

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

22 years agofix <Directory ~ blah> containers.
Greg Ames [Tue, 5 Mar 2002 15:46:21 +0000 (15:46 +0000)]
fix <Directory ~ blah> containers.

also, eradicate a few nefarious tabs which were found lurking in the vicinity.

Submitted by:  Rob Simonson <simo@us.ibm.com>
Reviewed by:   Greg Ames

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

22 years agoRemove another hack from the server. The add_required_filters function
Ryan Bloom [Tue, 5 Mar 2002 05:41:28 +0000 (05:41 +0000)]
Remove another hack from the server.  The add_required_filters function
was required to make sure that the sub request had the correct filters
when we went send the error page.  With the new filter insertion logic,
this is no longer necessary.

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

22 years agoOnly insert net_filter once per request. Initialize the output
Ryan Bloom [Tue, 5 Mar 2002 05:24:21 +0000 (05:24 +0000)]
Only insert net_filter once per request.  Initialize the output
protocol filters.

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

22 years agoStop the loop when we have found the correct filter, or when the filter
Ryan Bloom [Tue, 5 Mar 2002 05:21:13 +0000 (05:21 +0000)]
Stop the loop when we have found the correct filter, or when the filter
list is over.  Do not stop if the next filter is NULL.

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

22 years agomod_dir xml conversion.
Joshua Slive [Mon, 4 Mar 2002 21:24:05 +0000 (21:24 +0000)]
mod_dir xml conversion.

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

22 years agoFix up the wording on the --with-module output printed during --help.
Aaron Bannert [Mon, 4 Mar 2002 21:20:12 +0000 (21:20 +0000)]
Fix up the wording on the --with-module output printed during --help.
This has been a FAQ with some new 2.0 module developers.

Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Aaron Bannert

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

22 years agoConvert mod_deflate.
Joshua Slive [Mon, 4 Mar 2002 21:10:36 +0000 (21:10 +0000)]
Convert mod_deflate.

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

22 years agoAdd mod_dav.xml and cleanup a couple missing things in mod_charset_lite.
Joshua Slive [Mon, 4 Mar 2002 20:57:06 +0000 (20:57 +0000)]
Add mod_dav.xml and cleanup a couple missing things in mod_charset_lite.

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

22 years agomod_charset_lite xml format.
Joshua Slive [Mon, 4 Mar 2002 20:39:49 +0000 (20:39 +0000)]
mod_charset_lite xml format.

I'm termporarily holding off committing the html transformations while
we work out a few stylesheet problems.

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