]> granicus.if.org Git - apache/log
apache
22 years agouse ssl_asn1_table_keyfmt() function and only format each (rsa,dsa)
Doug MacEachern [Wed, 13 Mar 2002 18:51:35 +0000 (18:51 +0000)]
use ssl_asn1_table_keyfmt() function and only format each (rsa,dsa)
lookup key once, rather than twice.

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

22 years agouse ssl_asn1_table_keyfmt() function
Doug MacEachern [Wed, 13 Mar 2002 18:50:17 +0000 (18:50 +0000)]
use ssl_asn1_table_keyfmt() function

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

22 years agoadd ssl_asn1_table_keyfmt() function for clarity
Doug MacEachern [Wed, 13 Mar 2002 18:42:05 +0000 (18:42 +0000)]
add ssl_asn1_table_keyfmt() function for clarity

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

22 years agoget some hardcoded paths out of apxs
Jeff Trawick [Wed, 13 Mar 2002 18:02:02 +0000 (18:02 +0000)]
get some hardcoded paths out of apxs

PR:          10163 (but PR isn't completely solved with this commit)

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

22 years agoPR:
Doug MacEachern [Wed, 13 Mar 2002 17:09:51 +0000 (17:09 +0000)]
PR:
Obtained from:
Submitted by:   Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>
Reviewed by: dougm
adjust to SSL_SESSION_id2sz() prototype change

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

22 years agogeneralize session logging into ssl_session_log() function
Doug MacEachern [Wed, 13 Mar 2002 17:02:45 +0000 (17:02 +0000)]
generalize session logging into ssl_session_log() function

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

22 years agoRemove incomplete cache_objects from the cache if the cache update fails. This
Bill Stoddard [Wed, 13 Mar 2002 13:56:20 +0000 (13:56 +0000)]
Remove incomplete cache_objects from the cache if the cache update fails. This
fixes a bug where the cache was referencing freed cache_objects.

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

22 years agozap some crufty NO_GETTIMEOFDAY code
Jeff Trawick [Wed, 13 Mar 2002 13:08:49 +0000 (13:08 +0000)]
zap some crufty NO_GETTIMEOFDAY code

Submitted by:       Stas Bekman
Reviewed by:        Jeff Trawick

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

22 years agofix the calculation of request time in mod_status
Jeff Trawick [Wed, 13 Mar 2002 12:40:59 +0000 (12:40 +0000)]
fix the calculation of request time in mod_status

(currently nobody sets the start/stop times so this fix isn't
immediately apparent)

Submitted by:    Stas Bekman
Reviewed by:     Jeff Trawick

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

22 years agoFix the calculation of thread_num in the worker score structure.
Jeff Trawick [Wed, 13 Mar 2002 12:25:31 +0000 (12:25 +0000)]
Fix the calculation of thread_num in the worker score structure.

Submitted by:   Stas Bekman
Reviewed by:    Jeff Trawick

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

22 years agoSSL_SESSION_id2sz() was NOT THREAD SAFE. it returned a pointer to a
Doug MacEachern [Wed, 13 Mar 2002 06:41:46 +0000 (06:41 +0000)]
SSL_SESSION_id2sz() was NOT THREAD SAFE.  it returned a pointer to a
static variable.  fixed.

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

22 years agoSSL_SESSION_id2sz() is somewhat expensive, make sure we only call it
Doug MacEachern [Wed, 13 Mar 2002 06:12:24 +0000 (06:12 +0000)]
SSL_SESSION_id2sz() is somewhat expensive, make sure we only call it
if SSLLogLevel >= info

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

22 years agocleanup logging of CRL, includes ridding of some malloc/frees
Doug MacEachern [Wed, 13 Mar 2002 05:30:43 +0000 (05:30 +0000)]
cleanup logging of CRL, includes ridding of some malloc/frees

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

22 years agocouple o minor style/log fixos
Doug MacEachern [Wed, 13 Mar 2002 05:05:51 +0000 (05:05 +0000)]
couple o minor style/log fixos

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

22 years agouse ptemp in ssl_init_FindCAList() rather than creating a subpool.
Doug MacEachern [Wed, 13 Mar 2002 04:59:19 +0000 (04:59 +0000)]
use ptemp in ssl_init_FindCAList() rather than creating a subpool.

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

22 years agoswitch to ptemp pool for ssl_pphrase_Handle
Doug MacEachern [Wed, 13 Mar 2002 04:49:23 +0000 (04:49 +0000)]
switch to ptemp pool for ssl_pphrase_Handle

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

22 years agoonly call: ssl_rand_seed(s, p, SSL_RSCTX_STARTUP, "Init: ");
Doug MacEachern [Wed, 13 Mar 2002 04:38:35 +0000 (04:38 +0000)]
only call: ssl_rand_seed(s, p, SSL_RSCTX_STARTUP, "Init: ");

once at startup.  if there is value in calling it more than once at
startup, it should be done explicitly rather than hidden in
ssl_tmp_keys_init().

switch to ptemp pool when calling ssl_rand_seed() at startup.

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

22 years agoremove ssl_engine_ds.c
Doug MacEachern [Wed, 13 Mar 2002 04:16:11 +0000 (04:16 +0000)]
remove ssl_engine_ds.c

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

22 years agoremove obsolete ssl_ds_{table,array} api
Doug MacEachern [Wed, 13 Mar 2002 04:14:43 +0000 (04:14 +0000)]
remove obsolete ssl_ds_{table,array} api

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

22 years agoreplace ssl_ds_array usage with apr_array_header_t
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

22 years agoEnable mod_mem_cache to use apr_atomic operators in managing cache_object
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

22 years agoA bit more cleanup
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

22 years agominor ssl_init_CheckServers() enhancements:
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

22 years agofolding more duplication in ssl_tmp_keys_init
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

22 years agocleanup tmp key callbacks. each had assigned the same (1024 bit) value
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

22 years agosimplify the way we find the family of an apr_sockaddr_t
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

22 years agofor the sake of readablity,
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

22 years agosplit ssl_init_TmpKeysHandle function to init/free functions,
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

22 years agoit is not required that temporary keys survive restarts, since they
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

22 years agocleanup some code paths
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

22 years agoremove version checks for using EGD
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

22 years agoremove call to legacy X509V3_add_standard_extensions() function,
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

22 years agowe require OpenSSL 0.9.6+
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

22 years agoRemove some deprecated comments. Delete some unused variables.
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

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