]>
granicus.if.org Git - apache/log
Doug MacEachern [Wed, 13 Mar 2002 03:59:43 +0000 (03:59 +0000)]
replace ssl_ds_array usage with apr_array_header_t
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93890
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Wed, 13 Mar 2002 03:59:21 +0000 (03:59 +0000)]
Enable mod_mem_cache to use apr_atomic operators in managing cache_object
reference counting. Enabled by default via the USE_ATOMICS preproc directive.
This compiles cleanly and serves pages on Windows. Not compiled or tested on
any other OS.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93889
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Wed, 13 Mar 2002 03:00:22 +0000 (03:00 +0000)]
A bit more cleanup
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93888
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 13 Mar 2002 01:15:14 +0000 (01:15 +0000)]
minor ssl_init_CheckServers() enhancements:
- pass the ptemp (temporary pool) so we don't need to create a subpool
and destroy it ourselves.
- change ssl_ds_table usage to apr_hash_t
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93887
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 13 Mar 2002 00:50:13 +0000 (00:50 +0000)]
folding more duplication in ssl_tmp_keys_init
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93886
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 12 Mar 2002 23:42:53 +0000 (23:42 +0000)]
cleanup tmp key callbacks. each had assigned the same (1024 bit) value
in 3 different places. the old code did nothing special in the case
of the export flag either.
add an ssl_log in each to trace when keys are being handed out.
add some XXX comments.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93885
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 12 Mar 2002 23:15:54 +0000 (23:15 +0000)]
simplify the way we find the family of an apr_sockaddr_t
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93884
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 12 Mar 2002 23:05:33 +0000 (23:05 +0000)]
for the sake of readablity,
change: SSL_TKPIDX_{DH,RSA}{512,1024}
to: SSL_TMP_KEY_{DH,RSA}_{512,1024}
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93883
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 12 Mar 2002 22:50:38 +0000 (22:50 +0000)]
split ssl_init_TmpKeysHandle function to init/free functions,
and make them static to ssl_engine_init.c
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93882
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 12 Mar 2002 22:34:31 +0000 (22:34 +0000)]
it is not required that temporary keys survive restarts, since they
are generated and destroyed on every restart.
so get rid of SSLModConfigRec.tTmpKeys table and mess that was
managing it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93881
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 12 Mar 2002 22:26:07 +0000 (22:26 +0000)]
cleanup some code paths
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93880
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 12 Mar 2002 22:11:51 +0000 (22:11 +0000)]
remove version checks for using EGD
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93879
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 12 Mar 2002 22:08:23 +0000 (22:08 +0000)]
remove call to legacy X509V3_add_standard_extensions() function,
not needed with OpenSSL 0.9.6+
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93878
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 12 Mar 2002 22:07:12 +0000 (22:07 +0000)]
we require OpenSSL 0.9.6+
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93877
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 12 Mar 2002 22:05:21 +0000 (22:05 +0000)]
Remove some deprecated comments. Delete some unused variables.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93876
13f79535 -47bb-0310-9956-
ffa450edef68
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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