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

23 years ago Adapt to changed declaration of apr_pool_sub_make()
William A. Rowe Jr [Thu, 2 Aug 2001 05:25:53 +0000 (05:25 +0000)]
  Adapt to changed declaration of apr_pool_sub_make()

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

23 years agoMake the includes filter check return codes from filters lower in
Ryan Bloom [Thu, 2 Aug 2001 04:59:51 +0000 (04:59 +0000)]
Make the includes filter check return codes from filters lower in
the filter chain.  If a lower level filter returns an error, then
the request needs to stop immediately.  This allows mod_include to
stop parsing data once a lower filter recognizes an error.
PR: 8102

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

23 years agoAdd the ability to extend the methods that Apache understands
Ryan Bloom [Thu, 2 Aug 2001 04:25:20 +0000 (04:25 +0000)]
Add the ability to extend the methods that Apache understands
and have those methods <limit>able in the httpd.conf. It uses
the same bit mask/shifted offset as the original HTTP methods
such as M_GET or M_POST, but expands the total bits from an int to
an ap_int64_t to handle more bits for new request methods than
an int provides.
Submitted by: Cody Sherr <csherr@covalent.net>

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

23 years ago Need some context for the iterator! Finally get to use that accessor :)
William A. Rowe Jr [Thu, 2 Aug 2001 00:17:45 +0000 (00:17 +0000)]
  Need some context for the iterator!  Finally get to use that accessor :)

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

23 years ago Solve the merge bugs, by storing a copy bit to save us a ton of
William A. Rowe Jr [Wed, 1 Aug 2001 23:33:08 +0000 (23:33 +0000)]
  Solve the merge bugs, by storing a copy bit to save us a ton of
  reallocation in the merge config phase.  Should keep most of the
  savings realized by moving to tables.

  Need others to vet this code, please!  Look at this and the prior
  patch as a single diff (-r n -r n-2) to see the overall changes.

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

23 years agoAPR-util has renamed buildconf.sh to buildconf to match APR and httpd-2.0.
Justin Erenkrantz [Wed, 1 Aug 2001 20:49:05 +0000 (20:49 +0000)]
APR-util has renamed buildconf.sh to buildconf to match APR and httpd-2.0.

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

23 years ago This patch fixes more untold breakage than you can shake a stick at.
William A. Rowe Jr [Wed, 1 Aug 2001 19:15:22 +0000 (19:15 +0000)]
  This patch fixes more untold breakage than you can shake a stick at.

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

23 years agofix some warnings in resolve_symlink(), one of which seems to be for
Jeff Trawick [Wed, 1 Aug 2001 11:59:55 +0000 (11:59 +0000)]
fix some warnings in resolve_symlink(), one of which seems to be for
a genuine bug...

The old logic

  if (!(opts & OPT_SYM_OWNER | OPT_SYM_LINKS))

wouldn't seem to work properly.  I think it would act like

  if (!((opts & OPT_SYM_OWNER) | OPT_SYM_LINKS))

This clearly isn't intended since OPT_SYM_LINKS is a constant non-zero, such
that we never really fail invalid parameters.

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