]> granicus.if.org Git - apache/log
apache
23 years ago Duplicates (and is stale to) the copy in srclib/apr/build
William A. Rowe Jr [Thu, 16 Aug 2001 05:46:16 +0000 (05:46 +0000)]
  Duplicates (and is stale to) the copy in srclib/apr/build

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

23 years ago A first step at auto-generating the version resource for all win32 binaries.
William A. Rowe Jr [Thu, 16 Aug 2001 05:27:50 +0000 (05:27 +0000)]
  A first step at auto-generating the version resource for all win32 binaries.

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

23 years agoFix a few tiny typos
Cliff Woolley [Thu, 16 Aug 2001 05:13:55 +0000 (05:13 +0000)]
Fix a few tiny typos

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

23 years agoMerge in changes from 2.0.23 branch
Cliff Woolley [Thu, 16 Aug 2001 05:11:04 +0000 (05:11 +0000)]
Merge in changes from 2.0.23 branch

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

23 years agoFix ap_rvprintf to support more than 4K of data.
Ryan Bloom [Thu, 16 Aug 2001 05:04:39 +0000 (05:04 +0000)]
Fix ap_rvprintf to support more than 4K of data.
Submitted by: Cody Sherr <csherr@covalent.net>

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

23 years agoNote date that 2.0.23 rolled. Too bad it was broken. 8-(
Cliff Woolley [Thu, 16 Aug 2001 05:01:43 +0000 (05:01 +0000)]
Note date that 2.0.23 rolled.  Too bad it was broken.  8-(

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

23 years agoenable ssl Translate, UserCheck, Access and Auth hooks
Doug MacEachern [Thu, 16 Aug 2001 03:58:16 +0000 (03:58 +0000)]
enable ssl Translate, UserCheck, Access and Auth hooks

add support for renegotiation during the Access hook
this requires hooking into the read and write SSL BIOs in order to
flush data to the client and read from the filter chain

this also requires that the ssl filters become "aware" that
renegotitation is in progress so that the BIOs are left alone for
SSL_renegotiate/SSL_do_handshake in ssl_hook_Access to deal with

PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoDocument the recent directive enhancements for cookie syntaces.
Ken Coar [Thu, 16 Aug 2001 02:30:09 +0000 (02:30 +0000)]
Document the recent directive enhancements for cookie syntaces.

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

23 years ago . clean up strings and remove them to the resource file (the simplest
William A. Rowe Jr [Thu, 16 Aug 2001 02:12:13 +0000 (02:12 +0000)]
  . clean up strings and remove them to the resource file (the simplest
    way to later localize a win32 app.)

  . fold the timers into the same child window message queue

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

23 years agoWhoops, forgot attribution
Ken Coar [Thu, 16 Aug 2001 01:50:45 +0000 (01:50 +0000)]
Whoops, forgot attribution

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

23 years ago Add CookieDomain directive to allow setting of the Domain=
Ken Coar [Thu, 16 Aug 2001 01:46:50 +0000 (01:46 +0000)]
Add CookieDomain directive to allow setting of the Domain=
cookie attribute; add CookieStyle to allow specification of
cookie syntax: Netscape (default), Cookie or RFC2109, or
Cookie2 or RFC2965.  We have historically supported only the
obsolete Netscape syntax.

PR: several against 1.3
Obtained from: brought forward from 1.3

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

23 years agoThe Port directive does effect VirtualHosts.
Joshua Slive [Thu, 16 Aug 2001 01:27:22 +0000 (01:27 +0000)]
The Port directive does effect VirtualHosts.

PR: 8174

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

23 years agoFix an off-by-one error in an argument to apr_pstrcat.
Victor J. Orlikowski [Wed, 15 Aug 2001 21:45:51 +0000 (21:45 +0000)]
Fix an off-by-one error in an argument to apr_pstrcat.
Submitted by: barbee@veribox.net

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

23 years agofix some homophonic issues in comments, as well as some
Jeff Trawick [Wed, 15 Aug 2001 21:11:59 +0000 (21:11 +0000)]
fix some homophonic issues in comments, as well as some
mispelings found near "its" or "it's"

(helping our 4th grader with homework, couldn't help but
grep)

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

23 years agoProxy now works as a DSO on AIX.
Victor J. Orlikowski [Wed, 15 Aug 2001 18:56:16 +0000 (18:56 +0000)]
Proxy now works as a DSO on AIX.

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

23 years agoFix a char * vs char ** mixup...
Victor J. Orlikowski [Wed, 15 Aug 2001 18:36:05 +0000 (18:36 +0000)]
Fix a char * vs char ** mixup...
Submitted by: barbee@veribox.net

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

23 years agoWorks under AIX as a DSO now.
Victor J. Orlikowski [Wed, 15 Aug 2001 18:14:51 +0000 (18:14 +0000)]
Works under AIX as a DSO now.

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

23 years ago Save a ton o' space by rle encoding the header bitmap.
William A. Rowe Jr [Wed, 15 Aug 2001 15:52:54 +0000 (15:52 +0000)]
  Save a ton o' space by rle encoding the header bitmap.

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

23 years agoTweak server/Makefile so that the rules for generating exports.c
Jeff Trawick [Wed, 15 Aug 2001 14:06:27 +0000 (14:06 +0000)]
Tweak server/Makefile so that the rules for generating exports.c
are compatible with make utilities which don't expand wildcards
in a dependency list (e.g., OS/390 make, certain levels of GNU
make).

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

23 years ago Solve the segfault until the right patch is unearthed.
William A. Rowe Jr [Wed, 15 Aug 2001 03:09:32 +0000 (03:09 +0000)]
  Solve the segfault until the right patch is unearthed.
  [Greg Ames]

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

23 years ago Fix a small bug that limited the description's width to the filename's width.
William A. Rowe Jr [Tue, 14 Aug 2001 19:46:21 +0000 (19:46 +0000)]
  Fix a small bug that limited the description's width to the filename's width.

Submitted by: Mladen Turk <mladen.turk@mail.inet.hr>

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

23 years ago Outch to Win9x... can't be destroying locks asymetrically. Do we want
William A. Rowe Jr [Tue, 14 Aug 2001 19:42:54 +0000 (19:42 +0000)]
  Outch to Win9x... can't be destroying locks asymetrically.  Do we want
  this lock on NT as well?  That's another question.

Submitted by: Mladen Turk <mladen.turk@mail.inet.hr>

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

23 years ago> 1. Cleaned the ApacheMonitor code a little bit.
William A. Rowe Jr [Tue, 14 Aug 2001 19:30:21 +0000 (19:30 +0000)]
> 1. Cleaned the ApacheMonitor code a little bit.
> 2. Removed two icons apmall.ico and apsrvmon.ico
> 3. Added option to recognize the Apache*.exe (e.g. Apache-1.3.20.exe)
> 4. Removed AboutBox
> 5. Changed refresh time to 2/20 sec.

Submitted by: Mladen Turk <mladen.turk@mail.inet.hr>

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

23 years agoBreak http_proxy_handler into multiple smaller functions.
Ryan Bloom [Tue, 14 Aug 2001 18:04:58 +0000 (18:04 +0000)]
Break http_proxy_handler into multiple smaller functions.
Submitted by: John Barbee <barbee@veribox.net>

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

23 years agoneed to check return value of ssl_hook_process_connection
Doug MacEachern [Tue, 14 Aug 2001 17:03:03 +0000 (17:03 +0000)]
need to check return value of ssl_hook_process_connection
if != APR_SUCCESS the ssl connection has been shutdown
(for example client cert was revoked)
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agonamespace-protect accept_lock_mech
Jeff Trawick [Tue, 14 Aug 2001 12:30:50 +0000 (12:30 +0000)]
namespace-protect accept_lock_mech

fix a bug in the worker MPM which effectively disabled the AcceptMutex
directive

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

23 years agoFix build of OS/2 MPM after recent move of common code.
Brian Havard [Tue, 14 Aug 2001 12:20:54 +0000 (12:20 +0000)]
Fix build of OS/2 MPM after recent move of common code.
Cody did well to limit breakage to just this :)

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

23 years agoOS/2: Allow mod_dav_fs to build as a DLL. It needs special treatment as it
Brian Havard [Tue, 14 Aug 2001 12:15:04 +0000 (12:15 +0000)]
OS/2: Allow mod_dav_fs to build as a DLL. It needs special treatment as it
makes calls to mod_dav. This links it against mod_dav's exports.

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

23 years agoClean up several parsing errors in find_ct that may or may not be causing
Roy T. Fielding [Tue, 14 Aug 2001 02:35:55 +0000 (02:35 +0000)]
Clean up several parsing errors in find_ct that may or may not be causing
a seg fault.  In any case, it was butt ugly code.

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

23 years agoAdd contact info to README (was in INSTALL in 1.3)
Joshua Slive [Mon, 13 Aug 2001 23:59:26 +0000 (23:59 +0000)]
Add contact info to README (was in INSTALL in 1.3)

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

23 years agoInstall the SSL header files.
Ryan Bloom [Mon, 13 Aug 2001 23:06:06 +0000 (23:06 +0000)]
Install the SSL header files.
Submitted by: John Sterling <sterling@covalent.net>

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

23 years agoLots of small config file changes including:
Joshua Slive [Mon, 13 Aug 2001 20:23:21 +0000 (20:23 +0000)]
Lots of small config file changes including:

- Beat everything down to less than 80 character lines.

- Revise the comments for the DSO section to eliminate mention
of ordering problems.

- Add LoadModule lines for all extension modules, commented out.
Note that it is very difficult in the current ./configure
system to make the base modules DSOs, so I didn't include those.

- Remove ServerType comments.

- Add "deny from all" to the root directory container.  The comments
indicate that it should be there.

- Delete a little (in my opinion) excess verbosity in the
description of the .htacess download blocker.

- Remove the CacheNegotiatedDocs directive.  It was wrong,
and is obscure enough that people should probably just look
it up in the docs.

- Make the example for Redirect a little more explicit

- Change the examples and descriptions for READMENAME/HEADERNAME
since, if multiviews are off, they haven't worked as described
since 1.3.something.

- Remove the phf trap example.  This is very old and probably
worthless.

- Remove MetDir/MetSuffix.  These are rarely used.

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

23 years agochange the name of AP_MPM_NEEDS_RECLAIM_CHILD_PROCESSES to
Jeff Trawick [Mon, 13 Aug 2001 18:24:53 +0000 (18:24 +0000)]
change the name of AP_MPM_NEEDS_RECLAIM_CHILD_PROCESSES to
be more consistent with similar names added recently; this
also cleans up an #if/#ifdef discrepency

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

23 years ago(hopefully) get WinNT MPM to build using mpm_common.c code; a few notes:
Jeff Trawick [Mon, 13 Aug 2001 16:42:13 +0000 (16:42 +0000)]
(hopefully) get WinNT MPM to build using mpm_common.c code; a few notes:

. the selection of ap_sock_disable() is certainly ugly, but that may
  need to be cleaned up in a different manner...
. the directive functions couldn't be AP_DECLARE() if they are to be
  compatible with AP_INIT_TAKExxx(); this is an old restriction

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

23 years agoallow non-Unix MPMs to use mpm_common.c by not automatically
Jeff Trawick [Mon, 13 Aug 2001 15:44:00 +0000 (15:44 +0000)]
allow non-Unix MPMs to use mpm_common.c by not automatically
building in Unix-specific code

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

23 years agoget threaded to compile again by fixing a lock_fname/ap_lock_fname mixup
Jeff Trawick [Mon, 13 Aug 2001 14:58:24 +0000 (14:58 +0000)]
get threaded to compile again by fixing a lock_fname/ap_lock_fname mixup

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

23 years agoBegin to sanitize the MPM configuration directives. Now, all
Ryan Bloom [Mon, 13 Aug 2001 04:57:35 +0000 (04:57 +0000)]
Begin to sanitize the MPM configuration directives.  Now, all
MPMs use the same functions for all common MPM directives.  This
should make it easier to catch all bugs in these directives once.

Everybody should check their favorite MPM to ensure that it still
compiles, and that these directives work.  This is a big patch, and
although it looks good, and things compiled for me, that is no
garauntee that it will work on all platforms.  :-)

Submitted by: Cody Sherr <csherr@covalent.net>

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

23 years agoClose a major resource leak. Everytime we had issued a
Ryan Bloom [Mon, 13 Aug 2001 04:25:43 +0000 (04:25 +0000)]
Close a major resource leak.  Everytime we had issued a
graceful restart, we leaked a socket descriptor.

The listening sockets should not be set inheritable, at least
not at this point.  We only want some of the httpd children to
inherit the socket.  Namely, those that will be actually serving
requests.  Any other child process (piped logs), should not be
inheriting the sockets.

PR: 7891

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

23 years agoRemove a warning from mod_echo.
Ryan Bloom [Mon, 13 Aug 2001 02:06:05 +0000 (02:06 +0000)]
Remove a warning from mod_echo.
Submitted by: Ian Holsman <ianh@cnet.com>

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

23 years agoMake the body read in proxy http handler nonblocking. There's no sense
Chuck Murcko [Sun, 12 Aug 2001 21:24:35 +0000 (21:24 +0000)]
Make the body read in proxy http handler nonblocking. There's no sense
in serializing 4-8 client connections into a single origin server
connection, as is the blocking behavior.

Added instrumentation that we don't want compiled in normally to assist in
debugging chunking problems. apr_get_brigade is apparently blocking during
chunked body fetch, or proxy_http_handler is getting deadlocked with
the dechunk filter. Show PID for prefork debugging. We'll figure out
getting TIDs later.

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

23 years agoChange the MaxSpareThreads to 150 for threaded MPM. This mirrors the new
Justin Erenkrantz [Sun, 12 Aug 2001 18:00:03 +0000 (18:00 +0000)]
Change the MaxSpareThreads to 150 for threaded MPM.  This mirrors the new
prefork setting and removes the default case where we would spawn three
children, but kill two of them immediately because MaxSpareThreads was
set to 10 (only one children can be supported with the old value).

Please note that I don't have email access as eBuilt's servers are AWOL
this weekend (none of us have the desire to go in a fix the servers for
semi-obvious reasons).  I'm trying to keep up on posts via apachelabs.org.
So, if you want to change this, just go ahead and commit the changes...

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

23 years agoPut the MaxClients setting for prefork back to its 1.3 level.
Joshua Slive [Sun, 12 Aug 2001 15:44:18 +0000 (15:44 +0000)]
Put the MaxClients setting for prefork back to its 1.3 level.

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

23 years agoFix the macro expansion problem in the hook declaration.
Ryan Bloom [Sat, 11 Aug 2001 18:03:28 +0000 (18:03 +0000)]
Fix the macro expansion problem in the hook declaration.
Submitted by: Ian Holsman <ianh@cnet.com>

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

23 years agoFix the proxy when the origin server sends back a 100
Ryan Bloom [Sat, 11 Aug 2001 05:10:23 +0000 (05:10 +0000)]
Fix the proxy when the origin server sends back a 100
Continue response.  [John Barbee <barbee@veribox.net>]

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

23 years agoForgot the CHANGES comment with my last commit.
Ryan Bloom [Sat, 11 Aug 2001 04:09:45 +0000 (04:09 +0000)]
Forgot the CHANGES comment with my last commit.

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

23 years agoFix the new method code. We need to cast 1 to an apr_int64_t or it will
Ryan Bloom [Sat, 11 Aug 2001 04:04:13 +0000 (04:04 +0000)]
Fix the new method code.  We need to cast 1 to an apr_int64_t or it will
be treated as a 32-bit integer, and it will wrap after being shifted
32 times.
Submitted by: Cody Sherr <csherr@covalent.net> and
Ryan Morgan <rmorgan@covalent.net>

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

23 years agohot and muggy in Raleigh (i.e., it's August)
Greg Ames [Fri, 10 Aug 2001 20:16:54 +0000 (20:16 +0000)]
hot and muggy in Raleigh (i.e., it's August)

De-emphasize some daedalus problems that don't seem so important any more.
I haven't tried the mod_cgid/suexec thing in ages.

<knocks on wood> We haven't seen a core dump on daedalus since the 2.0.22
tarball went live over a week ago.  It's got an APR circumvention for
an apparent FreeBSD sendfile bug.  Once I'm 100% confident we've nailed
the problem, I'll post this patch to the APR list.

The 0x30303030 seg fault after restart problem is just gone.  OtherBill may
have fixed this one with the inherit stuff...dunno.

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

23 years agoWipe out a couple suspended bugs.
Joshua Slive [Fri, 10 Aug 2001 19:30:43 +0000 (19:30 +0000)]
Wipe out a couple suspended bugs.

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

23 years agoMove things to the docs/STATUS file and reference the various
Joshua Slive [Fri, 10 Aug 2001 19:02:02 +0000 (19:02 +0000)]
Move things to the docs/STATUS file and reference the various
STATUS files sprinkled throughout the tree.

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

23 years agoHot and sunny again in Montreal.
Joshua Slive [Fri, 10 Aug 2001 18:54:09 +0000 (18:54 +0000)]
Hot and sunny again in Montreal.

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

23 years agoClarify what %U will log.
Joshua Slive [Fri, 10 Aug 2001 18:51:04 +0000 (18:51 +0000)]
Clarify what %U will log.

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

23 years agoThis should fix the remaining problems with POST. Basically, we
Ryan Bloom [Fri, 10 Aug 2001 18:35:08 +0000 (18:35 +0000)]
This should fix the remaining problems with POST.  Basically, we
add a new macro, called APR_BRIGADE_NORMALIZE.  This macro searches
all the buckets, and removes any zero length bucket.  They we can
just use APR_BRIGADE_EMPTY to determine if our brigade has any data,
and we can quickly call ap_get_brigade if it doesn't.

Doug, please throw your battery of tests at this to make sure it works.

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

23 years agoEliminate duplicate info and add references to logs.html.
Joshua Slive [Fri, 10 Aug 2001 15:58:16 +0000 (15:58 +0000)]
Eliminate duplicate info and add references to logs.html.

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

23 years agoBring forward new logs.html doc from 1.3.
Joshua Slive [Fri, 10 Aug 2001 15:54:09 +0000 (15:54 +0000)]
Bring forward new logs.html doc from 1.3.

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

23 years agoFix a bug in mod_expires. Previous to this patch, if you
Ryan Bloom [Fri, 10 Aug 2001 05:29:09 +0000 (05:29 +0000)]
Fix a bug in mod_expires.  Previous to this patch, if you
told mod_expires to add 604800 seconds to the last-modified
time, it actually added 604800 usec's to the last-modified time,
so that when looking at the response it looked like nothing
had been done.  The root of the problem was that we always compute
time in usec's, but we ask users to input sec's.  This means we
need to convert to usec's before using those values.
CS: Obtained from:

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

23 years agoThe worker MPM now handles shutdown and restart requests. It
Ryan Bloom [Fri, 10 Aug 2001 05:00:27 +0000 (05:00 +0000)]
The worker MPM now handles shutdown and restart requests.  It
definately isn't perfect, but we do stop the servers correctly.
The biggest problem right now is that SIGHUP causes the server to
just die.

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

23 years agorecord something in the error log if the parent process seg faults
Greg Ames [Fri, 10 Aug 2001 01:34:11 +0000 (01:34 +0000)]
record something in the error log if the parent process seg faults

Submitted by: Jeff Trawick

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

23 years agoWe want to use mod_cgid with the worker MPM as well.
Ryan Bloom [Thu, 9 Aug 2001 20:59:00 +0000 (20:59 +0000)]
We want to use mod_cgid with the worker MPM as well.

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

23 years agoThis change was moved into 2.0.23. The problem therefore both began and
Cliff Woolley [Thu, 9 Aug 2001 15:56:20 +0000 (15:56 +0000)]
This change was moved into 2.0.23.  The problem therefore both began and
was fixed in 2.0.23, so no CHANGES entry is necessary.

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

23 years agoFix a restart problem when cgid is used. Code in the parent
Jeff Trawick [Thu, 9 Aug 2001 15:10:58 +0000 (15:10 +0000)]
Fix a restart problem when cgid is used.  Code in the parent
httpd process was trying to clear a pool which is now only
initialized in the child.

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

23 years agoIf we are going to get the length of a brigade, it helps if that
Ryan Bloom [Thu, 9 Aug 2001 04:56:23 +0000 (04:56 +0000)]
If we are going to get the length of a brigade, it helps if that
brigade has data.  To that end, if we have just expanded ctx->b, we need
to concat ctx->b to the end of b, so that b has something to pass
back to the previous filter.

This fixes the problem with the proxy not proxying non-keepalive
connections.

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

23 years agoAdd a comment so that the next poor fool who re-writes this section
Ryan Bloom [Thu, 9 Aug 2001 04:25:46 +0000 (04:25 +0000)]
Add a comment so that the next poor fool who re-writes this section
of code will know about this case.

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

23 years agoHandle the -1 case in ap_http_filter. -1 means that we have to read
Ryan Bloom [Thu, 9 Aug 2001 04:21:26 +0000 (04:21 +0000)]
Handle the -1 case in ap_http_filter.  -1 means that we have to read
all data from the socket until the socket is closed.  This has been
used to proxy www.google.com successfully, but it doesn't return anything
when used with www.yahoo.com.  Still debugging that problem.

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

23 years agoRemove the block argument from apr_brigade_partition. This looked good
Ryan Bloom [Wed, 8 Aug 2001 22:24:04 +0000 (22:24 +0000)]
Remove the block argument from apr_brigade_partition.  This looked good
in theory, but in reality, we should just rely on the timeouts to handle
this.

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

23 years agofrom madhu: no longer need to force eReadType and eMode
Doug MacEachern [Wed, 8 Aug 2001 15:49:07 +0000 (15:49 +0000)]
from madhu: no longer need to force eReadType and eMode

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

23 years agoRe-apply the patch from yesterday that makes ap_http_filter use
Ryan Bloom [Wed, 8 Aug 2001 15:42:08 +0000 (15:42 +0000)]
Re-apply the patch from yesterday that makes ap_http_filter use
apr_brigade_partition.  In order to do this cleanly, I had to make
some changes to the apr_brigade_partition API, so this also adds fixes
all of the calls to that function throughout the server.

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

23 years agoUpdate httpd to reflect change with free() pointer in buckets code
Cliff Woolley [Wed, 8 Aug 2001 06:04:07 +0000 (06:04 +0000)]
Update httpd to reflect change with free() pointer in buckets code

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

23 years agoget POST requests working with mod_ssl
Doug MacEachern [Wed, 8 Aug 2001 05:11:33 +0000 (05:11 +0000)]
get POST requests working with mod_ssl

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

23 years agoApache Monitor's tray code does not notify Windows to remove it from the
Roy T. Fielding [Wed, 8 Aug 2001 02:26:05 +0000 (02:26 +0000)]
Apache Monitor's tray code does not notify Windows to remove it from the
tray when the process is destroyed. Just needed to add a call to remove
the tray icon before PostQuitMessage(0).

Also show "MS Windows XP" instead of "Whistler".

Submitted by: Jerry Baker <jerrybaker@weirdness.com>

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

23 years agodrop a brace inside #if 0 so emacs can indent properly
Doug MacEachern [Wed, 8 Aug 2001 02:10:51 +0000 (02:10 +0000)]
drop a brace inside #if 0 so emacs can indent properly

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

23 years agos/apr_size_t/apr_off_t/ for input filter
Doug MacEachern [Wed, 8 Aug 2001 02:09:26 +0000 (02:09 +0000)]
s/apr_size_t/apr_off_t/ for input filter

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

23 years agoBump to 2.0.24-dev after tag
Cliff Woolley [Wed, 8 Aug 2001 00:04:21 +0000 (00:04 +0000)]
Bump to 2.0.24-dev after tag

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

23 years agoBump for 2.0.23 tag
Cliff Woolley [Wed, 8 Aug 2001 00:01:41 +0000 (00:01 +0000)]
Bump for 2.0.23 tag

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

23 years agoclean up the scoreboard properly after threaded processes die gracefully.
Greg Ames [Tue, 7 Aug 2001 22:28:51 +0000 (22:28 +0000)]
clean up the scoreboard properly after threaded processes die gracefully.

find_child_by_pid() failed to do its job, because ap_max_daemons_used was
too low.  There was some recent breakage in threaded that contributes to
the problem.

However, find_child_by_pid() should not be using the current number of
daemons.  It could have been recently reduced, which makes it fail to
find the exiting process.

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

23 years agoHopefully it's marked as binary this time around...
Cliff Woolley [Tue, 7 Aug 2001 21:59:20 +0000 (21:59 +0000)]
Hopefully it's marked as binary this time around...

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

23 years agoThis file should have been marked -kb ... it's getting CRLF translated
Cliff Woolley [Tue, 7 Aug 2001 21:57:50 +0000 (21:57 +0000)]
This file should have been marked -kb ... it's getting CRLF translated
by CVS on Windows.  I'll re-add it as -kb in the next commit.

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

23 years agochange readbytes from a apr_size_t to a apr_off_t to match the parameter
Ian Holsman [Tue, 7 Aug 2001 21:46:47 +0000 (21:46 +0000)]
change readbytes from a apr_size_t to a apr_off_t to match the parameter
required in ap_get_brigade
Submitted by:  barbee@veribox.net
Reviewed by:  ianh@apache.org

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

23 years agochange the parameter to ap_get_brigade from apr_site_t to apr_off_t, due to
Ian Holsman [Tue, 7 Aug 2001 21:18:03 +0000 (21:18 +0000)]
change the parameter to ap_get_brigade from apr_site_t to apr_off_t, due to
a parameter change in the original filter.
PR:
Submitted by: barbee@veribox.net
Reviewed by: ianh@apache.org

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

23 years agoUpdate .rc file to fix build
Cliff Woolley [Tue, 7 Aug 2001 20:57:39 +0000 (20:57 +0000)]
Update .rc file to fix build

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

23 years agoprefork is default.
Joshua Slive [Tue, 7 Aug 2001 20:34:47 +0000 (20:34 +0000)]
prefork is default.

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

23 years agoUse the prefork MPM by default on Unix.
Jeff Trawick [Tue, 7 Aug 2001 20:13:58 +0000 (20:13 +0000)]
Use the prefork MPM by default on Unix.

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

23 years agoI accidentally committed the DOS line endings in that last commit. This
Cliff Woolley [Tue, 7 Aug 2001 20:01:18 +0000 (20:01 +0000)]
I accidentally committed the DOS line endings in that last commit.  This
strips them back out again.  Diff this against v1.1 for the real changes.

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

23 years agoOops, missed the .mak file update. [Again, I'm flying blind... somebody
Cliff Woolley [Tue, 7 Aug 2001 19:58:35 +0000 (19:58 +0000)]
Oops, missed the .mak file update.  [Again, I'm flying blind... somebody
please check this.]

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

23 years agoThis is a nearly blind commit of an update posted by Mladen Turk just
Cliff Woolley [Tue, 7 Aug 2001 19:54:10 +0000 (19:54 +0000)]
This is a nearly blind commit of an update posted by Mladen Turk just
after the initial import.  Mladen, please check this to see if I got it
right.

Submitted by: Mladen Turk

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

23 years agothis change breaks POST, backing out for the moment
Doug MacEachern [Tue, 7 Aug 2001 19:54:06 +0000 (19:54 +0000)]
this change breaks POST, backing out for the moment

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

23 years agomod_rewrite: Fix the line ending on some non-Unix systems for
Jeff Trawick [Tue, 7 Aug 2001 19:34:58 +0000 (19:34 +0000)]
mod_rewrite: Fix the line ending on some non-Unix systems for
messages written to the rewrite log.

Submitted by: Richard Labennett <rlabenn@us.ibm.com>
Reviewed by:  Jeff Trawick

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

23 years ago Must return something in the 2^32 domain (preferably one, as shown here),
William A. Rowe Jr [Tue, 7 Aug 2001 18:37:04 +0000 (18:37 +0000)]
  Must return something in the 2^32 domain (preferably one, as shown here),
  not in the 2^64 domain.

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

23 years agoGreatly simplify the ap_http_filter logic, by using the
Ryan Bloom [Tue, 7 Aug 2001 17:57:44 +0000 (17:57 +0000)]
Greatly simplify the ap_http_filter logic, by using the
apr_brigade_partition function.  This should also remove a warning from
the Windows build, because apr_off_t and apr_size_t aren't the same
size.

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

23 years ago Update for the 2.0.23 tag
William A. Rowe Jr [Tue, 7 Aug 2001 17:21:21 +0000 (17:21 +0000)]
  Update for the 2.0.23 tag

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

23 years ago Include ApacheMonitor/wintty in the build.
William A. Rowe Jr [Tue, 7 Aug 2001 17:19:04 +0000 (17:19 +0000)]
  Include ApacheMonitor/wintty in the build.

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

23 years agoUpdate the README so that it reflects just what Apache is today, and so
Ryan Bloom [Tue, 7 Aug 2001 16:56:32 +0000 (16:56 +0000)]
Update the README so that it reflects just what Apache is today, and so
that it is correct about where things reside.
Submitted by: Joshua Slive <joshua@slive.ca>

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

23 years ago Just cleaning up some indents
William A. Rowe Jr [Tue, 7 Aug 2001 16:40:29 +0000 (16:40 +0000)]
  Just cleaning up some indents

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

23 years agoBack out a patch that wasn't ready for inclusion. Thanks to OtherBill
Ryan Bloom [Tue, 7 Aug 2001 16:40:25 +0000 (16:40 +0000)]
Back out a patch that wasn't ready for inclusion.  Thanks to OtherBill
for pointing out that this was committed when it shouldn't have been.

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

23 years agoRemove all warnings from the input filtering stack.
Ryan Bloom [Tue, 7 Aug 2001 16:19:03 +0000 (16:19 +0000)]
Remove all warnings from the input filtering stack.

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

23 years ago The solution for an icon monitor app has arrived :)
William A. Rowe Jr [Tue, 7 Aug 2001 15:51:29 +0000 (15:51 +0000)]
  The solution for an icon monitor app has arrived :)

  Contributed by Mladen Turk <mturk@mappingsoft.com>

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

23 years ago Eliminate emits
William A. Rowe Jr [Tue, 7 Aug 2001 15:50:25 +0000 (15:50 +0000)]
  Eliminate emits

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

23 years ago Thanks rbb, and the modproxy-dev autobuild report for pointing these out.
William A. Rowe Jr [Tue, 7 Aug 2001 15:15:53 +0000 (15:15 +0000)]
  Thanks rbb, and the modproxy-dev autobuild report for pointing these out.

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

23 years ago Here today, gone yesterday.
William A. Rowe Jr [Tue, 7 Aug 2001 14:36:45 +0000 (14:36 +0000)]
  Here today, gone yesterday.

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

23 years ago All mod_autoindex query parsing is now quietly quashed with the
William A. Rowe Jr [Tue, 7 Aug 2001 12:54:31 +0000 (12:54 +0000)]
 All mod_autoindex query parsing is now quietly quashed with the
     IndexOption IgnoreClient.  The IndexOption SuppressColumnSorting
     still drops the column sort <a href>'s for the column headers, but
     IgnoreClient is required to ignore these Query options entirely.

     Introduced new mod_autoindex query argument parsing for F=[0|1|2]
     to allow the client to select plain, FancyIndexing or HTMLTable
     formatting, V=[0|1] to inhibit or enable version sorting, and
     P=pattern to return only specific files.  The old Query Arguments
     were reorganized as C=f for sorting column 'f' (same N, D, S, or M
     as before), and O=A|D for ordering ascending or descending.

     Docs and an Example are provided in mod_autoindex.html

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

23 years agoFixed an error in ap_ssi_get_tag_and_value(). It was not placing the
Cliff Woolley [Tue, 7 Aug 2001 08:02:42 +0000 (08:02 +0000)]
Fixed an error in ap_ssi_get_tag_and_value().  It was not placing the
null terminator in the right spot for the tag_val if the value contained
backslashes.  This caused #if, #elif, and #else expressions with backslashes
to be incorrectly evaluated.

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