]> granicus.if.org Git - apache/log
apache
22 years agoremoving unused ssl_init_ChildKill
Doug MacEachern [Tue, 12 Mar 2002 21:54:27 +0000 (21:54 +0000)]
removing unused ssl_init_ChildKill

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

22 years agomaking ssl_init_SSLLibrary() static
Doug MacEachern [Tue, 12 Mar 2002 21:53:44 +0000 (21:53 +0000)]
making ssl_init_SSLLibrary() static

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

22 years agocleanup version component construction.
Doug MacEachern [Tue, 12 Mar 2002 21:48:48 +0000 (21:48 +0000)]
cleanup version component construction.

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

22 years agofold duplication of SSL{Proxy}VerifyDepth directives into
Doug MacEachern [Tue, 12 Mar 2002 21:12:49 +0000 (21:12 +0000)]
fold duplication of SSL{Proxy}VerifyDepth directives into
ssl_cmd_verify_depth_parse function.

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

22 years agoFixed a type mismatch
Bradley Nicholes [Tue, 12 Mar 2002 21:10:18 +0000 (21:10 +0000)]
Fixed a type mismatch

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

22 years agomoving SSLVerifyClient directive parsing into ssl_cmd_verify_parse
Doug MacEachern [Tue, 12 Mar 2002 21:06:17 +0000 (21:06 +0000)]
moving SSLVerifyClient directive parsing into ssl_cmd_verify_parse
function, which can also be used for SSLProxyVerify directive.

dropping support for undocumented integer form of levels (0..3)

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

22 years agoAdded NetWare to the ifdef list
Bradley Nicholes [Tue, 12 Mar 2002 21:05:37 +0000 (21:05 +0000)]
Added NetWare to the ifdef list

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

22 years agoFixed the slashes on the server root path
Bradley Nicholes [Tue, 12 Mar 2002 21:01:46 +0000 (21:01 +0000)]
Fixed the slashes on the server root path

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

22 years agoAdded the AWK script to the build that generates the default HTTPD.conf file
Bradley Nicholes [Tue, 12 Mar 2002 21:01:08 +0000 (21:01 +0000)]
Added the AWK script to the build that generates the default HTTPD.conf file

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

22 years agofold duplication of SSL{Proxy}Protocol directives into
Doug MacEachern [Tue, 12 Mar 2002 19:47:16 +0000 (19:47 +0000)]
fold duplication of SSL{Proxy}Protocol directives into
ssl_cmd_protocol_parse function.

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

22 years agofold some duplication of server certs/keys directive checking into
Doug MacEachern [Tue, 12 Mar 2002 19:02:22 +0000 (19:02 +0000)]
fold some duplication of server certs/keys directive checking into
ssl_cmd_check_aidx_max function.

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

22 years agofolding some command handler duplication into two generic functions:
Doug MacEachern [Tue, 12 Mar 2002 18:34:19 +0000 (18:34 +0000)]
folding some command handler duplication into two generic functions:
ssl_cmd_check_file and ssl_cmd_check_dir.

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

22 years agoget rid of some warnings for currently unused/unprototyped functions.
Doug MacEachern [Tue, 12 Mar 2002 17:27:40 +0000 (17:27 +0000)]
get rid of some warnings for currently unused/unprototyped functions.
(we can actually compile mod_ssl with -Werror if -Wstrict-prototypes
is taken out)

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

22 years agominor performance enhancement: no need to use md5 of VHostID for the
Doug MacEachern [Tue, 12 Mar 2002 16:55:56 +0000 (16:55 +0000)]
minor performance enhancement: no need to use md5 of VHostID for the
session id, just use the VHostID itself.

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

22 years agodropping hungarian notation
Doug MacEachern [Tue, 12 Mar 2002 16:50:44 +0000 (16:50 +0000)]
dropping hungarian notation

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

22 years agominor style changes
Doug MacEachern [Tue, 12 Mar 2002 16:44:18 +0000 (16:44 +0000)]
minor style changes

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

22 years agoChanged a <default>, so it doesn't use <em>
patrikj [Tue, 12 Mar 2002 15:26:36 +0000 (15:26 +0000)]
Changed a <default>, so it doesn't use <em>

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

22 years agoAllow the border attribute in <img>
patrikj [Tue, 12 Mar 2002 15:24:26 +0000 (15:24 +0000)]
Allow the border attribute in <img>
Allow the id attribute in <a>

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

22 years agoEdited so that it can be validated.
patrikj [Tue, 12 Mar 2002 15:22:45 +0000 (15:22 +0000)]
Edited so that it can be validated.

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

22 years agomention a mod_negotiation+Win32 concern
Jeff Trawick [Tue, 12 Mar 2002 14:41:29 +0000 (14:41 +0000)]
mention a mod_negotiation+Win32 concern

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

22 years agoResolve the issue Jeff pointed out in his recently added comment. That
Sander Striker [Tue, 12 Mar 2002 13:30:24 +0000 (13:30 +0000)]
Resolve the issue Jeff pointed out in his recently added comment.  That
is, prevent a possible segfault or finding a tag in reused memory.

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

22 years agoadd a comment to point out a potential segfault
Jeff Trawick [Tue, 12 Mar 2002 11:48:32 +0000 (11:48 +0000)]
add a comment to point out a potential segfault

tweak an existing comment to make it a little more clear

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

22 years agoStyle Police comming through...
Sander Striker [Tue, 12 Mar 2002 09:02:19 +0000 (09:02 +0000)]
Style Police comming through...

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

22 years agodropping hungarian notation
Doug MacEachern [Tue, 12 Mar 2002 04:41:57 +0000 (04:41 +0000)]
dropping hungarian notation

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

22 years agoReference the cache_object directly rather than via the handle
Bill Stoddard [Tue, 12 Mar 2002 03:00:35 +0000 (03:00 +0000)]
Reference the cache_object directly rather than via the handle

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

22 years agoMove refcount and cleanup to the primary cache object (these fields can now
Bill Stoddard [Tue, 12 Mar 2002 02:54:25 +0000 (02:54 +0000)]
Move refcount and cleanup to the primary cache object (these fields can now
be used implementations other than mod_mem_cache)

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

22 years agovarious style fixups / general changes to make code more readable.
Doug MacEachern [Tue, 12 Mar 2002 01:40:02 +0000 (01:40 +0000)]
various style fixups / general changes to make code more readable.

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

22 years agovarious style fixups / general changes to make code more readable.
Doug MacEachern [Tue, 12 Mar 2002 01:04:16 +0000 (01:04 +0000)]
various style fixups / general changes to make code more readable.

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

22 years agoadd SSL_VERIFY_PEER_STRICT shortcut for often used flags
Doug MacEachern [Tue, 12 Mar 2002 00:06:06 +0000 (00:06 +0000)]
add SSL_VERIFY_PEER_STRICT shortcut for often used flags

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

22 years agovarious style fixups / general changes to make code more readable.
Doug MacEachern [Tue, 12 Mar 2002 00:05:18 +0000 (00:05 +0000)]
various style fixups / general changes to make code more readable.

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

22 years agoRemoved <em> from <default>
patrikj [Mon, 11 Mar 2002 19:43:47 +0000 (19:43 +0000)]
Removed <em> from <default>

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

22 years agoMake this look a bit better.
Sander Striker [Mon, 11 Mar 2002 14:27:45 +0000 (14:27 +0000)]
Make this look a bit better.

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

22 years agoStyle Police comming through...
Sander Striker [Mon, 11 Mar 2002 13:57:25 +0000 (13:57 +0000)]
Style Police comming through...

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

22 years agoAdded some attributes to various tags
patrikj [Mon, 11 Mar 2002 12:58:23 +0000 (12:58 +0000)]
Added some attributes to various tags
Added <img> tag

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

22 years agoModified so that it validates.
patrikj [Mon, 11 Mar 2002 12:39:50 +0000 (12:39 +0000)]
Modified so that it validates.

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

22 years agoAdd the "How filters work" section. Cut 'n paste job from Ryans
Sander Striker [Mon, 11 Mar 2002 12:03:44 +0000 (12:03 +0000)]
Add the "How filters work" section.  Cut 'n paste job from Ryans
email <022501c1c529$f63a9550$7f00000a@KOJ>, needs formatting.

Submitted by: Ryan Bloom

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

22 years agoCleaned up so that it validates
patrikj [Mon, 11 Mar 2002 12:01:25 +0000 (12:01 +0000)]
Cleaned up so that it validates
<b> to <strong>
<i> to <em>
and so on...

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

22 years agoChanged DOCTYPE, so that it can be validated.
patrikj [Mon, 11 Mar 2002 11:36:04 +0000 (11:36 +0000)]
Changed DOCTYPE, so that it can be validated.
Added <p>:s to get it to validate

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

22 years agoAdded %inlinetags; to <default> (some docs uses <em> in <default>)
patrikj [Mon, 11 Mar 2002 11:31:57 +0000 (11:31 +0000)]
Added  %inlinetags; to <default> (some docs uses <em> in <default>)

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

22 years agoFixed XML header, so that the document can be validated.
patrikj [Mon, 11 Mar 2002 11:13:36 +0000 (11:13 +0000)]
Fixed XML header, so that the document can be validated.

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

22 years agoChanged the DOCTYPE and DTD, so that it can be validated.
patrikj [Mon, 11 Mar 2002 11:09:47 +0000 (11:09 +0000)]
Changed the DOCTYPE and DTD, so that it can be validated.

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

22 years agoStyle Police comming through...
Sander Striker [Mon, 11 Mar 2002 10:48:58 +0000 (10:48 +0000)]
Style Police comming through...

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

22 years agoBe a better example.
Ben Laurie [Sun, 10 Mar 2002 20:49:29 +0000 (20:49 +0000)]
Be a better example.

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

22 years agoSomehow I missed mod_expires in the xmlization. Here it is.
Joshua Slive [Sun, 10 Mar 2002 19:37:12 +0000 (19:37 +0000)]
Somehow I missed mod_expires in the xmlization.  Here it is.

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

22 years agoTransformations updates.
Joshua Slive [Sun, 10 Mar 2002 05:10:46 +0000 (05:10 +0000)]
Transformations updates.

Bring the automatic indexes online.

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

22 years agoConvert the last module (mpm_netware) and add the skeleton xml for
Joshua Slive [Sun, 10 Mar 2002 05:06:42 +0000 (05:06 +0000)]
Convert the last module (mpm_netware) and add the skeleton xml for
the automatic module index.

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

22 years agoAdd the stylesheet transformation to create the automatic module index.
Joshua Slive [Sun, 10 Mar 2002 05:05:42 +0000 (05:05 +0000)]
Add the stylesheet transformation to create the automatic module index.

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

22 years agoFix a couple problems with the automatic directive index.
Joshua Slive [Sun, 10 Mar 2002 04:35:42 +0000 (04:35 +0000)]
Fix a couple problems with the automatic directive index.

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

22 years agoUpdates to some transformations and the allmodules file.
Joshua Slive [Sun, 10 Mar 2002 04:35:19 +0000 (04:35 +0000)]
Updates to some transformations and the allmodules file.

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

22 years agoAnother few xml files. Only one or two left to go.
Joshua Slive [Sun, 10 Mar 2002 04:34:21 +0000 (04:34 +0000)]
Another few xml files.  Only one or two left to go.

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

22 years agono need to call SSL_clear() after SSL_new()
Doug MacEachern [Sun, 10 Mar 2002 00:29:49 +0000 (00:29 +0000)]
no need to call SSL_clear() after SSL_new()

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

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