]> granicus.if.org Git - apache/log
apache
22 years agoApache for NetWare configuration and build documentation
Bradley Nicholes [Wed, 14 Nov 2001 23:27:25 +0000 (23:27 +0000)]
Apache for NetWare configuration and build documentation

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

22 years agoPort the worker MPM to the new accept model. This has passed every
Ryan Bloom [Wed, 14 Nov 2001 23:13:27 +0000 (23:13 +0000)]
Port the worker MPM to the new accept model.  This has passed every
test in the test suite (except Limit tests).  We waste a bit of space
with the listensocks array, which is the exact same as the ap_listeners
list, but we have done that for a while.  I'll fix that soon.

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

22 years agoQuiet a compiler warning.
Ryan Bloom [Wed, 14 Nov 2001 21:55:58 +0000 (21:55 +0000)]
Quiet a compiler warning.

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

22 years agoGet the proxy module compiling again. This is a hack to get past the
Ryan Bloom [Wed, 14 Nov 2001 21:18:47 +0000 (21:18 +0000)]
Get the proxy module compiling again.  This is a hack to get past the
current compiler errors.  Basically, the core now puts the socket
in the conn_rec->conn_config vector.  The proxy grabs that socket and
uses it where it used to use the client_socket field from the conn_rec.
Long-term, all of the direct socket communication needs to be removed,
and this should go through a filter stack.  Short-term, this gets the
proxy working again.

I have tested http and connect, but I haven't looked at the FTP proxy,
although it does compile now.

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

22 years agoTurns out this is causing problems on my linux box (libtool 1.3.5), so
Aaron Bannert [Wed, 14 Nov 2001 18:56:18 +0000 (18:56 +0000)]
Turns out this is causing problems on my linux box (libtool 1.3.5), so
I'm going to remove it until I or someone else can come up with a better
way to check for and link against libssl and libcrypto for mod_ssl.so.

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

22 years agoMissing a header
Bradley Nicholes [Wed, 14 Nov 2001 18:24:22 +0000 (18:24 +0000)]
Missing a header

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

22 years agoFixed ap_listeners so that it will be included in the AWK generated export lists
Bradley Nicholes [Wed, 14 Nov 2001 18:19:32 +0000 (18:19 +0000)]
Fixed ap_listeners so that it will be included in the AWK generated export lists

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

22 years agoIn my book this is a GA showstopper, but I'm volunteering here and I
Aaron Bannert [Wed, 14 Nov 2001 08:07:19 +0000 (08:07 +0000)]
In my book this is a GA showstopper, but I'm volunteering here and I
expect to have it done by the time we want to do a GA.

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

22 years agoConvert mod_rewrite's INTRAPROCESS lock to the newly supported
Aaron Bannert [Wed, 14 Nov 2001 08:03:18 +0000 (08:03 +0000)]
Convert mod_rewrite's INTRAPROCESS lock to the newly supported
apr_thread_mutex_t type lock. Passes all rewrite.t tests.

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

22 years agoConvert tabs to spaces, and a couple other style changes. No functional
Aaron Bannert [Wed, 14 Nov 2001 07:50:00 +0000 (07:50 +0000)]
Convert tabs to spaces, and a couple other style changes. No functional
changes. I checked with the rewrite.t perl-framework test to make sure
it still passes.

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

22 years agoFix location of KEYS file in docs.
Roy T. Fielding [Wed, 14 Nov 2001 06:20:38 +0000 (06:20 +0000)]
Fix location of KEYS file in docs.

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

22 years agoKEYS do not belong here. The only valid location for a KEYS file
Roy T. Fielding [Wed, 14 Nov 2001 04:01:33 +0000 (04:01 +0000)]
KEYS do not belong here.  The only valid location for a KEYS file
is on our site in a directory controlled by CVS: www.apache.org/dist/httpd/

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

22 years agoMove this to a HOOK_MIDDLE location. We need to add some logic to
Ryan Bloom [Wed, 14 Nov 2001 00:38:16 +0000 (00:38 +0000)]
Move this to a HOOK_MIDDLE location.  We need to add some logic to
make sure that we have a socket that the core controls if we do this,
but it is more correct.

Submitted by: Greg Stein

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

22 years agoAllow modules that add sockets to the ap_listeners list to
Ryan Bloom [Tue, 13 Nov 2001 22:42:38 +0000 (22:42 +0000)]
Allow modules that add sockets to the ap_listeners list to
define the function that should be used to accept on that
socket.  Each MPM can define their own function to use for
the accept function with the MPM_ACCEPT_FUNC macro.  This
also abstracts out all of the Unix accept error handling
logic, which has become out of synch across Unix MPMs.

The code flow is much easier now for different transports:

1)  During pre-config, post-config or while parsing the config
    file, add a socket to the ap_listeners list, making sure to
    define an accept function at the same time.

2)  MPMs find the correct listener, and call the accept function
    that was defined in step 1.

3)  That accept function returns a void pointer, which is passed
    to the create_connection hook.

4)  create_connection adds the correct low-level filters.

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

22 years agoUpdated NetWare project file. Now builds many of the external modules
Bradley Nicholes [Tue, 13 Nov 2001 21:19:01 +0000 (21:19 +0000)]
Updated NetWare project file.  Now builds many of the external modules

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

22 years agoAdd the server_rec argument back to the create_connection hook.
Ryan Bloom [Tue, 13 Nov 2001 20:29:54 +0000 (20:29 +0000)]
Add the server_rec argument back to the create_connection hook.
Submitted by: Greg Stein

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

22 years agodon't use a variable named stat, it can cause problems on some platforms.
Ryan Bloom [Tue, 13 Nov 2001 20:15:10 +0000 (20:15 +0000)]
don't use a variable named stat, it can cause problems on some platforms.

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

22 years agoRemove ap_new_connection from the header. I missed this when I removed
Ryan Bloom [Tue, 13 Nov 2001 20:10:11 +0000 (20:10 +0000)]
Remove ap_new_connection from the header.  I missed this when I removed
the function.
Submitted by:   Brad Nicholes <BNICHOLES@novell.com>

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

22 years agoMisc. cleanups and performance enhancements
Bradley Nicholes [Tue, 13 Nov 2001 18:36:22 +0000 (18:36 +0000)]
Misc. cleanups and performance enhancements

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

22 years agoBack out my last patch. The logic to add sockets to pollsets is back in
Ryan Bloom [Tue, 13 Nov 2001 17:44:07 +0000 (17:44 +0000)]
Back out my last patch.  The logic to add sockets to pollsets is back in
the MPM

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

22 years agoAdded the NetWare SSL module to the prebuilt module list
Bradley Nicholes [Tue, 13 Nov 2001 17:39:29 +0000 (17:39 +0000)]
Added the NetWare SSL module to the prebuilt module list

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

22 years agoModule that takes advantage of the built-in SSL functionality on the
Bradley Nicholes [Tue, 13 Nov 2001 17:37:27 +0000 (17:37 +0000)]
Module that takes advantage of the built-in SSL functionality on the
NetWare OS

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

22 years agoFixed the LoadModule statements to fit the 8.3 and NLM extension
Bradley Nicholes [Tue, 13 Nov 2001 17:35:32 +0000 (17:35 +0000)]
Fixed the LoadModule statements to fit the 8.3 and NLM extension
requirement for NetWare

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

22 years agoWhoops, wrong variable.
Ryan Bloom [Tue, 13 Nov 2001 17:03:29 +0000 (17:03 +0000)]
Whoops, wrong variable.

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

22 years agoI accidentally removed these lines. Thank to Greg for catching this.
Ryan Bloom [Tue, 13 Nov 2001 17:02:52 +0000 (17:02 +0000)]
I accidentally removed these lines.  Thank to Greg for catching this.

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

22 years agoFix a bug which would cause the response headers to be omitted
Cliff Woolley [Tue, 13 Nov 2001 07:37:13 +0000 (07:37 +0000)]
Fix a bug which would cause the response headers to be omitted
when sending a negotiated ErrorDocument because the required
filters were attached to the wrong request_rec.

Submitted by: John Sterling <sterling@covalent.net>
Reviewed by: Justin Erenkrantz, Cliff Woolley

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

22 years agoThis allows modules to add socket descriptors to the pollset. I have
Ryan Bloom [Tue, 13 Nov 2001 07:15:36 +0000 (07:15 +0000)]
This allows modules to add socket descriptors to the pollset.  I have
only added this to the perfork MPM, and the others work without it.
Tomorrow I will add it to the other MPMs.

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

22 years agoI was originally just going to s/commans/commas/, and then I got
Cliff Woolley [Tue, 13 Nov 2001 07:06:41 +0000 (07:06 +0000)]
I was originally just going to s/commans/commas/, and then I got
carried away and rewrote half the paragraph.  <sigh>

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

22 years agoThis section of tabs in the middle of space-only bugs me.
Justin Erenkrantz [Tue, 13 Nov 2001 06:12:41 +0000 (06:12 +0000)]
This section of tabs in the middle of space-only bugs me.
Reformat this section.

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

22 years agoRemove commas from the end of the macros that define
Ryan Bloom [Tue, 13 Nov 2001 06:04:25 +0000 (06:04 +0000)]
Remove commas from the end of the macros that define
directives that are used by MPMs.  Previous to this patch,
you would use these macros without commans, which was unlike
any other directives. Now, after the macro, you must have
a comma.  This makes the macros look more like the rest of the
directives.

I know this is cosmetic, and I was going to leave it alone, but when
I found out that it bothered Cliff too, I decided to fix it after all.

Submitted by: Ryan Bloom and Cliff Woolley

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

22 years agoDocument the new 'redirect-carefully' option.
Justin Erenkrantz [Tue, 13 Nov 2001 05:21:31 +0000 (05:21 +0000)]
Document the new 'redirect-carefully' option.

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

22 years agoResolve the mod_dir overaggressive redirection problem seen with non-GET
Justin Erenkrantz [Tue, 13 Nov 2001 05:10:24 +0000 (05:10 +0000)]
Resolve the mod_dir overaggressive redirection problem seen with non-GET
requests for WebFolders.
Reviewed by: Greg Stein

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

22 years ago- 2.0.28 has been rolled.
Justin Erenkrantz [Tue, 13 Nov 2001 05:04:24 +0000 (05:04 +0000)]
- 2.0.28 has been rolled.
- Downgrade style changes to non-release showstopper.

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

22 years agoAdd docs for the newest hook.
Ryan Bloom [Tue, 13 Nov 2001 04:01:28 +0000 (04:01 +0000)]
Add docs for the newest hook.

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

22 years agoCleanup some code that was created during the abstration. This basically
Ryan Bloom [Tue, 13 Nov 2001 02:09:07 +0000 (02:09 +0000)]
Cleanup some code that was created during the abstration.  This basically
takes the old ap_new_connection, and puts into the new core_create_conn
function.  There is no good reason to have two functions to do this.

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

22 years agoRemove more network logic from the MPMs. Essentially, each MPM can define
Ryan Bloom [Tue, 13 Nov 2001 01:24:42 +0000 (01:24 +0000)]
Remove more network logic from the MPMs.  Essentially, each MPM can define
AP_MPM_DISABLE_NAGLE_ACCEPTED_SOCK, which tells Apache to disable_nagle
on the accepted socket.

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

22 years agoBegin to abstract out the underlying transport layer.
Ryan Bloom [Mon, 12 Nov 2001 23:49:08 +0000 (23:49 +0000)]
Begin to abstract out the underlying transport layer.
The first step is to remove the socket from the conn_rec,
the server now lives in a context that is passed to the
core's input and output filters. This forces us to be very
careful when adding calls that use the socket directly,
because the socket isn't available in most locations.

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

22 years agofix segv triggered by recent ap_lingering_close change
Doug MacEachern [Mon, 12 Nov 2001 22:01:14 +0000 (22:01 +0000)]
fix segv triggered by recent ap_lingering_close change
need to set SSLFilterRec.pssl = NULL when ssl_hook_CloseConnection is called
otherwise, ap_lingering_close -> ap_flush_conn will call ssl_io_filter_Output
which thinks it can still use the SSLFilterRec.pssl
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years ago Drop the wide net observed by Ken Coar, since one .rc file does exist
William A. Rowe Jr [Mon, 12 Nov 2001 19:52:52 +0000 (19:52 +0000)]
  Drop the wide net observed by Ken Coar, since one .rc file does exist
  in cvs (and should reside there.)

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

22 years agoadd a note about libtoo 1.4.2 for Mac OS X
Greg Ames [Mon, 12 Nov 2001 18:17:57 +0000 (18:17 +0000)]
add a note about libtoo 1.4.2 for Mac OS X

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

22 years agoFix some indenting. Change an error message to a warning.
Bill Stoddard [Mon, 12 Nov 2001 18:05:29 +0000 (18:05 +0000)]
Fix some indenting. Change an error message to a warning.

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

22 years agothreaded: Fix the resetting of MaxClients when it isn't a multiple
Jeff Trawick [Mon, 12 Nov 2001 17:59:28 +0000 (17:59 +0000)]
threaded: Fix the resetting of MaxClients when it isn't a multiple
of the number of threads per process.

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

22 years agoReally reset the MaxClients value in worker when the
Jeff Trawick [Mon, 12 Nov 2001 17:50:59 +0000 (17:50 +0000)]
Really reset the MaxClients value in worker when the
configured value is not a multiple of the number of threads
per child.  We said we did previously but we forgot to.

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

22 years agorestore post-2_0_28 changes following tag bump
Greg Ames [Mon, 12 Nov 2001 17:39:50 +0000 (17:39 +0000)]
restore post-2_0_28 changes following tag bump

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

22 years agoaccount for the mod_cgid fix being bumped into 2_0_28. The other changes
Greg Ames [Mon, 12 Nov 2001 17:36:03 +0000 (17:36 +0000)]
account for the mod_cgid fix being bumped into 2_0_28.  The other changes
will be restored soon.

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

22 years agoPerformance: Move the is_included strcmp to after the check to see if the
Bill Stoddard [Mon, 12 Nov 2001 16:32:33 +0000 (16:32 +0000)]
Performance: Move the is_included strcmp to after the check to see if the
request is to be served by the cgi handler.

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

22 years agoRemove a broken link.
Joshua Slive [Mon, 12 Nov 2001 15:09:25 +0000 (15:09 +0000)]
Remove a broken link.
PR: 8743

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

22 years agoIt's -> its (where appropriate)
Martin Kraemer [Mon, 12 Nov 2001 15:08:57 +0000 (15:08 +0000)]
It's -> its (where appropriate)

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

22 years agoKeep track of this so I don't forget. Not entirely sure how to go about
Aaron Bannert [Mon, 12 Nov 2001 08:40:33 +0000 (08:40 +0000)]
Keep track of this so I don't forget. Not entirely sure how to go about
doing this properly, but I'll figure it out unless someone else beats
me to it.

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

22 years agoPort Justin's mod_cgid change to mod_cgi.
Cliff Woolley [Mon, 12 Nov 2001 04:34:13 +0000 (04:34 +0000)]
Port Justin's mod_cgid change to mod_cgi.

mod_cgi wasn't actually broken in the way that mod_cgid was, but
it's still good do have these checks be against APR_SUCCESS rather
than 0 for clarity.

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

22 years agoRemove the returned-length "w" parameter from apr_bucket_heap_create()
Cliff Woolley [Mon, 12 Nov 2001 03:23:12 +0000 (03:23 +0000)]
Remove the returned-length "w" parameter from apr_bucket_heap_create()
and apr_bucket_heap_make().  It was useless, since the length is invariant
from the length passed in and from the resulting bucket's b->length.  This
takes care of a long-standing issue first brought up in February and
discussed on the dev@apr list.  (Issue #2 from the "Bucket API Cleanup
Issues" thread.)

See http://marc.theaimsgroup.com/?l=apr-dev&m=98324983126666&w=2

Reviewed by:    Ryan Bloom (concept)

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

22 years agoclean up some warnings on AIX
Jeff Trawick [Mon, 12 Nov 2001 01:21:21 +0000 (01:21 +0000)]
clean up some warnings on AIX

since apr_size_t isn't always int, we should use
APR_SIZE_T_FMT instead of %d

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

22 years agoThis patch changes the apr_table_elts macro so that it provides
Ian Holsman [Sun, 11 Nov 2001 22:31:04 +0000 (22:31 +0000)]
This patch changes the apr_table_elts macro so that it provides
access to the internals of an apr_table_t via a const pointer
instead of the current non-const pointer.

Submitted by: Brian Pane <BPane@pacbell.net>
Reviewed by: Ian Holsman

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

22 years agoThis patch zero-fills just the integer and pointer fields in
Ian Holsman [Sun, 11 Nov 2001 22:12:25 +0000 (22:12 +0000)]
This patch zero-fills just the integer and pointer fields in
the structure, plus the first byte of each of the string buffers.

This updated version of the patch doesn't allocate space for
the error_str and time_str buffers in the mod_include filter
context until/unless they're actually needed.

--Brian

Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Ian Holsman

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

22 years agoI forgot about this vote (it started before I had a binding vote).
Aaron Bannert [Sun, 11 Nov 2001 20:15:56 +0000 (20:15 +0000)]
I forgot about this vote (it started before I had a binding vote).
Time to wrap this one up.

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

22 years agoNote that we are on 2.0.29 now.
Justin Erenkrantz [Sun, 11 Nov 2001 17:40:23 +0000 (17:40 +0000)]
Note that we are on 2.0.29 now.

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

22 years agoapr_file_gets returns an apr_status_t not a char* and it returns
Justin Erenkrantz [Sun, 11 Nov 2001 16:48:26 +0000 (16:48 +0000)]
apr_file_gets returns an apr_status_t not a char* and it returns
APR_SUCCESS when it reads something (which is 0).

Two of the cases were doing while apr_file_gets > 0 which would cause
it to loop when it returned APR_EOF.  So, the valid check here is to
loop while we are receiving APR_SUCCESS.

Fix all of the other apr_file_gets to check APR_SUCCESS explicitly so
that it is obvious that we are checking an apr_status_t.  Yes,
0 == APR_SUCCESS, but it obviously wasn't clear to someone what it
was returning.

Submitted by: Dale Ghent <daleg@elemental.org>,
                Brian Pane <bpane@pacbell.net>
Reviewed by: Justin Erenkrantz

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

22 years agoAdd Debian Layout
Justin Erenkrantz [Sun, 11 Nov 2001 07:02:37 +0000 (07:02 +0000)]
Add Debian Layout
Submitted by: Daniel Stone <daniel@sfarc.net>
Reviewed by: Justin Erenkrantz

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

22 years agominor tweaks to pass a parm of the right type to apr_poll() and
Jeff Trawick [Sun, 11 Nov 2001 05:17:51 +0000 (05:17 +0000)]
minor tweaks to pass a parm of the right type to apr_poll() and
to use i for an iterator in both listensocks[] loops

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

22 years agoin prefork, listensocks[0] doesn't have a pod
Jeff Trawick [Sun, 11 Nov 2001 04:37:11 +0000 (04:37 +0000)]
in prefork, listensocks[0] doesn't have a pod

also, fix an ap_log_error() call to use ret for the error code
instead of errno

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

22 years agoAdd example for AllAltByType, AddAltByEncoding
Rich Bowen [Sun, 11 Nov 2001 03:01:39 +0000 (03:01 +0000)]
Add example for AllAltByType, AddAltByEncoding

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

22 years agoAdded examples for AddAlt
Rich Bowen [Sun, 11 Nov 2001 02:15:29 +0000 (02:15 +0000)]
Added examples for AddAlt

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

22 years agoAdded examples for Action directive.
Rich Bowen [Sun, 11 Nov 2001 02:09:07 +0000 (02:09 +0000)]
Added examples for Action directive.

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

22 years agomod_ssl STATUS update.
Justin Erenkrantz [Sun, 11 Nov 2001 02:00:08 +0000 (02:00 +0000)]
mod_ssl STATUS update.

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

22 years agoIf shared modules are requested and mod_so is not available, produce a
Justin Erenkrantz [Sun, 11 Nov 2001 01:58:12 +0000 (01:58 +0000)]
If shared modules are requested and mod_so is not available, produce a
fatal config-time error.

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

22 years agoThis should be the last complaint about the input filtering.
Justin Erenkrantz [Sun, 11 Nov 2001 01:26:27 +0000 (01:26 +0000)]
This should be the last complaint about the input filtering.
Needs more eyes...

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

22 years agoI think it might be time to take action on this unless someone wants to -1.
Justin Erenkrantz [Sun, 11 Nov 2001 01:10:21 +0000 (01:10 +0000)]
I think it might be time to take action on this unless someone wants to -1.
(Ian's vote is now binding...)

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

22 years agoComment forthcoming to dev@httpd...
Justin Erenkrantz [Sun, 11 Nov 2001 01:04:44 +0000 (01:04 +0000)]
Comment forthcoming to dev@httpd...

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

22 years ago2.0.28 has been tagged.
Justin Erenkrantz [Sun, 11 Nov 2001 00:46:41 +0000 (00:46 +0000)]
2.0.28 has been tagged.
2.0.27 was rolled, but abandoned due to C-L bug.
2.0.26 needs grammatical nit.

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

22 years agoFix the Windows MPM. Windows doesn't always use the lingering close
Ryan Bloom [Sat, 10 Nov 2001 21:07:13 +0000 (21:07 +0000)]
Fix the Windows MPM.  Windows doesn't always use the lingering close
function. If it can re-use the socket, we are better off not calling
the function.  To fix this, we re-expose the lingering_close function,
and we allow the MPM to remove the cleanup.

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

22 years agoImprove http2env's performance by cutting the work it has to
Ryan Bloom [Sat, 10 Nov 2001 18:38:02 +0000 (18:38 +0000)]
Improve http2env's performance by cutting the work it has to
do.

Submitted by: Brian Pane <bpane@pacbell.net>

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

22 years agoFix a missing tag.
Joshua Slive [Sat, 10 Nov 2001 18:29:56 +0000 (18:29 +0000)]
Fix a missing tag.

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

22 years agoChange note->environment variable and convert <pre> list to <table>.
Joshua Slive [Sat, 10 Nov 2001 18:29:22 +0000 (18:29 +0000)]
Change note->environment variable and convert <pre> list to <table>.

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

22 years agoRemove ap_lingering_close from all of the MPMs. This is now done as
Ryan Bloom [Sat, 10 Nov 2001 18:26:30 +0000 (18:26 +0000)]
Remove ap_lingering_close from all of the MPMs. This is now done as
a cleanup registered with the connection_pool.  I have also turned
ap_lingering_close into a static function, because it is only used
in connection.c.  This is the next step to consolidating all of the
socket function calls.  ap_lingering_close will only be added if the
core is dealing with a standard socket.

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

22 years agodisplay a warning message if someone attempts to load
Ian Holsman [Sat, 10 Nov 2001 18:14:58 +0000 (18:14 +0000)]
display a warning message if someone attempts to load
the same module twice

Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Ian Holsman

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

22 years agoMove prefork to the same API as the rest of the MPMs for setting up
Ryan Bloom [Sat, 10 Nov 2001 08:00:41 +0000 (08:00 +0000)]
Move prefork to the same API as the rest of the MPMs for setting up
listeners.

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

22 years agoRemove LaTeX directives from core.html
Rich Bowen [Sat, 10 Nov 2001 03:37:15 +0000 (03:37 +0000)]
Remove LaTeX directives from core.html

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

22 years agoAlphabetized module names.
Rich Bowen [Sat, 10 Nov 2001 02:28:48 +0000 (02:28 +0000)]
Alphabetized module names.

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

22 years agocopy the faq from the correct directory
Greg Ames [Sat, 10 Nov 2001 01:34:13 +0000 (01:34 +0000)]
copy the faq from the correct directory

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

22 years agouse the new 'apr_hash_merge' function to do the overlays.
Ian Holsman [Fri, 9 Nov 2001 23:15:43 +0000 (23:15 +0000)]
use the new 'apr_hash_merge' function to do the overlays.
In our testing this resulting in a large performance win (>5%)

Submitted by:  Brian Pane <bpane@pacbell.net>
Reviewed by: Ian Holsman

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

22 years ago Stat, don't lstat the final target. This means we may double-stat the
William A. Rowe Jr [Fri, 9 Nov 2001 16:54:00 +0000 (16:54 +0000)]
  Stat, don't lstat the final target.  This means we may double-stat the
  final target file if check for symlinks reveals it's an APR_LNK, but this
  is preferable to the convoluted code required to 'reuse' the original stat.

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

22 years ago Reintroduce the 'one stat dir_walk', with singificantly more sensible
William A. Rowe Jr [Fri, 9 Nov 2001 08:08:42 +0000 (08:08 +0000)]
  Reintroduce the 'one stat dir_walk', with singificantly more sensible
  behavior than the old path_info logic.

  If the stat() of r->filename succeeds ignore every segment that requires
  no symlink check (and on Win32/OS2/Netware the name matches the canonical
  name, assuring us that the case/aliases match the true name.)

  This optimization can be improved by establishing a second cache of the
  actual partial filenames that _are_ tested for symlinks (or canonical
  filename case), and then skiping such tests when the conditions match on
  successive passes for subrequests or redirects.

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

22 years agoThe BeOS MPM has been just beos for a while now, so update the MPM list to
David Reid [Fri, 9 Nov 2001 00:42:37 +0000 (00:42 +0000)]
The BeOS MPM has been just beos for a while now, so update the MPM list to
reflect that.

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

22 years agoFix constness compiler warning
Cliff Woolley [Thu, 8 Nov 2001 23:26:36 +0000 (23:26 +0000)]
Fix constness compiler warning

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

22 years agoGet the daemon code working again for User/Group on BeOS,
David Reid [Thu, 8 Nov 2001 22:56:26 +0000 (22:56 +0000)]
Get the daemon code working again for User/Group on BeOS,
but make them no-op's until we get multi-user for beos...
(yeah, right)

Suggested by Roy.

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

22 years agoAdd back in the daemon commands so that User/Group are OK
David Reid [Thu, 8 Nov 2001 22:49:12 +0000 (22:49 +0000)]
Add back in the daemon commands so that User/Group are OK
in the conf file.

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

22 years agoReverse last nights commit - we'll deal with this another way!
David Reid [Thu, 8 Nov 2001 22:31:28 +0000 (22:31 +0000)]
Reverse last nights commit - we'll deal with this another way!

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

22 years agoadvancing release numbers to 2.0.29-dev after tag
Greg Ames [Thu, 8 Nov 2001 19:44:40 +0000 (19:44 +0000)]
advancing release numbers to 2.0.29-dev after tag

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

22 years agoabout to tag 2.0.28
Greg Ames [Thu, 8 Nov 2001 19:37:01 +0000 (19:37 +0000)]
about to tag 2.0.28

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

22 years agoClean up the declarations and comments of some of the variables in
Justin Erenkrantz [Thu, 8 Nov 2001 19:35:32 +0000 (19:35 +0000)]
Clean up the declarations and comments of some of the variables in
ap_get_client_block.
There were two len_read vars (each of different types), so the outer one
was shadowed - move it to the correct scope.
Move apr_bucket* old declaration inside of the loop so it is obvious
what its scope is.

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

22 years agoStyle guide conformance fixes (remove tabs, enforce {}s, no long lines, etc).
Justin Erenkrantz [Thu, 8 Nov 2001 19:27:48 +0000 (19:27 +0000)]
Style guide conformance fixes (remove tabs, enforce {}s, no long lines, etc).
This file has bugged me for ages.  Much better to do this now than later.

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

22 years agoupdate the location of the FAQ, and a few other misc. changes
Greg Ames [Thu, 8 Nov 2001 15:38:38 +0000 (15:38 +0000)]
update the location of the FAQ, and a few other misc. changes

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

22 years agoNo functional changes, just style-guide ones..
Ken Coar [Thu, 8 Nov 2001 15:13:49 +0000 (15:13 +0000)]
No functional changes, just style-guide ones..

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

22 years agoPort->ServerName hint
Martin Kraemer [Thu, 8 Nov 2001 14:54:58 +0000 (14:54 +0000)]
Port->ServerName hint

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

22 years agoTry to improve the wording
Martin Kraemer [Thu, 8 Nov 2001 14:43:46 +0000 (14:43 +0000)]
Try to improve the wording

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

22 years agoFix erroneous description
Martin Kraemer [Thu, 8 Nov 2001 14:37:11 +0000 (14:37 +0000)]
Fix erroneous description

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

22 years agoFixed previous patch to reflect what Apache-1.3 did regarding self-
Martin Kraemer [Thu, 8 Nov 2001 14:29:37 +0000 (14:29 +0000)]
Fixed previous patch to reflect what Apache-1.3 did regarding self-
referential uri's, and updated the manual accordingly.
XXX There is a kludge here: XXX the port number from the client's Host:
header used to be tossed, and there is no clean mechanism to pass it
(in the request_rec) to other consumers. As the unparsed_uri structure
(which could avoid repeated parsing of URI, Host, Port etc) seems to be
mostly unused currently, I used that to pass the port.

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

22 years agoWhen no port is given in a "ServerName host" directive, the
Martin Kraemer [Thu, 8 Nov 2001 12:34:21 +0000 (12:34 +0000)]
When no port is given in a "ServerName host" directive, the
server_rec->port is now set to zero, not 80. That allows for
run-time deduction of the correct server port (depending on
SSL/plain, and depending also on the current setting of
UseCanonicalName). This change makes redirections
work, even with https:// connections. [Martin Kraemer]

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

22 years agoThis doesn't feel quite right, but it doesn't cause any problems
David Reid [Thu, 8 Nov 2001 00:54:00 +0000 (00:54 +0000)]
This doesn't feel quite right, but it doesn't cause any problems
and stops an irritation about the standard conf file for
BeOS which barfs if the User/Group is present.

Submitted by: Brad Froehle <epEnochRoot@yahoo.com>
Reviewed by: David Reid <dreid@apache.org>

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

22 years agoGet rid of "You configured HTTPS(443) on the standard HTTP(80) port!"
Cliff Woolley [Wed, 7 Nov 2001 22:16:09 +0000 (22:16 +0000)]
Get rid of "You configured HTTPS(443) on the standard HTTP(80) port!"
message.

Submitted by: Madhu Mathihalli

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