]> granicus.if.org Git - apache/log
apache
22 years ago Silly module, we don't need compat.h :)
William A. Rowe Jr [Sat, 16 Mar 2002 17:55:07 +0000 (17:55 +0000)]
  Silly module, we don't need compat.h :)

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

22 years agoSolaris 8 doesn't have a thundering herd problem
Ian Holsman [Sat, 16 Mar 2002 06:35:11 +0000 (06:35 +0000)]
Solaris 8 doesn't have a thundering herd problem
according to the sun experts

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

22 years agomake sure we set rc before referencing it
Jeff Trawick [Fri, 15 Mar 2002 20:43:03 +0000 (20:43 +0000)]
make sure we set rc before referencing it

use a somewhat better warning message for a failure of
ap_server_relative_root()

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

22 years ago Axe unused variable
William A. Rowe Jr [Fri, 15 Mar 2002 20:34:30 +0000 (20:34 +0000)]
  Axe unused variable

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

22 years agoclean up the use of apr_sockaddr_t (stay out of family-specific
Jeff Trawick [Fri, 15 Mar 2002 17:47:48 +0000 (17:47 +0000)]
clean up the use of apr_sockaddr_t (stay out of family-specific
struct sockaddr* as much as possible)

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

22 years ago Another potential ap_server_root_relative failure
William A. Rowe Jr [Fri, 15 Mar 2002 16:59:51 +0000 (16:59 +0000)]
  Another potential ap_server_root_relative failure

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

22 years ago Style touchup
William A. Rowe Jr [Fri, 15 Mar 2002 16:58:27 +0000 (16:58 +0000)]
  Style touchup

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

22 years ago Another potential ap_server_root_relative failure.
William A. Rowe Jr [Fri, 15 Mar 2002 16:57:08 +0000 (16:57 +0000)]
  Another potential ap_server_root_relative failure.

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

22 years ago A coworker discovered that really bogus path names segfault the server
William A. Rowe Jr [Fri, 15 Mar 2002 15:31:17 +0000 (15:31 +0000)]
  A coworker discovered that really bogus path names segfault the server
  on Win32.  ap_server_root_relative() doesn't have an apr_status_t result,
  so we are limited in what we can figure out - but 99.99% of the time,
  the file's path is just plain bogus.

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

22 years agospeed up the short_report path... we were unnecessarily
Jeff Trawick [Fri, 15 Mar 2002 15:30:22 +0000 (15:30 +0000)]
speed up the short_report path...  we were unnecessarily
walking the scoreboard

Submitted by: Stas Bekman

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

22 years agoFactor out a bunch of commonality between the HAVE_TIMES path and
Jeff Trawick [Fri, 15 Mar 2002 15:16:27 +0000 (15:16 +0000)]
Factor out a bunch of commonality between the HAVE_TIMES path and
the !HAVE_TIMES path.  This will help avoid future errors similar
to the ones fixed earlier today.

The code change also has the benefit of getting the paren-matching
feature of some editors to work properly.

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

22 years ago Outch! DougM reports that I never committed this file. Lo and behold,
William A. Rowe Jr [Fri, 15 Mar 2002 14:57:55 +0000 (14:57 +0000)]
  Outch!  DougM reports that I never committed this file.  Lo and behold,
  he was right.  Sorry I killed the NT build for a few days!

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

22 years agoAllow URIs specifying CGI scripts to include '/' at the end
Jeff Trawick [Fri, 15 Mar 2002 13:35:42 +0000 (13:35 +0000)]
Allow URIs specifying CGI scripts to include '/' at the end
(e.g., /cgi-bin/printenv/) on AIX and Solaris (and other OSs
which ignore '/' at the end of the names of non-directories).

PR:    10138

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

22 years agofix a couple of formatting bugs in the !HAVE_TIMES path
Jeff Trawick [Fri, 15 Mar 2002 12:40:39 +0000 (12:40 +0000)]
fix a couple of formatting bugs in the !HAVE_TIMES path

(somebody forgot to convert floating point format to
long integer format when APR-izing the time)

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

22 years agomake mod_status a little faster by checking for an active server sooner in
Jeff Trawick [Fri, 15 Mar 2002 12:04:58 +0000 (12:04 +0000)]
make mod_status a little faster by checking for an active server sooner in
the main loop

clean up the main loop by continuing when the server isn't active instead
of introducing yet another level of nesting

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

22 years agoSince noone seemed to have a real problem with it, change !! to
Sander Striker [Fri, 15 Mar 2002 09:50:14 +0000 (09:50 +0000)]
Since noone seemed to have a real problem with it, change !! to
something that raises fewer questions.

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

22 years agoTypo (noticed while browsing http://docx.webperf.org/)
Martin Kraemer [Fri, 15 Mar 2002 07:37:21 +0000 (07:37 +0000)]
Typo (noticed while browsing http://docx.webperf.org/)

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

22 years agoget rid of some -Wall warnings
Doug MacEachern [Fri, 15 Mar 2002 01:46:47 +0000 (01:46 +0000)]
get rid of some -Wall warnings

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

22 years agoremove stray log message (from madhu)
Doug MacEachern [Fri, 15 Mar 2002 01:44:14 +0000 (01:44 +0000)]
remove stray log message (from madhu)

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

22 years agoOtherBill took care of my mod_negotiation concern.
Jeff Trawick [Fri, 15 Mar 2002 01:37:47 +0000 (01:37 +0000)]
OtherBill took care of my mod_negotiation concern.

Ken: My change to retry after connect() failures didn't affect
the pipes.

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

22 years agoRemove the pools API change from the showstoppers section.
Sander Striker [Fri, 15 Mar 2002 01:04:15 +0000 (01:04 +0000)]
Remove the pools API change from the showstoppers section.

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

22 years agoUpdate the mpms to call the new allocator/pools API
Sander Striker [Fri, 15 Mar 2002 00:50:31 +0000 (00:50 +0000)]
Update the mpms to call the new allocator/pools API

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

22 years agoPR:
Doug MacEachern [Thu, 14 Mar 2002 23:31:23 +0000 (23:31 +0000)]
PR:
Obtained from:
Submitted by:   Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>
Reviewed by: dougm
implement SSLSessionCache shmht and shmcb based on apr_rmm and apr_shm

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

22 years agoFYI...
Bill Stoddard [Thu, 14 Mar 2002 22:40:14 +0000 (22:40 +0000)]
FYI...

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

22 years agodeal with the rename of kill_after_timeout to APR_KILL_AFTER_TIMEOUT
Jeff Trawick [Thu, 14 Mar 2002 22:19:14 +0000 (22:19 +0000)]
deal with the rename of kill_after_timeout to APR_KILL_AFTER_TIMEOUT

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

22 years agomention an outstanding scoreboard alignment issue (not a showstopper :) )
Jeff Trawick [Thu, 14 Mar 2002 21:16:45 +0000 (21:16 +0000)]
mention an outstanding scoreboard alignment issue (not a showstopper :) )

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

22 years agoImport file for NetWare
Bradley Nicholes [Thu, 14 Mar 2002 21:10:22 +0000 (21:10 +0000)]
Import file for NetWare

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

22 years agoThis was fixed last week but I didn't notice the bug report or the STATUS
Aaron Bannert [Thu, 14 Mar 2002 18:54:20 +0000 (18:54 +0000)]
This was fixed last week but I didn't notice the bug report or the STATUS
entry until today. The bug report had to do with recursively removing
all CVS directories from a person's home directory.

PR: 9993

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

22 years agoFix a comment about the /<target> appended to config.layout variables
Aaron Bannert [Thu, 14 Mar 2002 17:18:33 +0000 (17:18 +0000)]
Fix a comment about the /<target> appended to config.layout variables
postpended with a '+' character. We don't currently support --target
(and as Thom pointed out, --target means something completely different
to Autoconf). Also change the default for '+' replacement to 'apache2'
so 1.3 and 2.0 can coexist on such distributions.

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

22 years agoSwitched to the new winsock header for NetWare
Bradley Nicholes [Thu, 14 Mar 2002 16:48:58 +0000 (16:48 +0000)]
Switched to the new winsock header for NetWare

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

22 years agoAdded code to extract the current address space name so that each
Bradley Nicholes [Thu, 14 Mar 2002 16:48:19 +0000 (16:48 +0000)]
Added code to extract the current address space name so that each
instance of Apache can be identified by the address space that it is running in

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

22 years agofix comment
Doug MacEachern [Thu, 14 Mar 2002 07:21:10 +0000 (07:21 +0000)]
fix comment

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

22 years agoPR:
Doug MacEachern [Thu, 14 Mar 2002 07:04:10 +0000 (07:04 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
fix bug in ssl_io_input_getline():
in most cases we get all the headers on the first SSL_read.
however, in certain cases SSL_read will only get a partial
chunk of the headers, so we now try to read until LF is seen.

bug seen with netscape client (running both on linux and win32) and
server running on win32.

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

22 years ago Some lingering debug cruft that isn't needed
William A. Rowe Jr [Thu, 14 Mar 2002 04:43:11 +0000 (04:43 +0000)]
  Some lingering debug cruft that isn't needed

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

22 years ago Use fprintf to stderr over printf. Better yet - replace with the
William A. Rowe Jr [Thu, 14 Mar 2002 04:37:14 +0000 (04:37 +0000)]
  Use fprintf to stderr over printf.  Better yet - replace with the
  logger, but my brain just isn't quite there tonight.

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

22 years ago My [sixth?] major revamp of service.c. Traded an event for a mutex
William A. Rowe Jr [Thu, 14 Mar 2002 04:34:03 +0000 (04:34 +0000)]
  My [sixth?] major revamp of service.c.  Traded an event for a mutex
  to the service_init completion, expanded timeouts, moved SERVICE_STOPPED
  message posting to the main thread since sometimes, in odd cirumstances,
  our SCM thread wasn't resumed prior to termination, and ripped the code
  for the stderr logs to use nt_eventlog.c instead.  And generally tried
  to make the code just a little bit more grokable [as if such a thing
  is really possible.]

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

22 years ago Cleanup the eventlogger code, and split it into its own source.
William A. Rowe Jr [Thu, 14 Mar 2002 04:19:00 +0000 (04:19 +0000)]
  Cleanup the eventlogger code, and split it into its own source.
  [got the copyright correct, no less.]

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

22 years ago Now that we test ownership of the listeners in listen.c, -k "start"
William A. Rowe Jr [Thu, 14 Mar 2002 04:12:12 +0000 (04:12 +0000)]
  Now that we test ownership of the listeners in listen.c, -k "start"
  can no longer hang on to the listeners after it checks that they are
  free.  Also, we cannot be checking listeners if we are using -k "config"
  to alter the service config, since the service might be running as we
  try this, and we cannot check the listeners in -k "restart", since we
  are pretty certain they are owned by the running service we are about
  to try restarting..

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

22 years ago The be-certain-we-own-the-socket patch to listen.c fails if we hang
William A. Rowe Jr [Thu, 14 Mar 2002 04:08:51 +0000 (04:08 +0000)]
  The be-certain-we-own-the-socket patch to listen.c fails if we hang
  on to the originals after duplicating sockets.  If you dup, you aught
  to be closing the source.

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

22 years ago Our ap_listeners were binding to IIS sockets, other Apache instances'
William A. Rowe Jr [Thu, 14 Mar 2002 04:06:02 +0000 (04:06 +0000)]
  Our ap_listeners were binding to IIS sockets, other Apache instances'
  listeners, the bottoms of peoples' shoes, etc.

  Wait to set SO_REUSEADDR on Win32 until the parent is certain the
  port is all ours.

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

22 years agoFix apxs -g handling.
Jeff Trawick [Thu, 14 Mar 2002 03:16:50 +0000 (03:16 +0000)]
Fix apxs -g handling.
Move config_vars.mk from the top build directory to the build directory.
Get build/rules.mk cleaned up for distclean/extraclean.

PR:     10163
        (This is the 2nd of two commits for that PR.  The first was to
        apxs.in -- rev 1.35.)

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

22 years agoFix win32 compile breakage.
Bill Stoddard [Wed, 13 Mar 2002 22:34:46 +0000 (22:34 +0000)]
Fix win32 compile breakage.

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

22 years agoFix a couple typos.
Joshua Slive [Wed, 13 Mar 2002 21:52:35 +0000 (21:52 +0000)]
Fix a couple typos.

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

22 years agoDecline urls ending with /
Bill Stoddard [Wed, 13 Mar 2002 21:47:03 +0000 (21:47 +0000)]
Decline urls ending with /

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

22 years agoUpdate our copyright for this year.
Roy T. Fielding [Wed, 13 Mar 2002 20:48:07 +0000 (20:48 +0000)]
Update our copyright for this year.

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

22 years agofix the remaining sizeof(token.value) bogosity
Jeff Trawick [Wed, 13 Mar 2002 20:41:48 +0000 (20:41 +0000)]
fix the remaining sizeof(token.value) bogosity

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

22 years agoFix some mod_include bugs which broke the evaluation of some expressions.
Jeff Trawick [Wed, 13 Mar 2002 20:32:28 +0000 (20:32 +0000)]
Fix some mod_include bugs which broke the evaluation of some expressions.

There are a few instances of the same basic problem which are not yet
fixed and which I have marked with /* XXX.*FUBAR*/.

PR:      10108

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

22 years agoMove the quick_handler comment to the new quick handler location. Do not
Bill Stoddard [Wed, 13 Mar 2002 19:41:56 +0000 (19:41 +0000)]
Move the quick_handler comment to the new quick handler location.  Do not
call quick handler on a dirent subrequest. This fixes a nasty problem in
mod_cache where it was serving up content on a dirent subrequest.

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

22 years agosimplify the way we find the family of an apr_sockaddr_t
Jeff Trawick [Wed, 13 Mar 2002 19:07:04 +0000 (19:07 +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@93914 13f79535-47bb-0310-9956-ffa450edef68

22 years agouse ssl_asn1_keystr
Doug MacEachern [Wed, 13 Mar 2002 18:59:56 +0000 (18:59 +0000)]
use ssl_asn1_keystr

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

22 years agoadd ssl_asn1_keystr() util function that returns string representation
Doug MacEachern [Wed, 13 Mar 2002 18:56:07 +0000 (18:56 +0000)]
add ssl_asn1_keystr() util function that returns string representation
(RSA or DSA) of the key index.

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

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