]> granicus.if.org Git - apache/log
apache
22 years agodon't check for EINTR after a call to apr_file_write();
Jeff Trawick [Mon, 18 Mar 2002 16:39:56 +0000 (16:39 +0000)]
don't check for EINTR after a call to apr_file_write();
you'll never see it

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

22 years agoFix check for APR feature
Bill Stoddard [Mon, 18 Mar 2002 15:45:46 +0000 (15:45 +0000)]
Fix check for APR feature

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

22 years agoGet mod_mem_cache to compile cleanly again on linux, where apr_atomic_t
Cliff Woolley [Mon, 18 Mar 2002 06:37:32 +0000 (06:37 +0000)]
Get mod_mem_cache to compile cleanly again on linux, where apr_atomic_t
is a struct.

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

22 years agoCarriage returns??
Cliff Woolley [Mon, 18 Mar 2002 06:33:53 +0000 (06:33 +0000)]
Carriage returns??

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

22 years agoHacks on top of hacks... UNIX needs unistd.h for the close() prototype
Cliff Woolley [Mon, 18 Mar 2002 05:22:37 +0000 (05:22 +0000)]
Hacks on top of hacks... UNIX needs unistd.h for the close() prototype

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

22 years agoFix a possibly-uninitialized warning and a boolean logic bug
Cliff Woolley [Mon, 18 Mar 2002 03:19:30 +0000 (03:19 +0000)]
Fix a possibly-uninitialized warning and a boolean logic bug

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

22 years agoFix some possibly-uninitialized warnings and some incorrect format strings
Cliff Woolley [Mon, 18 Mar 2002 03:18:47 +0000 (03:18 +0000)]
Fix some possibly-uninitialized warnings and some incorrect format strings

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

22 years agoadded myself to contributor list
Brian Pane [Mon, 18 Mar 2002 03:09:33 +0000 (03:09 +0000)]
added myself to contributor list

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

22 years agoFix for vhosts where the hostname is followed by '.'
Brian Pane [Mon, 18 Mar 2002 01:43:17 +0000 (01:43 +0000)]
Fix for vhosts where the hostname is followed by '.'
PR: 9187
Submitted by: Ryan Cruse <ryan@estara.com>

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

22 years ago Seems like this is the end of the compiler emits on Win32, once again.
William A. Rowe Jr [Sun, 17 Mar 2002 23:18:10 +0000 (23:18 +0000)]
  Seems like this is the end of the compiler emits on Win32, once again.

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

22 years ago Spell out the merged log name, if we succeeded in merging the path
William A. Rowe Jr [Sun, 17 Mar 2002 23:17:28 +0000 (23:17 +0000)]
  Spell out the merged log name, if we succeeded in merging the path

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

22 years agoFix some formatting
Bill Stoddard [Sun, 17 Mar 2002 22:20:50 +0000 (22:20 +0000)]
Fix some formatting

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

22 years agoAdded a note about mod_include optimizations
Brian Pane [Sun, 17 Mar 2002 17:47:24 +0000 (17:47 +0000)]
Added a note about mod_include optimizations

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

22 years agoPerformance fix for ap_ssi_get_tag_and_value: do a lightweight
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

22 years ago Clear up a const warning, and recognize some arrays by changing the
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

22 years ago Fix a signedness emit based on session_id_length [unsigned]
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

22 years agoget the prototype for ap_recent_ctime()
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

22 years agoAnother optimization for find_end_sequence: once we're in the
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

22 years agoSmall performance improvement for find_end_sequence()
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

22 years agoUse the "recent time" cache to optimize timestamp generation for
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

22 years agofix a compile error
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

22 years agofix the type of a string argument to ap_log_error()
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

22 years ago Lost the prior log message ... [this is an empty commit]
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

22 years agoPR:
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

22 years ago Clean tree ... commit all [?]
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

22 years ago Simplify s/APR_OS_PROC_T_FMT/APR_PID_T_FMT/, apr_os_foo entities aren't
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

22 years ago Eliminate potential ap_server_root_relative segfaults, with the input
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

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