]> granicus.if.org Git - apache/log
apache
22 years agoadd input filter AP_MODE_INIT support to handshake before reading
Doug MacEachern [Mon, 19 Nov 2001 22:37:57 +0000 (22:37 +0000)]
add input filter AP_MODE_INIT support to handshake before reading
request data from the client.
PR:
Obtained from:
Submitted by: dougm
Reviewed by: wrowe

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

22 years agoadd new input filter mode AP_MODE_INIT:
Doug MacEachern [Mon, 19 Nov 2001 22:36:20 +0000 (22:36 +0000)]
add new input filter mode AP_MODE_INIT:
allows filters such as mod_ssl to initialize a client connection
(ie handshake) before reading request data from the client.
PR:
Obtained from:
Submitted by:   dougm
Reviewed by: wrowe

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

22 years agoFixed the behavior of the XBitHack directive.
Cliff Woolley [Mon, 19 Nov 2001 21:09:20 +0000 (21:09 +0000)]
Fixed the behavior of the XBitHack directive.

PR: 8804
Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp>, Cliff Woolley

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

22 years agouse the old threaded.html contents for worker MPM docs (not carefully
Jeff Trawick [Mon, 19 Nov 2001 18:15:26 +0000 (18:15 +0000)]
use the old threaded.html contents for worker MPM docs (not carefully
examined, but there isn't much there that could be wrong)

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

22 years agoaxe threaded MPM
Jeff Trawick [Mon, 19 Nov 2001 18:11:35 +0000 (18:11 +0000)]
axe threaded MPM

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

22 years agoGet rid of threaded MPM. This commit has the actual code changes.
Jeff Trawick [Mon, 19 Nov 2001 18:07:28 +0000 (18:07 +0000)]
Get rid of threaded MPM.  This commit has the actual code changes.
The deletes come next.

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

22 years agoChanged a variable name to avoid a NetWare LibC global conflict.
Bradley Nicholes [Mon, 19 Nov 2001 16:10:36 +0000 (16:10 +0000)]
Changed a variable name to avoid a NetWare LibC global conflict.
Submitted by: Pavel Novy [novy@feld.cvut.cz]

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

22 years ago Historically consistent flag to shutdown the server [stop is supported,
William A. Rowe Jr [Mon, 19 Nov 2001 15:27:52 +0000 (15:27 +0000)]
  Historically consistent flag to shutdown the server [stop is supported,
  but only more recently.]

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

22 years agoTypo fixit
Ken Coar [Mon, 19 Nov 2001 15:27:39 +0000 (15:27 +0000)]
Typo fixit

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

22 years agoAPR-ize the resolver logic in mod_unique_id. This fixes a bug
Jeff Trawick [Mon, 19 Nov 2001 13:48:57 +0000 (13:48 +0000)]
APR-ize the resolver logic in mod_unique_id.  This fixes a bug
in logging the error from a failed DNS lookup.

Note: For a funky error scenario to work right (huge host name),
this requires a tweak to apr_gethostname() which I have not yet
committed.

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

22 years agoGet rid of some cruft. Setting these flag slots is best left to the core.
Cliff Woolley [Mon, 19 Nov 2001 02:03:04 +0000 (02:03 +0000)]
Get rid of some cruft.  Setting these flag slots is best left to the core.

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

22 years agoAdd extra If-XXX request headers to be ignored in subrequests
Ian Holsman [Sun, 18 Nov 2001 16:59:38 +0000 (16:59 +0000)]
Add extra If-XXX request headers to be ignored in subrequests
Allow cache-control header to get passed to subrequests
tabs -> spaces

Submitted by: Ian Holsman

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

22 years agoa couple of spelling corrections
Jeff Trawick [Sun, 18 Nov 2001 13:22:59 +0000 (13:22 +0000)]
a couple of spelling corrections

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

22 years agoDon't need apr_pcalloc on any of these, since we explicitly initialize
Cliff Woolley [Sun, 18 Nov 2001 07:49:28 +0000 (07:49 +0000)]
Don't need apr_pcalloc on any of these, since we explicitly initialize
all data members anyway.

Submitted by: Ryan Bloom

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

22 years agofix spelling
Cliff Woolley [Sun, 18 Nov 2001 06:30:55 +0000 (06:30 +0000)]
fix spelling

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

22 years agoDon't know why these were missing... just an oversight, I'm guessing?
Cliff Woolley [Sun, 18 Nov 2001 05:50:43 +0000 (05:50 +0000)]
Don't know why these were missing... just an oversight, I'm guessing?

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

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