]> granicus.if.org Git - apache/log
apache
22 years agoforgot the actual change
Ian Holsman [Tue, 19 Mar 2002 19:01:50 +0000 (19:01 +0000)]
forgot the actual change

PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agomy i key is broken
Ian Holsman [Tue, 19 Mar 2002 19:01:11 +0000 (19:01 +0000)]
my i key is broken
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoremove sock_enable_linger (unused function)
Ian Holsman [Tue, 19 Mar 2002 18:59:46 +0000 (18:59 +0000)]
remove sock_enable_linger (unused function)
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoget rid of unnecessary code to track the number of worker threads
Jeff Trawick [Tue, 19 Mar 2002 17:56:57 +0000 (17:56 +0000)]
get rid of unnecessary code to track the number of worker threads

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

22 years agoThe underlying change here was to add the new WebDAV/DeltaV methods
Greg Stein [Tue, 19 Mar 2002 10:11:33 +0000 (10:11 +0000)]
The underlying change here was to add the new WebDAV/DeltaV methods
now that it has an RFC. At the same time, I revamped a good chunk of
the name <-> number mapping code in http_protocol.c

* add M_FOO constants for the new RFC 3253 (DeltaV) methods. label
  where each of the builtin methods comes from.

* moved METHOD_NUMBER_FIRST/LAST from http_protocol.h into
  http_protocol.c since they weren't used anywhere else and they
  weren't namespace-protected.

* create register_one_method() and use it to insert all builtin
  methods (at _init() time) and extended methods into the registry.

* add a lookup_builtin_method() to quickly map a method name to a
  builtin method number.

* rebuild ap_method_number_of() to use the new lookup function.

* revamp ap_method_name_of() to use the registry to locate the name
  for any method number. add a pool argument (no callers in the core
  code needed to be updated)

* revamp make_allow() to deal with the new method numbers and all
  extended methods.

* in mod_dav, use the new method numbers rather than registering the
  DeltaV methods.

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

22 years agoForgot to document this when I committed the patch yesterday...
Brian Pane [Tue, 19 Mar 2002 05:30:14 +0000 (05:30 +0000)]
Forgot to document this when I committed the patch yesterday...

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

22 years agoWhat is "zop"? :)
Cliff Woolley [Tue, 19 Mar 2002 02:52:20 +0000 (02:52 +0000)]
What is "zop"?  :)

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

22 years agoUpdate the transformations again.
Joshua Slive [Tue, 19 Mar 2002 01:40:13 +0000 (01:40 +0000)]
Update the transformations again.

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

22 years agoAdd a reference to mod_alias.
Joshua Slive [Tue, 19 Mar 2002 01:28:38 +0000 (01:28 +0000)]
Add a reference to mod_alias.

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

22 years agoPut the "seealso"s after the directive index.
Joshua Slive [Tue, 19 Mar 2002 01:21:43 +0000 (01:21 +0000)]
Put the "seealso"s after the directive index.

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

22 years agoGet rid of some extranous xml tags that were leaking through to the html.
Joshua Slive [Tue, 19 Mar 2002 01:20:02 +0000 (01:20 +0000)]
Get rid of some extranous xml tags that were leaking through to the html.

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

22 years agoUpdate transformations.
Joshua Slive [Tue, 19 Mar 2002 01:11:12 +0000 (01:11 +0000)]
Update transformations.

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

22 years agoForward port warning against open proxies.
Joshua Slive [Mon, 18 Mar 2002 22:30:50 +0000 (22:30 +0000)]
Forward port warning against open proxies.

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

22 years agoA little mgmt overhead for the mod_dav API change.
Greg Stein [Mon, 18 Mar 2002 22:29:49 +0000 (22:29 +0000)]
A little mgmt overhead for the mod_dav API change.

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

22 years agoChange the REPORT handling APIs to deliver the content directly into
Greg Stein [Mon, 18 Mar 2002 22:25:01 +0000 (22:25 +0000)]
Change the REPORT handling APIs to deliver the content directly into
the filter stack, rather than buffering everything into memory(!).

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

22 years agoIt's trying to rain in C'ville....
Cliff Woolley [Mon, 18 Mar 2002 21:50:32 +0000 (21:50 +0000)]
It's trying to rain in C'ville....

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

22 years agoFix a hang condition with graceful restart and prefork MPM
Jeff Trawick [Mon, 18 Mar 2002 18:24:55 +0000 (18:24 +0000)]
Fix a hang condition with graceful restart and prefork MPM
in the situation where MaxClients is very high but
much fewer servers are actually started at the time of the
restart.

The way we notify an entire generation to die at once is
changed so that we don't have to use the pod (and deal with
the ease of filling the kernel pipe buffer).

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

22 years agoprefork and worker:
Jeff Trawick [Mon, 18 Mar 2002 18:12:43 +0000 (18:12 +0000)]
prefork and worker:

after allocating a new scoreboard, make sure the right generation
is stored in the global score

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

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