]> granicus.if.org Git - apache/log
apache
22 years agoFix spelling
Cliff Woolley [Sun, 18 Nov 2001 05:35:47 +0000 (05:35 +0000)]
Fix spelling

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

22 years agochange the signature of ap_custom_response() to use a
Ian Holsman [Sun, 18 Nov 2001 02:57:12 +0000 (02:57 +0000)]
change the signature of ap_custom_response() to use a
"const char *" instead of a "char *".

PR: 8791
Submitted by: Kurt Brown kurtb149@yahoo.com
Reviewed by: Ian Holsman

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

22 years agoshould this file be used or the main httpd one?
Ian Holsman [Sat, 17 Nov 2001 22:07:15 +0000 (22:07 +0000)]
should this file be used or the main httpd one?

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

22 years agoOnly do keepalives (and keep state on the connection record) if this request
Ian Holsman [Sat, 17 Nov 2001 22:04:48 +0000 (22:04 +0000)]
Only do keepalives (and keep state on the connection record) if this request
is the top-level page.

Do not pass If-XXX-Since headers to the r-proxied server on a subrequest,
and we can't handle a 30X response

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

22 years agoProxyPass wasn't sending the right URL through to the backend server
Ian Holsman [Sat, 17 Nov 2001 22:01:32 +0000 (22:01 +0000)]
ProxyPass wasn't sending the right URL through to the backend server

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

22 years agomake sure ap_process_child_status() always returns something
Jeff Trawick [Sat, 17 Nov 2001 14:09:14 +0000 (14:09 +0000)]
make sure ap_process_child_status() always returns something

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

22 years agoGet mod_cgid killed when a MPM exits due to a fatal error.
Jeff Trawick [Sat, 17 Nov 2001 14:02:26 +0000 (14:02 +0000)]
Get mod_cgid killed when a MPM exits due to a fatal error.
Presumably other such processes are affected to.  Now we
give main() a chance to clean up.

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

22 years agoExternalize the functions to manage the mpm's queue of completion_contexts.
Bill Stoddard [Sat, 17 Nov 2001 07:54:34 +0000 (07:54 +0000)]
Externalize the functions to manage the mpm's queue of completion_contexts.
Now a module can produce to the queue of contexts that the worker threads
consume from.

Insomnia tonight in Cary NC...

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

22 years agoI'll yank that baby over the weekend if nobody pops up with a
Jeff Trawick [Sat, 17 Nov 2001 02:31:23 +0000 (02:31 +0000)]
I'll yank that baby over the weekend if nobody pops up with a
desire to keep it.

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

22 years agoMy two cents
Cliff Woolley [Fri, 16 Nov 2001 22:43:51 +0000 (22:43 +0000)]
My two cents

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

22 years agofix spelling mistake
Cliff Woolley [Fri, 16 Nov 2001 22:17:20 +0000 (22:17 +0000)]
fix spelling mistake

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

22 years agoUpdate the ack for PCRE
Roy T. Fielding [Fri, 16 Nov 2001 20:19:32 +0000 (20:19 +0000)]
Update the ack for PCRE

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

22 years agoMy 2pfennig. I'd like to see more of a technical reason why we should
Aaron Bannert [Fri, 16 Nov 2001 19:24:27 +0000 (19:24 +0000)]
My 2pfennig. I'd like to see more of a technical reason why we should
replace the tried and tested prefork MPM with the newfangled hybrid
threaded/process worker MPM (of which I am one of the more recent
contributors and evangelists).

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

22 years agonote some opinions on the threaded MPM
Jeff Trawick [Fri, 16 Nov 2001 18:57:48 +0000 (18:57 +0000)]
note some opinions on the threaded MPM

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

22 years agoHave SSL docs now thanks to Ralf.
Bill Stoddard [Fri, 16 Nov 2001 18:57:06 +0000 (18:57 +0000)]
Have SSL docs now thanks to Ralf.

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

22 years agoConversion from old apr_lock_t to new apr_thread_mutex_t
Aaron Bannert [Fri, 16 Nov 2001 18:28:25 +0000 (18:28 +0000)]
Conversion from old apr_lock_t to new apr_thread_mutex_t
(only converting INTRAPROCESS locks at this time).

I don't see how this used to work, which also means I'm not entirely
sure if it works now. It really didn't look like it was allocating
the correct size before. It compiles and SSL still works in my limited
tests, but I'd appreciate a second opinion.

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

22 years agoAdd some runtime configuration variable for the beos mpm.
David Reid [Fri, 16 Nov 2001 14:50:26 +0000 (14:50 +0000)]
Add some runtime configuration variable for the beos mpm.

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

22 years agoUpdate the beos MPM to have better naming and also allow for
David Reid [Fri, 16 Nov 2001 14:40:15 +0000 (14:40 +0000)]
Update the beos MPM to have better naming and also allow for
run time configuration.

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

22 years agoFix the SSL filter logic. The SSL filter is not a network filter, because
Ryan Bloom [Thu, 15 Nov 2001 20:55:13 +0000 (20:55 +0000)]
Fix the SSL filter logic.  The SSL filter is not a network filter, because
it does not actually do the reading and writing to the network.  By
moving that filter to in between CONNECTION and NETWORK filters, we ensure
that SSL is always called before the core.

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

22 years agoPull lingering close out of the pool cleanup phase. This was causing too
Ryan Bloom [Thu, 15 Nov 2001 20:49:54 +0000 (20:49 +0000)]
Pull lingering close out of the pool cleanup phase.  This was causing too
many bugs.  Instead, it is called where it used to be called.  I have
abstracted some of the logic out of the lingering close so that it gets
the socket from the connection using the core's conn_config vector.  This
is in anticipation of a change to use a hook for the lingering close,
which I hope to do soon.

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

22 years agoStyle updates before I convert to the new lock type.
Aaron Bannert [Thu, 15 Nov 2001 17:29:01 +0000 (17:29 +0000)]
Style updates before I convert to the new lock type.

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

22 years agomention an old problem (mod_cgid being left around after
Jeff Trawick [Thu, 15 Nov 2001 12:06:53 +0000 (12:06 +0000)]
mention an old problem (mod_cgid being left around after
an aborted initialization) in slightly more general terms

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

22 years agoFix a file descriptor leak in mod_include. When we include a
Ryan Bloom [Thu, 15 Nov 2001 05:05:20 +0000 (05:05 +0000)]
Fix a file descriptor leak in mod_include.  When we include a
file, we use a sub-request, but we didn't destroy the sub-request
immediately, instead we waited until the original request was
done.  This patch closes the sub-request as soon as the data is
done being generated.

This passes all tests in the test suite.

Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Ryan Bloom and Cliff Woolley

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

22 years agoFTYPE_CONTENT - 1 isn't enough for OLD_WRITE. OLD_WRITE is a special
Ryan Bloom [Thu, 15 Nov 2001 04:39:55 +0000 (04:39 +0000)]
FTYPE_CONTENT - 1 isn't enough for OLD_WRITE.  OLD_WRITE is a special
filter, and it MUST run absolutely first.  To allow other filters a little
space to manuver, I am moving this to FTYPE_CONTENT - 10.

Submitted by: John Sterling <sterling@covalent.net>

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

22 years agoIgnore *.slo files.
Aaron Bannert [Thu, 15 Nov 2001 02:06:06 +0000 (02:06 +0000)]
Ignore *.slo files.

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

22 years agoGet rid of the listensocks array. It was just duplicating the ap_listeners
Ryan Bloom [Thu, 15 Nov 2001 00:08:26 +0000 (00:08 +0000)]
Get rid of the listensocks array.  It was just duplicating the ap_listeners
list.  No reason to have the same information stored twice.

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

22 years agoAdded links to NetWare documentation
Bradley Nicholes [Wed, 14 Nov 2001 23:30:07 +0000 (23:30 +0000)]
Added links to NetWare documentation

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

22 years agompm_netware directive documentation
Bradley Nicholes [Wed, 14 Nov 2001 23:28:21 +0000 (23:28 +0000)]
mpm_netware directive documentation

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

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