]> granicus.if.org Git - apache/log
apache
22 years agoFold the compiled-in knowledge of the allowable AcceptMutex settings into
Jim Jagielski [Wed, 20 Mar 2002 22:19:11 +0000 (22:19 +0000)]
Fold the compiled-in knowledge of the allowable AcceptMutex settings into
its help entry. Requires the use of a extern string rather than a function
call for the initialization to be valid in the macro (Thx to Jeff!).
In the meantime, bump down the error logging until we deal with true
default and configured setting information ala 1.3.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agono need to kill the scoreboard cleanup anymore on graceful
Jeff Trawick [Wed, 20 Mar 2002 20:38:52 +0000 (20:38 +0000)]
no need to kill the scoreboard cleanup anymore on graceful
restart; the scoreboard is longer-lived
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoap_create_scoreboard() now initializes the scoreboard if it already exists,
Jeff Trawick [Wed, 20 Mar 2002 20:30:46 +0000 (20:30 +0000)]
ap_create_scoreboard() now initializes the scoreboard if it already exists,
so MPMs shouldn't call it for a graceful restart

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

22 years agowrite a debug message to the log when we're stuck in the sicko state
Jeff Trawick [Wed, 20 Mar 2002 19:53:18 +0000 (19:53 +0000)]
write a debug message to the log when we're stuck in the sicko state
of trying to take over scoreboard slots that aren't going to be released
(we could also be stalled while taking over slots if a thread in child
gracefully terminating is serving a long-running request)

update a comment describing the sicko state to remove any information
I'm not absolutely sure of

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

22 years agoFix the build on Win32 by syncing up the .hw headers
Cliff Woolley [Wed, 20 Mar 2002 19:04:24 +0000 (19:04 +0000)]
Fix the build on Win32 by syncing up the .hw headers

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

22 years agoCommit 2 of 2 to:
Bill Stoddard [Wed, 20 Mar 2002 17:44:13 +0000 (17:44 +0000)]
Commit 2 of 2 to:
1. rename ap_rset_content_type to ap_set_content_type
2. reverse the arguments to aligh with ap_set_content_length

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

22 years agoCommit 1 of 2 to:
Bill Stoddard [Wed, 20 Mar 2002 17:41:55 +0000 (17:41 +0000)]
Commit 1 of 2 to:
1. rename ap_rset_content_type to ap_set_content_type
2. reverse the arguments on the call to aligh with ap_set_content_length

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

22 years agoBring 2.0 up to parity, a bit, with how much info we provide to
Jim Jagielski [Wed, 20 Mar 2002 16:44:13 +0000 (16:44 +0000)]
Bring 2.0 up to parity, a bit, with how much info we provide to
the admin regarding valid values for AcceptMutex. Should also
tell 'em what "default" actually maps to, but that can wait.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agostatus on ap_rset_content_type() fix.
Bill Stoddard [Wed, 20 Mar 2002 16:19:24 +0000 (16:19 +0000)]
status on ap_rset_content_type() fix.

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

22 years agoOS/390: install apachecore.[dll|x] in lib/ rather than bin/ .
Greg Ames [Wed, 20 Mar 2002 16:05:33 +0000 (16:05 +0000)]
OS/390: install apachecore.[dll|x] in lib/ rather than bin/ .

The LIBPATH env var already must contain the path to lib/ in order to pick up
apr and apr-util.  If we install the core dll there as well, LIBPATH becomes
simpler.

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

22 years agoGet nph- CGI scripts working again by avoiding filters that can't
Jeff Trawick [Wed, 20 Mar 2002 13:57:08 +0000 (13:57 +0000)]
Get nph- CGI scripts working again by avoiding filters that can't
possibly deal with a script that generates the protocol header.

PR:       8902, 8907, 9983

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

22 years agoap_rset_content_type() should take const char * instead of char *
Jeff Trawick [Wed, 20 Mar 2002 12:03:49 +0000 (12:03 +0000)]
ap_rset_content_type() should take const char * instead of char *
this is friendlier to callers and r->content_type is const char *
too so it isn't harmful

this fixes a fatal compile error with AIX+xlc

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

22 years ago No sense in opening this event when it's already opened in the parent.
William A. Rowe Jr [Wed, 20 Mar 2002 07:49:02 +0000 (07:49 +0000)]
  No sense in opening this event when it's already opened in the parent.

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

22 years agoUpdated version of the PCRE lib under httpd-2.0/srclib
Brian Pane [Wed, 20 Mar 2002 07:10:21 +0000 (07:10 +0000)]
Updated version of the PCRE lib under httpd-2.0/srclib

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

22 years ago Here's the patch that really sucks. old_listeners points to an array
William A. Rowe Jr [Wed, 20 Mar 2002 07:03:07 +0000 (07:03 +0000)]
  Here's the patch that really sucks.  old_listeners points to an array
  of apr_socket objects already destroyed by their cleanups, and in any
  case they now live in invalid memory.  Extend their lifetimes.

  This implies that the process pool grows on every restart for no good
  reason.  One possible solution is to let the old pconf survive until
  the new pconf is alive.  Another is to create the listeners in a subpool
  of process->pool, destroyed after the old_listeners are closed.

  Either which way, a better solution exists, but this closes the immediate
  bug.  [How haven't we been segfaulting in unix on restarts before this
  patch, gurus?]

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

22 years agoFix for some damage that I did to configure.in while merging the
Brian Pane [Wed, 20 Mar 2002 06:56:34 +0000 (06:56 +0000)]
Fix for some damage that I did to configure.in while merging the
latest version of PCRE

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

22 years ago More process lifetime changes, and simplify some ambigious cruft.
William A. Rowe Jr [Wed, 20 Mar 2002 06:55:39 +0000 (06:55 +0000)]
  More process lifetime changes, and simplify some ambigious cruft.

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

22 years agoremoving configure file that got picked up in PCRE 3.9 import
Brian Pane [Wed, 20 Mar 2002 06:38:37 +0000 (06:38 +0000)]
removing configure file that got picked up in PCRE 3.9 import

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

22 years agoPCRE 3.9 merge
Brian Pane [Wed, 20 Mar 2002 06:34:29 +0000 (06:34 +0000)]
PCRE 3.9 merge

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

22 years agoPCRE 3.9 merge
Brian Pane [Wed, 20 Mar 2002 06:22:57 +0000 (06:22 +0000)]
PCRE 3.9 merge

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

22 years agoresolve merge conflicts for PCRE 3.9
Brian Pane [Wed, 20 Mar 2002 06:17:33 +0000 (06:17 +0000)]
resolve merge conflicts for PCRE 3.9

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

22 years ago Fix a few listener-related lifetime issues [they are created in the
William A. Rowe Jr [Wed, 20 Mar 2002 06:14:19 +0000 (06:14 +0000)]
  Fix a few listener-related lifetime issues [they are created in the
  open logs phase, only once.]

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

22 years ago The source of some ills ... there is no reason to keep going if the
William A. Rowe Jr [Wed, 20 Mar 2002 06:04:51 +0000 (06:04 +0000)]
  The source of some ills ... there is no reason to keep going if the
  scoreboard exists.  I suspect this should be a general cleanup as well
  [at the end of ap_create_scoreboard.]  But calling ap_run_pre_mpm with
  the process->pool should take care of a clobbered scoreboard shm on
  graceful restart.

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

22 years ago The pre_mpm hook creates server-lifetime objects (or at least, for the
William A. Rowe Jr [Wed, 20 Mar 2002 05:58:21 +0000 (05:58 +0000)]
  The pre_mpm hook creates server-lifetime objects (or at least, for the
  generations across graceful restarts.)  They should use the process pool.

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

22 years agoThis commit was generated by cvs2svn to compensate for changes in r8100,
Brian Pane [Wed, 20 Mar 2002 05:54:26 +0000 (05:54 +0000)]
This commit was generated by cvs2svn to compensate for changes in r8100,
which included commits to RCS files with non-trunk default branches.

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

22 years agoInitial revision
Brian Pane [Wed, 20 Mar 2002 05:53:59 +0000 (05:53 +0000)]
Initial revision

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

22 years ago When restarting [always graceful on Win32], we don't repeat pre_mpm
William A. Rowe Jr [Wed, 20 Mar 2002 04:29:55 +0000 (04:29 +0000)]
  When restarting [always graceful on Win32], we don't repeat pre_mpm
  (Unix doesn't, we shouldn't either.)  [Ryan Bloom]

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

22 years agoMake the listener thread stop accepting new connections and exit
Jeff Trawick [Wed, 20 Mar 2002 03:54:25 +0000 (03:54 +0000)]
Make the listener thread stop accepting new connections and exit
cleanly at graceful restart time.  This is a basic requirement of
reliable graceful restarts (the kind that won't drop connections).
This allows a future fix to make worker threads hang around until
they service all connections previously accepted by the listener
thread.

The old mechanism of doing a dummy connection to wake up the
listener thread in each old child process didn't work.  It didn't
guarantee that (in the main thread) the byte was read from the pod
and global variables were set before the listener thread grabbed
the connection.  It didn't guarantee that a child process in the
new generation didn't get some of the dummy connections.

Rather than burn extra syscalls adding a unique socket or pipe
to the poll set (and breaking single listen unserialized accept
in the same change), this uses a signal sent from the main thread
to the listener thread to break it out of the poll or accept.
(We don't worry about breaking it out of the optional mutex because
the child process holding the mutex will break out of poll/accept
and release the mutex, allowing a child blocked in the mutex to
get it.  Eventually all children blocked in the mutex will come
out.)

Since the listener thread now exits reliably, the main thread
joins it.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoget the start thread to exit when we have reached termination but
Jeff Trawick [Wed, 20 Mar 2002 03:38:07 +0000 (03:38 +0000)]
get the start thread to exit when we have reached termination but
it is still trying to create worker threads

previously, after a non-graceful restart followed by a terminate
you could see a bunch of log messages showing the parent repeatedly
sending SIGTERM and finally SIGKILL to one or more children...
with this change, the sequence of messages should stop very soon

add a comment to start_threads() describing a current problem

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

22 years agoFinal commit to add ap_rset_content_type accessor. Add AddOutputFiltersbyType
Bill Stoddard [Wed, 20 Mar 2002 02:05:43 +0000 (02:05 +0000)]
Final commit to add ap_rset_content_type accessor. Add AddOutputFiltersbyType
filters during call to ap_rset_content_type()

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

22 years agoFirst commit to introduce accessor function to set r->content_type..
Bill Stoddard [Wed, 20 Mar 2002 01:58:47 +0000 (01:58 +0000)]
First commit to introduce accessor function to set r->content_type..

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

22 years agobe a little more specific in a thread-create error message
Jeff Trawick [Tue, 19 Mar 2002 22:09:26 +0000 (22:09 +0000)]
be a little more specific in a thread-create error message

it is helpful to distinguish between a failure creating the
first thread (listener) vs. a failure creating one of n
worker threads

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

22 years ago"apachectl stop" shouldn't send the gracefully-terminate char down
Jeff Trawick [Tue, 19 Mar 2002 21:31:04 +0000 (21:31 +0000)]
"apachectl stop" shouldn't send the gracefully-terminate char down
the pod...  the child processes need to know that it isn't a graceful
termination and they shouldn't wait for old connections to finish

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

22 years agoBump ap_mmn for the M_INVALID change. Add a note to CHANGES.
Greg Stein [Tue, 19 Mar 2002 20:40:04 +0000 (20:40 +0000)]
Bump ap_mmn for the M_INVALID change. Add a note to CHANGES.

Submitted by: Dale Ghent <daleg@elemental.org>

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

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