]>
granicus.if.org Git - apache/log
Brian Pane [Sun, 17 Mar 2002 17:35:39 +0000 (17:35 +0000)]
Performance fix for ap_ssi_get_tag_and_value: do a lightweight
scan through the tag value until/unless we reach a backslash
that necessitates the more complicated scanner loop. In cases
where there isn't a backslash in the tag value, this reduces
the overhead of the scan from 5 comparisons per character to 3.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93983
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 17 Mar 2002 17:32:24 +0000 (17:32 +0000)]
Clear up a const warning, and recognize some arrays by changing the
variable names to the plural [rather than aszFoo, which I hope continues
to be cleaned up as folks have time.]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93982
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 17 Mar 2002 17:31:34 +0000 (17:31 +0000)]
Fix a signedness emit based on session_id_length [unsigned]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93981
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sun, 17 Mar 2002 12:40:16 +0000 (12:40 +0000)]
get the prototype for ap_recent_ctime()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93980
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sun, 17 Mar 2002 06:31:22 +0000 (06:31 +0000)]
Another optimization for find_end_sequence: once we're in the
middle of parsing a tag, consume the entire tag in a quick loop,
rather than jumping back to the outer state-machine loop for
each character
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93979
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sun, 17 Mar 2002 06:04:33 +0000 (06:04 +0000)]
Small performance improvement for find_end_sequence()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93978
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sun, 17 Mar 2002 05:13:12 +0000 (05:13 +0000)]
Use the "recent time" cache to optimize timestamp generation for
the httpd error log
Background: According to some profile data that we collected on Solaris,
half the run time of ap_log_rerror() was spent in localtime(3). With
this change, the recent-time cache ensures that the error logger won't
cause more than one localtime() call per second, no matter how high the
error rate is.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93977
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sun, 17 Mar 2002 01:36:30 +0000 (01:36 +0000)]
fix a compile error
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93976
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sat, 16 Mar 2002 20:29:38 +0000 (20:29 +0000)]
fix the type of a string argument to ap_log_error()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93973
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 16 Mar 2002 19:45:45 +0000 (19:45 +0000)]
Lost the prior log message ... [this is an empty commit]
Prior revision fixes the last ap_server_root_relative() NULL return
code potential segfaults. It also quits trying to server_root_relative
a logging pipe, since log pipes generally take arguments. However, it
ignores the PassPhraseDialog exec: since the argument to that shell
mechanism is the server name itself.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93972
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 16 Mar 2002 19:34:33 +0000 (19:34 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93971
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 16 Mar 2002 18:57:20 +0000 (18:57 +0000)]
Clean tree ... commit all [?]
Nope - it wasn't. Sorry for the inadvertant commit, reverted to 1.18
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93970
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 16 Mar 2002 18:42:46 +0000 (18:42 +0000)]
Simplify s/APR_OS_PROC_T_FMT/APR_PID_T_FMT/, apr_os_foo entities aren't
for external consumption.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93969
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 16 Mar 2002 18:26:58 +0000 (18:26 +0000)]
Eliminate potential ap_server_root_relative segfaults, with the input
of Jeff Trawick's style changes to the first patches. Doesn't include
the fixes to ssl [more complex], and we won't trap errors that involve
ap_serverroot, since we presume that was normalized on the way in.
Therefore, testing ap_server_root_relative(DEFAULT_FOO) cases
should never become necessary.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93965
13f79535 -47bb-0310-9956-
ffa450edef68
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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