]> granicus.if.org Git - apache/log
apache
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

23 years agoFormatted output changes only...
William A. Rowe Jr [Tue, 7 Aug 2001 04:33:58 +0000 (04:33 +0000)]
Formatted output changes only...

     Introduced new mod_autoindex IndexOptions flags; SuppressIcon to
     drop the icon column and SuppressRules to drop the <hr> elements.
     These are necessary for HTML 3.2 final formatting rules.

     Introduced HTMLTable to create rudimentary HTML table listings
     (implies FancyIndexing).  Necessary for alternate charsets, since
     the columns are borked by multibyte characters.

     Re-Introduced the mod_autoindex IndexOptions flag TrackModified
     from Apache 1.3.15.  This is needed for two reasons, first, given
     multiple machines within a server farm, ETags and Last-Modified
     stamps won't correspond from machine to machine, and second, many
     Unixes don't capture changes to the date or time stamp of existing
     files, since these don't modify the dirent itself.
     [Originally for 1.3 by me]

     Re-Introduced the mod_autoindex InextOptions flag FoldersFirst
     and DirectoryWidth options from Apache 1.3.10.
     [Originally for 1.3 by Ken Coar]

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

23 years agoFix a segfault (was getting triggered by mod_include at least) caused
Cliff Woolley [Tue, 7 Aug 2001 02:34:42 +0000 (02:34 +0000)]
Fix a segfault (was getting triggered by mod_include at least) caused
by calling ap_allow_options() before setting rnew->per_dir_config.

This is the "easy looking" fix but might have side effects of which I'm
unaware... please double-check this change for correctness.

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

23 years ago A debatable change, to return (an absolute) 404 if some of the extentions
William A. Rowe Jr [Tue, 7 Aug 2001 00:51:22 +0000 (00:51 +0000)]
  A debatable change, to return (an absolute) 404 if some of the extentions
  of every matching file isn't decodable by mod_mime, instead of 500.
  Adopted 404 as the result, per Roy Fielding.

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

23 years ago Mumblings
William A. Rowe Jr [Mon, 6 Aug 2001 22:59:22 +0000 (22:59 +0000)]
  Mumblings

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

23 years ago Change the error wording, slightly.
William A. Rowe Jr [Mon, 6 Aug 2001 22:44:38 +0000 (22:44 +0000)]
  Change the error wording, slightly.

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

23 years ago Thanks goes to Manoj, while commenting on another issue, for triggering
William A. Rowe Jr [Mon, 6 Aug 2001 22:42:59 +0000 (22:42 +0000)]
  Thanks goes to Manoj, while commenting on another issue, for triggering
  this idea.  If we find files matching (e.g. index.html.bak matches
  index.html) but they are rejected because we don't understand them
  (e.g. they are a directory, or .bak isn't a mod_mime recognized extension)
  then Error 500 out of here, with a note for the system administrator
  explaining that index.html matches some files, but their extensions
  cannot be grokked.  No more (unintentional, or situational) autoindex :)

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

23 years agoplug mod_cgid restart leak
Doug MacEachern [Mon, 6 Aug 2001 22:32:57 +0000 (22:32 +0000)]
plug mod_cgid restart leak

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

23 years ago Per Silve's request, some docs that I was messing with these.
William A. Rowe Jr [Mon, 6 Aug 2001 21:51:58 +0000 (21:51 +0000)]
  Per Silve's request, some docs that I was messing with these.

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

23 years ago Whoops, missing win32 goodness
William A. Rowe Jr [Mon, 6 Aug 2001 21:48:10 +0000 (21:48 +0000)]
  Whoops, missing win32 goodness

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

23 years agoa couple of hacks to mod_example to get it to behave a little better:
Jeff Trawick [Mon, 6 Aug 2001 21:36:32 +0000 (21:36 +0000)]
a couple of hacks to mod_example to get it to behave a little better:

1) return DECLINED instead of OK from the quick_handler so we get
   some output

2) don't install x_fixer_upper() as a create_request handler; otherwise
   we segfault since r->per_dir_config hasn't been initialized yet

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

23 years ago Gone, see .html.en flavors
William A. Rowe Jr [Mon, 6 Aug 2001 19:42:42 +0000 (19:42 +0000)]
  Gone, see .html.en flavors

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

23 years ago These will _not_ be required in 2.0 If they are required today, there is
William A. Rowe Jr [Mon, 6 Aug 2001 19:37:27 +0000 (19:37 +0000)]
  These will _not_ be required in 2.0  If they are required today, there is
  still a bug to track down.

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

23 years ago Remove the ->mtime reset back to negotiation, who decided to do this.
William A. Rowe Jr [Mon, 6 Aug 2001 19:13:02 +0000 (19:13 +0000)]
  Remove the ->mtime reset back to negotiation, who decided to do this.

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

23 years ago _THIS_ is why mod_dir wouldn't serve the results of mod_negotiation
William A. Rowe Jr [Mon, 6 Aug 2001 19:10:12 +0000 (19:10 +0000)]
  _THIS_ is why mod_dir wouldn't serve the results of mod_negotiation
  with a query string

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

23 years ago Fix typo from extracting the fast-redirect code
William A. Rowe Jr [Mon, 6 Aug 2001 19:09:08 +0000 (19:09 +0000)]
  Fix typo from extracting the fast-redirect code

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

23 years ago The real slim shady finally stood up. This patch segregates the fast
William A. Rowe Jr [Mon, 6 Aug 2001 19:03:37 +0000 (19:03 +0000)]
  The real slim shady finally stood up.  This patch segregates the fast
  internal redirect logic back into http_request, the next patch will
  actually fix it.

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

23 years ago Kill some deadwood
William A. Rowe Jr [Mon, 6 Aug 2001 18:50:53 +0000 (18:50 +0000)]
  Kill some deadwood

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

23 years ago Same cleanups as applied to mod_cgi, falling out of scope != destruction
William A. Rowe Jr [Mon, 6 Aug 2001 18:43:30 +0000 (18:43 +0000)]
  Same cleanups as applied to mod_cgi, falling out of scope != destruction
  in plain ol' C.

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

23 years ago We are done with this subrequest (before we even got started...) so
William A. Rowe Jr [Mon, 6 Aug 2001 18:41:31 +0000 (18:41 +0000)]
  We are done with this subrequest (before we even got started...) so
  dump it early.

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

23 years ago This is not C++, falling out of scope doesn't constitute destruction :)
William A. Rowe Jr [Mon, 6 Aug 2001 18:38:43 +0000 (18:38 +0000)]
  This is not C++, falling out of scope doesn't constitute destruction :)

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

23 years agoExplain the worker MPM
Ryan Bloom [Mon, 6 Aug 2001 15:55:43 +0000 (15:55 +0000)]
Explain the worker MPM

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

23 years agoRemove all the warnings from mod_example.c.
Ryan Bloom [Mon, 6 Aug 2001 13:46:48 +0000 (13:46 +0000)]
Remove all the warnings from mod_example.c.

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

23 years ago This was entirely broken. We cannot skip the location walk just because
William A. Rowe Jr [Mon, 6 Aug 2001 05:26:37 +0000 (05:26 +0000)]
  This was entirely broken.  We cannot skip the location walk just because
  we are in a file subrequest (think of a file server-status sitting in
  the document root, this shouldn't be blindly served as a 'file'.)

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

23 years ago Just a little cleaner.
William A. Rowe Jr [Mon, 6 Aug 2001 05:07:34 +0000 (05:07 +0000)]
  Just a little cleaner.

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

23 years ago Multiviews and mod_negotiation will already handle this case, it never
William A. Rowe Jr [Mon, 6 Aug 2001 04:47:12 +0000 (04:47 +0000)]
  Multiviews and mod_negotiation will already handle this case, it never
  belonged in mod_cgi itself.

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

23 years ago More explanation
William A. Rowe Jr [Mon, 6 Aug 2001 02:27:26 +0000 (02:27 +0000)]
  More explanation

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

23 years agoGet the worker MPM working again. This should fix the serialization
Ryan Bloom [Sun, 5 Aug 2001 18:41:38 +0000 (18:41 +0000)]
Get the worker MPM working again.  This should fix the serialization
problems, and it makes up initialize the queue only once.

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

23 years agoSpeed up the server's response to a spike in incoming workload
Greg Ames [Sun, 5 Aug 2001 18:08:49 +0000 (18:08 +0000)]
Speed up the server's response to a spike in incoming workload
or restarts.

New processes aren't able to start all their threads right away
if other dying processes share the same scoreboard real estate.
So give empty process slots in the scoreboard top priority.

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

23 years agocosmetic changes only for a clean build; no serialization problems
Jeff Trawick [Sat, 4 Aug 2001 11:40:16 +0000 (11:40 +0000)]
cosmetic changes only for a clean build; no serialization problems
addressed; I presume those are waiting for an APR-ization of the
queue/condition mechanism

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

23 years agominimal changes to get it to compile
Jeff Trawick [Sat, 4 Aug 2001 11:37:12 +0000 (11:37 +0000)]
minimal changes to get it to compile

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

23 years ago Subtle variation for security. If the mod_mime file has nothing specific
William A. Rowe Jr [Sat, 4 Aug 2001 04:32:59 +0000 (04:32 +0000)]
  Subtle variation for security.  If the mod_mime file has nothing specific
  to say about a given set of file extentions (and has only based the
  resolved fields on the default language, encoding and content type)
  then tell us we can ignore the result by leaving the exception list
  entirely undefined.  If mod_mime adds anything (a language, charset, or
  whatnot) then proceed to use the file in the Multiviews evaluation,
  otherwise mod_negotation will ignore the file found.

  This points out a need for a slightly twisted DefaultClientLanguage,
  as opposed to creating foo.html.html files.  Either that, or introduce
  a 'neutral' entity that the user can list (say, .default) for mod_mime
  to declare it as a fallback language/encoding/content-type/handler.

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

23 years agoaxe unused variable
Jeff Trawick [Sat, 4 Aug 2001 01:29:38 +0000 (01:29 +0000)]
axe unused variable

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

23 years agoCorrect the default.
Joshua Slive [Fri, 3 Aug 2001 23:41:35 +0000 (23:41 +0000)]
Correct the default.

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

23 years ago Solve the major underlying problem of content negotation by passing
William A. Rowe Jr [Fri, 3 Aug 2001 22:57:47 +0000 (22:57 +0000)]
  Solve the major underlying problem of content negotation by passing
  mod_negotiation the 'unresolved' parts of the path in a ->notes
  array ap-mime-exceptions-list.

  If mod_mime is given index.html.bad.en it will add index and bad
  to the list (presuming html and en are both defined.)

  mod_negotiation will decide if index and bad are it's fault (the
  user requested index.html.bad[.*]) or if it's a messed up file
  (say .old, .junk, or .bak).

  The next patch to allow any-order negotiation should check each
  of these list elements, so that asking for index.bad in the prior
  example would succeed.  Right now that request would fail because
  .html was recognized, so it's not in the exceptions list.  This
  patch uses a simple strcmp to the given name.

  Also, this patch allows any mod_mime processed file to be served,
  even if the content type cannot be determined (think README.en).
  This is crippled by the client expect headers and omitting the
  default content type.

  PLEASE vet this code carefully.

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

23 years agoremove a gcc warning, leave object code unchanged
Jeff Trawick [Fri, 3 Aug 2001 21:44:34 +0000 (21:44 +0000)]
remove a gcc warning, leave object code unchanged

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

23 years agoForgot the CHANGES, as usual....
Victor J. Orlikowski [Fri, 3 Aug 2001 21:26:47 +0000 (21:26 +0000)]
Forgot the CHANGES, as usual....

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

23 years ago Save hundreds of cycles on every autoindex request by _not_ attempting
William A. Rowe Jr [Fri, 3 Aug 2001 18:32:03 +0000 (18:32 +0000)]
  Save hundreds of cycles on every autoindex request by _not_ attempting
  to to test the parent (..) sub request!  This patch also allows the user
  to see things that will redirect them.  That way, the lnk or dir within
  the directory is displayed correctly.

  Also allows an ALT text entry other than DIR by providing AddAlt
  ^^DIRECTORY^^, as the user (might) expect to be allowed to do.

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

23 years agoAdd a timeout when making connections from within the proxy.
Victor J. Orlikowski [Fri, 3 Aug 2001 18:00:38 +0000 (18:00 +0000)]
Add a timeout when making connections from within the proxy.
Now, if someone wants to add a special scoreboard state for proxy
attempting to make connection, be my guest.

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

23 years agoBoth the ftp and http proxies were erroneously sending a flush bucket after
Victor J. Orlikowski [Fri, 3 Aug 2001 16:25:10 +0000 (16:25 +0000)]
Both the ftp and http proxies were erroneously sending a flush bucket after
an eos bucket. This had been put in place to repair a bug, but was covering
the symptoms, rather than providing the cure. Bug repaired, and kludge
removed.

Submitted by: barbee@veribox.net

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

23 years agoUpdate this custom bucket to use the free function pointer in apr_bucket_type_t
Bill Stoddard [Fri, 3 Aug 2001 14:26:03 +0000 (14:26 +0000)]
Update this custom bucket to use the free function pointer in apr_bucket_type_t

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

23 years agoExpand .html.en, .html.fr and .html.ja.jis as well as
Yoshiki Hayashi [Fri, 3 Aug 2001 08:57:39 +0000 (08:57 +0000)]
Expand .html.en, .html.fr and .html.ja.jis as well as
.html and .html.html.

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

23 years agoHandle the ap_pass_brigade inside the SPLIT_BRIGADE... macro.
Ryan Bloom [Fri, 3 Aug 2001 03:41:51 +0000 (03:41 +0000)]
Handle the ap_pass_brigade inside the SPLIT_BRIGADE... macro.

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

23 years ago That's enough for tonight ... gheesh. Allow 2xx + OK (0) results from
William A. Rowe Jr [Fri, 3 Aug 2001 02:22:47 +0000 (02:22 +0000)]
  That's enough for tonight ... gheesh.  Allow 2xx + OK (0) results from
  the subrequest to go out to the client.  This doesn't address (..)
  anomilies, which I will address in the a.m.

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

23 years ago Allow a slightly larger range of acceptable responses.
William A. Rowe Jr [Fri, 3 Aug 2001 02:17:44 +0000 (02:17 +0000)]
  Allow a slightly larger range of acceptable responses.

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

23 years ago Fix some major brokenness. We were not validating that the autoindex
William A. Rowe Jr [Fri, 3 Aug 2001 01:31:26 +0000 (01:31 +0000)]
  Fix some major brokenness.  We were not validating that the autoindex
  subrequest'ed file was valid, and did not check a subrequest at all if
  the user didn't use FancyIndexing.

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

23 years ago Begone ancient beast. IndexOptions FancyIndexing is sufficiently less
William A. Rowe Jr [Fri, 3 Aug 2001 01:00:12 +0000 (01:00 +0000)]
  Begone ancient beast.  IndexOptions FancyIndexing is sufficiently less
  confusing.

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

23 years ago Provide an ap_set_deprecated() fn for quick-and-dirty 'we don't do this'
William A. Rowe Jr [Fri, 3 Aug 2001 00:59:01 +0000 (00:59 +0000)]
  Provide an ap_set_deprecated() fn for quick-and-dirty 'we don't do this'
  entries in the command table.

  (Also fixes a nit about returning a single bit of an apr_int_64 as an int.
  Know how this group loves !! expresssions :)

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

23 years ago Thanks Justin :) This also looked a bit klunky
William A. Rowe Jr [Fri, 3 Aug 2001 00:50:26 +0000 (00:50 +0000)]
  Thanks Justin :)  This also looked a bit klunky

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

23 years agoSomebody please teach OtherBill how to spell "deprecated". ;-)
Cliff Woolley [Fri, 3 Aug 2001 00:33:24 +0000 (00:33 +0000)]
Somebody please teach OtherBill how to spell "deprecated".  ;-)

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

23 years ago It's a new book. Time to throw out the old switch-hitter plays.
William A. Rowe Jr [Fri, 3 Aug 2001 00:24:40 +0000 (00:24 +0000)]
  It's a new book.  Time to throw out the old switch-hitter plays.

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

23 years ago Undo my unintentionally overzelous name change, and fix the style of sizeof()
William A. Rowe Jr [Thu, 2 Aug 2001 22:54:39 +0000 (22:54 +0000)]
  Undo my unintentionally overzelous name change, and fix the style of sizeof()

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

23 years ago If it won't let us run in APR_POOLS_DEBUG mode, it's broken.
William A. Rowe Jr [Thu, 2 Aug 2001 22:12:45 +0000 (22:12 +0000)]
  If it won't let us run in APR_POOLS_DEBUG mode, it's broken.

  We should be implementing this all in terms of apr_threads, and fix
  the apr_pools code to allow 'trusted subpools' with their own root
  allocations that bypass the mutexes.  Unrooting a pool just glosses
  over the real problems.

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

23 years agofix a problem in the threaded and worker mpm's where a keepalive connection
Greg Ames [Thu, 2 Aug 2001 21:24:14 +0000 (21:24 +0000)]
fix a problem in the threaded and worker mpm's where a keepalive connection
on one thread can prevent the process from exiting.

let's rename ap_graceful_restart_signalled to something more appropriate
after the next beta.

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

23 years ago Make this legible. Points out a huge headache in the new conftree pools
William A. Rowe Jr [Thu, 2 Aug 2001 19:37:46 +0000 (19:37 +0000)]
  Make this legible.  Points out a huge headache in the new conftree pools
  mechanism, that we aren't joined properly, so we hit the 'not ancestor'
  abend here.

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

23 years ago Really compress the add_/remove_ handling, and fix pool allocations.
William A. Rowe Jr [Thu, 2 Aug 2001 17:25:05 +0000 (17:25 +0000)]
  Really compress the add_/remove_ handling, and fix pool allocations.

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

23 years agoI forgot to catch all the other return calls in this function, so this
Ryan Bloom [Thu, 2 Aug 2001 16:35:22 +0000 (16:35 +0000)]
I forgot to catch all  the other return calls in this function, so this
cleans up the warnings.  Thanks OtherBill for beating me up about this.

:-)

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

23 years agoXBitHack has just been re-enabled in Apache 2.0, so the docs need to
Ryan Bloom [Thu, 2 Aug 2001 05:28:27 +0000 (05:28 +0000)]
XBitHack has just been re-enabled in Apache 2.0, so the docs need to
be updated to reflect that.

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

23 years ago Fix typo in prior commit
William A. Rowe Jr [Thu, 2 Aug 2001 05:28:00 +0000 (05:28 +0000)]
  Fix typo in prior commit

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

23 years agoAdd a handler to mod_includes.c. This handler is designed to
Ryan Bloom [Thu, 2 Aug 2001 05:27:06 +0000 (05:27 +0000)]
Add a handler to mod_includes.c.  This handler is designed to
implement the XbitHack directive.  This can't be done with a
fixup, because we need to check the content-type, which is
only available in the handler phase.
PR:     7751

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