]> granicus.if.org Git - apache/log
apache
23 years agoDon't attempt to call apr_xml_parser_done() twice -- just exit when we have
Greg Stein [Sat, 6 Oct 2001 17:02:59 +0000 (17:02 +0000)]
Don't attempt to call apr_xml_parser_done() twice -- just exit when we have
a problem terminating the parser. _geterror() cannot be called either.

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

23 years ago I don't know if these are correct, just my best alien guess.
William A. Rowe Jr [Sat, 6 Oct 2001 05:09:08 +0000 (05:09 +0000)]
  I don't know if these are correct, just my best alien guess.

  I also don't suspect we want to add test/ to the modules/ makefile,
  since test won't be distributed with the tarball.

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

23 years ago Some other modules here are argueably tests ... but these are nothing
William A. Rowe Jr [Sat, 6 Oct 2001 05:07:03 +0000 (05:07 +0000)]
  Some other modules here are argueably tests ... but these are nothing
  but tests.  No end user would ever be interested in 'experimenting'
  with them :)

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

23 years ago Legibility counts for something, so does eliminating bogus ssize_t
William A. Rowe Jr [Sat, 6 Oct 2001 04:41:37 +0000 (04:41 +0000)]
  Legibility counts for something, so does eliminating bogus ssize_t
  products from pointer subtraction ;)

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

23 years agoIt's a good time to update STATUS.
Justin Erenkrantz [Sat, 6 Oct 2001 00:48:03 +0000 (00:48 +0000)]
It's a good time to update STATUS.

Be back Monday night...off to a wedding on the east coast now...

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

23 years agoWe should only be doing one socket read under any circumstances
Justin Erenkrantz [Sat, 6 Oct 2001 00:47:06 +0000 (00:47 +0000)]
We should only be doing one socket read under any circumstances
(blocking or not).

apr_brigade_partition would do reading multiple times and that's
not really what we want (so I think).

This may speed up POST requests that were waiting for all of the
data to arrive before returning anything in blocking mode.

Reviewed by: Greg Stein, Ryan Bloom

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

23 years agoBring forward some 1.3 changes, mostly from
Joshua Slive [Fri, 5 Oct 2001 21:26:00 +0000 (21:26 +0000)]
Bring forward some 1.3 changes, mostly from
Allan Liska

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

23 years agoAllow the core input filter to handle AP_NONBLOCK_READ request for a
Justin Erenkrantz [Fri, 5 Oct 2001 08:54:19 +0000 (08:54 +0000)]
Allow the core input filter to handle AP_NONBLOCK_READ request for a
finite number of bytes (i.e. *readbytes > 0).

ap_brigade_partition does a blocking read.  So, what we should do is
apr_bucket_read on the socket for non-blocking.  If we get less than
what they asked for, that's okay and we should just return that amount.
If they were non-blocking, we should always be non-blocking.

Ryan, Greg, and others can figure out if ap_brigade_partition should
be tweaked to handle AP_NONBLOCK_READ natively.  I'm of a mixed mind,
but this addresses the short term need.

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

23 years agoI believe it is a kosher for a filter to return EOS, but return APR_SUCCESS
Justin Erenkrantz [Fri, 5 Oct 2001 08:51:43 +0000 (08:51 +0000)]
I believe it is a kosher for a filter to return EOS, but return APR_SUCCESS
via ap_get_brigade.  So, we should treat this as end-of-input.

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

23 years ago And thank you once again, Justin
William A. Rowe Jr [Fri, 5 Oct 2001 03:41:15 +0000 (03:41 +0000)]
  And thank you once again, Justin

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

23 years ago These now exist with their -std names, thanks for the suggest, Justin.
William A. Rowe Jr [Fri, 5 Oct 2001 03:40:27 +0000 (03:40 +0000)]
  These now exist with their -std names, thanks for the suggest, Justin.

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

23 years agoInclude paths must be relative to ServerRoot directive.
Justin Erenkrantz [Fri, 5 Oct 2001 03:32:42 +0000 (03:32 +0000)]
Include paths must be relative to ServerRoot directive.

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

23 years agoMake sure we run the new conf files through sed.
Justin Erenkrantz [Fri, 5 Oct 2001 03:27:56 +0000 (03:27 +0000)]
Make sure we run the new conf files through sed.
Now, the question is whether it might make more sense to have them
as ssl-std.conf, ldap-std.conf, and proxy-std.conf.

(I'm also not sure if this is even shell portable or not.)

I'll leave that up to OtherBill since he added these files.

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

23 years agoget rid of an unused variable
Jeff Trawick [Fri, 5 Oct 2001 02:27:48 +0000 (02:27 +0000)]
get rid of an unused variable

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

23 years ago Split the significant modules into segregated module configs.
William A. Rowe Jr [Thu, 4 Oct 2001 20:40:37 +0000 (20:40 +0000)]
  Split the significant modules into segregated module configs.

  Probably should do the same with negotation/autoindex, since those
  are _so_ huge, but not this afternoon on my schedule.

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

23 years ago Cleanup the config (somewhat) so that win32 -could- actually run from
William A. Rowe Jr [Thu, 4 Oct 2001 20:28:34 +0000 (20:28 +0000)]
  Cleanup the config (somewhat) so that win32 -could- actually run from
  the httpd-std.conf - but there are still some discrepancies to take
  back to the conference committee :)

  LDAP was voted some time ago into it's own httpd-ldap repository, and
  never built on Win32; No ldap config directives are present, so I've
  pulled it from both .conf files.

  It would be really nice if the proxy team would come in and clean out
  the deprecated/unsupported directives here.

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

23 years agoRemove the Port directive. In it's place, the Listen directive
Ryan Bloom [Thu, 4 Oct 2001 20:00:53 +0000 (20:00 +0000)]
Remove the Port directive.  In it's place, the Listen directive
is now a required directive, which tells Apache what port to
listen on.  The ServerName directive has also been extended
to accept an optional port.  If the port is specified to the
ServerName, the server will report that port whenever it
reports the port that it is listening on.  This change was
made to ease configuration errors that stem from having a Port
directive, and a Listen directive.  In that situation, the server
would only listen to the port specified by the Listen command,
which caused a lot of confusion to users.

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

23 years ago Just passing through
William A. Rowe Jr [Thu, 4 Oct 2001 19:42:43 +0000 (19:42 +0000)]
  Just passing through

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

23 years ago Add some mime magic to the Win32 build
William A. Rowe Jr [Thu, 4 Oct 2001 19:38:16 +0000 (19:38 +0000)]
  Add some mime magic to the Win32 build

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

23 years agoMake sure we install all of the support scripts.
Ryan Bloom [Thu, 4 Oct 2001 19:09:58 +0000 (19:09 +0000)]
Make sure we install all of the support scripts.

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

23 years agoAh, I didn't see that churn is only used on input - rename the function
Justin Erenkrantz [Thu, 4 Oct 2001 17:50:39 +0000 (17:50 +0000)]
Ah, I didn't see that churn is only used on input - rename the function
to match churn_output.  =)

Yes, I'm slowly working on fixing mod_ssl...

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

23 years agoWe need to use @@Port@@ not hard-code the Port number.
Ryan Bloom [Wed, 3 Oct 2001 18:56:38 +0000 (18:56 +0000)]
We need to use @@Port@@ not hard-code the Port number.

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

23 years agoFix --enable-mods-shared processing. If most is specified,
Ryan Bloom [Wed, 3 Oct 2001 17:47:51 +0000 (17:47 +0000)]
Fix --enable-mods-shared processing.  If most is specified,
then all modules that can be compiled as shared modules are.  This
was done by adding a module config specifier, static, which denotes
that a module can not be compiled as a DSO.

Submitted by:   Aaron Bannert <aaron@clove.org>

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

23 years agoAdd a Listen directive to the default config file. This allows us to
Ryan Bloom [Wed, 3 Oct 2001 17:44:34 +0000 (17:44 +0000)]
Add a Listen directive to the default config file.  This allows us to
later add another listen directive, in the default SSL config file,
without stopping the server from listening on port 80.  The next step
is to combine the Port and ServerName directives, so that Port can go
away finally.

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

23 years agoRemove an old comment. This config.m4 is numbered 9, which is the
Ryan Bloom [Wed, 3 Oct 2001 17:31:13 +0000 (17:31 +0000)]
Remove an old comment.  This config.m4 is numbered 9, which is the
highest possible number, so it is garaunteed to be in the last batch.  Any
module config.m4 should just use a number < 9 to ensure that this continues
to work.

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

23 years ago One more note on the last commit - the 'cannot serve an absolute path'
William A. Rowe Jr [Wed, 3 Oct 2001 14:55:24 +0000 (14:55 +0000)]
  One more note on the last commit - the 'cannot serve an absolute path'
  bug was identified by, and debugged with hints and examples provided by
  Ryan Morgan <rmorgan@covalent.net> --- his example module demonstrating
  the problem was invaluable :)

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

23 years ago Correct file lookups when we are given a file within the same directory
William A. Rowe Jr [Wed, 3 Oct 2001 13:24:28 +0000 (13:24 +0000)]
  Correct file lookups when we are given a file within the same directory
  as the parent request.  Also pulls a bunch of notes and code that was
  set aside, we don't need this with the other optimizations introduced.

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

23 years agorename variable "except" to avoid colliding with a macro of the
Jeff Trawick [Wed, 3 Oct 2001 13:10:16 +0000 (13:10 +0000)]
rename variable "except" to avoid colliding with a macro of the
same name on Tru64

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

23 years ago Fix a mismatching issue, where index.html.foo.en had recognized .html and
William A. Rowe Jr [Wed, 3 Oct 2001 01:18:22 +0000 (01:18 +0000)]
  Fix a mismatching issue, where index.html.foo.en had recognized .html and
  .en components, and exceptions index and foo.  This patch will ignore the
  'missing' exception html from the request, and go on to test the exception
  foo in the list.

  This does -not- imply that a request for index.foo will succeed, in the
  example above.  The pattern match tests index.foo[.*] so we wouldn't find
  index.html.foo.anything.  The pattern matching proposed at one time by
  Francis Daly would allow index.foo to succeed as well [although many to
  many matching is dangerous, see comments in this patch.]

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

23 years agoUpdate mime.types file.
Lars Eilebrecht [Tue, 2 Oct 2001 21:54:28 +0000 (21:54 +0000)]
Update mime.types file.

Map video/vnd.mpegurl to mxu according to
ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/video/vnd.mpegurl
and audio/x-mpegurl to m3u, because it is commonly used.

Submitted by: Heiko Recktenwald <uzs106@uni-bonn.de>
Reviewed by: Sander van Zoest, Lars Eilebrecht

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

23 years agoSuexec is compiled to the builddir, not the source dir.
Ryan Bloom [Tue, 2 Oct 2001 21:53:33 +0000 (21:53 +0000)]
Suexec is compiled to the builddir, not the source dir.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoI am agreeable to mod_gz going in experimental. It should be good and
Bill Stoddard [Tue, 2 Oct 2001 21:21:55 +0000 (21:21 +0000)]
I am agreeable to mod_gz going in experimental. It should be good and
out of the way there but still available to those interested in working
on it.

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

23 years ago Goodbye r->content_lanaguage (per vote from apache-1.3/STATUS).
William A. Rowe Jr [Tue, 2 Oct 2001 21:13:42 +0000 (21:13 +0000)]
  Goodbye r->content_lanaguage (per vote from apache-1.3/STATUS).

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

23 years agoAdd info about Opera supporting MD5 Authentication.
Lars Eilebrecht [Tue, 2 Oct 2001 20:21:21 +0000 (20:21 +0000)]
Add info about Opera supporting MD5 Authentication.

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

23 years ago Clean up a couple of type warnings.
William A. Rowe Jr [Tue, 2 Oct 2001 20:00:54 +0000 (20:00 +0000)]
  Clean up a couple of type warnings.

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

23 years agoUpdate entry.
Lars Eilebrecht [Tue, 2 Oct 2001 19:52:24 +0000 (19:52 +0000)]
Update entry.

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

23 years agoAdded Doxygen Comments
Ian Holsman [Tue, 2 Oct 2001 04:09:53 +0000 (04:09 +0000)]
Added Doxygen Comments
With these 2 changes most of the Doxygen warnings go away.
(these patch just modifies comments/slight moves in typedefs, no other changes)

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

23 years agoSync the html version with the nroff version.
Joshua Slive [Tue, 2 Oct 2001 01:33:02 +0000 (01:33 +0000)]
Sync the html version with the nroff version.

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

23 years agoOops, missed a part.
Cliff Woolley [Tue, 2 Oct 2001 00:48:14 +0000 (00:48 +0000)]
Oops, missed a part.

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

23 years agoBring httpd man page up-to-date with flags that currently exist and the
Cliff Woolley [Tue, 2 Oct 2001 00:43:18 +0000 (00:43 +0000)]
Bring httpd man page up-to-date with flags that currently exist and the
current default install path.

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

23 years agoap_sub_req_output_filter: don't pass along a brigade if it becomes empty
Greg Ames [Mon, 1 Oct 2001 21:01:14 +0000 (21:01 +0000)]
ap_sub_req_output_filter:  don't pass along a brigade if it becomes empty
after deleting the EOS bucket.

This prevents a seg fault in mod_include when the connection dies.  There
doesn't seem to be much point in passing empty brigades in general.

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

23 years agoclean up the fdqueue a bit more, by implementing Greg's
Ryan Bloom [Mon, 1 Oct 2001 19:37:20 +0000 (19:37 +0000)]
clean up the fdqueue a bit more, by implementing Greg's
suggestions to getting rid of redundant variables, as well as
converting the simple ap_queue_full/ap_queue_empty tests into macros.
This also reinstates the "not_full" condition, which turned out to
be useful afterall in cases where we wanted to prevent the listener
thread from accepting further connections until the worker queue has
room for more.

Submitted by: [Aaron Bannert <aaron@clove.org>]

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

23 years agoSwitch from tmpnam() to apr_file_mktemp() so that gcc with a recent glibc
Cliff Woolley [Mon, 1 Oct 2001 19:19:45 +0000 (19:19 +0000)]
Switch from tmpnam() to apr_file_mktemp() so that gcc with a recent glibc
will shut the hell up about tmpnam() being unsafe.  htpasswd.c needs a
similar treatment, but it won't be _quite_ as easy since htpasswd has not
been completely apr-ized yet.

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

23 years ago Two more loadable modules on Win32, thank you Gunther!
William A. Rowe Jr [Mon, 1 Oct 2001 17:01:30 +0000 (17:01 +0000)]
  Two more loadable modules on Win32, thank you Gunther!

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

23 years ago BIO_write returns an int. Whacha gonna do? Kill the last non-ab warning.
William A. Rowe Jr [Mon, 1 Oct 2001 16:07:17 +0000 (16:07 +0000)]
  BIO_write returns an int.  Whacha gonna do?  Kill the last non-ab warning.

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

23 years ago /GZ RTL debug flag is not recognized across VC 5/6/7.
William A. Rowe Jr [Mon, 1 Oct 2001 15:57:38 +0000 (15:57 +0000)]
  /GZ RTL debug flag is not recognized across VC 5/6/7.

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

23 years ago Clean up some warnings by summing bytecounts into apr_off_t holders
William A. Rowe Jr [Mon, 1 Oct 2001 15:51:07 +0000 (15:51 +0000)]
  Clean up some warnings by summing bytecounts into apr_off_t holders
  instead of ulongs.

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

23 years ago Nothing wrong with an int here, so make it explicit and kill the warning.
William A. Rowe Jr [Mon, 1 Oct 2001 15:49:02 +0000 (15:49 +0000)]
  Nothing wrong with an int here, so make it explicit and kill the warning.

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

23 years ago Remain consistent to the connection_rec, and use apr_off_t for remaining.
William A. Rowe Jr [Mon, 1 Oct 2001 15:48:15 +0000 (15:48 +0000)]
  Remain consistent to the connection_rec, and use apr_off_t for remaining.

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

23 years ago Kill off some expensive, unnecessary effort when we use max-age for
William A. Rowe Jr [Mon, 1 Oct 2001 15:47:12 +0000 (15:47 +0000)]
  Kill off some expensive, unnecessary effort when we use max-age for
  the usertrack cookie (and kill a warning in the process.)

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

23 years ago Should be no change to the execution - simply clean up two compiler
William A. Rowe Jr [Mon, 1 Oct 2001 15:45:11 +0000 (15:45 +0000)]
  Should be no change to the execution - simply clean up two compiler
  warnings, signed/unsigned mismatch in != and mismatched type for port.

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

23 years ago Wording changes
William A. Rowe Jr [Mon, 1 Oct 2001 13:27:06 +0000 (13:27 +0000)]
  Wording changes

Obtained from: news:hr.comp.www
Submitted by: Mr. "Vlatko Juric-Kokic" <vlatko.juric-kokic@zg.hinet.hr>
Reviewed by: Mladen Turk <mturk@mappingsoft.com>

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

23 years ago The patch that emerged uppon discussion on news:hr.comp.www
William A. Rowe Jr [Mon, 1 Oct 2001 03:22:21 +0000 (03:22 +0000)]
  The patch that emerged uppon discussion on news:hr.comp.www
  Please review - did not apply as cleanly as I would have liked.

Submitted by: Mladen Turk <mturk@mappingsoft.com>

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

23 years agoKill two autoconf-related birds with one commit.
Justin Erenkrantz [Sun, 30 Sep 2001 07:57:15 +0000 (07:57 +0000)]
Kill two autoconf-related birds with one commit.

- substr used in APACHE_MODULE for the help string did not parse correctly
  with autoconf 2.50+ so we had to punt there anyway and use AC_HELP_STRING.
- Add APACHE_HELP_STRING define that will call AC_HELP_STRING on 2.50+
  (actually not 2.13 - look at the regex call) or do our custom variation
  of it.  This function can't have any extra spaces or it will be returned
  in the help string.  So noted.  If anyone can figure out how to insert
  a line break like 2.50+ does when we go over the 26th column, I'd
  appreciate it.  I tried and I'm way too tired to figure it out now.
  Adding this would greatly simplify two or three HELP_STRING uses.
- Switch all of those annoying WITH and ENABLE functions to use the
  APACHE_HELP_STRING.  This makes everything consistent now.  I've always
  had to go through and keep aligning everything every few months or so
  because I'm the only one who cares.  No more.  I refuse to do it any more!
  Use APACHE_HELP_STRING or be crucified.

Looks decent with autoconf-2.13 and autoconf-2.52.

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

23 years agoRemove unnecessary initialization and add a comment about chunk_hdr's
Justin Erenkrantz [Sun, 30 Sep 2001 04:17:16 +0000 (04:17 +0000)]
Remove unnecessary initialization and add a comment about chunk_hdr's
scope.

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

23 years agoSwitch to the corresponding apr_table_* macro rather than doing this
Justin Erenkrantz [Sun, 30 Sep 2001 01:37:20 +0000 (01:37 +0000)]
Switch to the corresponding apr_table_* macro rather than doing this
ourselves.

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

23 years agoCleanup some needless initialization of the date variable and consolidate
Justin Erenkrantz [Sun, 30 Sep 2001 01:17:13 +0000 (01:17 +0000)]
Cleanup some needless initialization of the date variable and consolidate
the scope to only where necessary.

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

23 years agoMake doc changes to reflect change to ProxyErrorOverride
Graham Leggett [Sat, 29 Sep 2001 20:21:14 +0000 (20:21 +0000)]
Make doc changes to reflect change to ProxyErrorOverride
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoianh: add the ProxyHTTPOverrideReturnedErrors directive documentation
Graham Leggett [Sat, 29 Sep 2001 20:16:16 +0000 (20:16 +0000)]
ianh: add the ProxyHTTPOverrideReturnedErrors directive documentation
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoianh: updated docs
Graham Leggett [Sat, 29 Sep 2001 20:12:24 +0000 (20:12 +0000)]
ianh: updated docs
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoOops - forgot the doc updates
Graham Leggett [Sat, 29 Sep 2001 20:08:13 +0000 (20:08 +0000)]
Oops - forgot the doc updates
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoUpdated mod_proxy.html docs to include v2.0 configuration.
Graham Leggett [Sat, 29 Sep 2001 19:58:38 +0000 (19:58 +0000)]
Updated mod_proxy.html docs to include v2.0 configuration.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agochuck: add back missing tag from NoCache section
Graham Leggett [Sat, 29 Sep 2001 19:57:24 +0000 (19:57 +0000)]
chuck: add back missing tag from NoCache section
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agochuck: Docco update
Graham Leggett [Sat, 29 Sep 2001 19:55:24 +0000 (19:55 +0000)]
chuck: Docco update
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoFixing the mod_proxy docs. The docs were transferred away without a history,
Graham Leggett [Sat, 29 Sep 2001 19:51:55 +0000 (19:51 +0000)]
Fixing the mod_proxy docs. The docs were transferred away without a history,
so I'm applying each of the new patches one by one (there are only a few of
them) so that the new mod_proxy.html file is up to date.
This first patch returns the original doc to the tree. Subsequent patches
will apply the changes to the file up to date.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoSomething Happened
Justin Erenkrantz [Sat, 29 Sep 2001 08:53:30 +0000 (08:53 +0000)]
Something Happened

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

23 years agoRemove the lameo create_req hack and delay the addition of the HTTP_IN
Justin Erenkrantz [Sat, 29 Sep 2001 08:48:59 +0000 (08:48 +0000)]
Remove the lameo create_req hack and delay the addition of the HTTP_IN
filter until after we have read the headers.  This eliminates the status
hack that was in http_protocol.c and makes it all around better.

server/protocol.c now directly adds HTTP_IN filter - should we create a
specific hook for this?  (Could we do this as a post_read_request hook?)
I'm not terribly sure, but let's move it down to the lowest possible
place in ap_read_request.  We can change this detail later as we see fit.

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

23 years agoImplement suggested input filter improvements from Greg and Ryan.
Justin Erenkrantz [Sat, 29 Sep 2001 08:33:02 +0000 (08:33 +0000)]
Implement suggested input filter improvements from Greg and Ryan.

- Clean up scopes and namings of certain variables
- Add comments about potentially bogus modes
- Consolidate a FOREACH loop into a single brigade_length call

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

23 years agoRemove bogus comment.
Justin Erenkrantz [Sat, 29 Sep 2001 08:29:18 +0000 (08:29 +0000)]
Remove bogus comment.

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

23 years agoInput filtering rewrite. Consolidate how we handle HTTP input parsing by
Justin Erenkrantz [Sat, 29 Sep 2001 08:17:11 +0000 (08:17 +0000)]
Input filtering rewrite.  Consolidate how we handle HTTP input parsing by
rearranging and rethinking some things.  The net result is that the HTTP
filter is now a request filter and is now only responsible for HTTP things.
The core input filter is now responsible for handling all of the dirty work.

Highlights:
- Removes the dechunk filter and merges it with ap_http_filter (aka HTTP_IN).
  The dechunk filter was incorrectly handling certain cases (trailers).
- Moves ap_http_filter from a connection filter to a request filter
  to support the consolidation above (it needs header info).
- Change support code to allow the http_filter to be a
  request filter (how the request is setup initially).
- Move most of the logic from HTTP_IN to CORE_IN (core_input_filter).
  HTTP_IN is now only concerned about HTTP things.  The core filter
  is now responsible for returning data.  It is impossible to
  consolidate dechunk and http without this because HTTP_IN previously
  buffered data.  As Greg has suggested, it may make sense to write
  some brigade functions that handle input (getline).  It should be
  fairly trivial to add these.  Some of the calls in ap_http_filter
  could be switched as well.

This is the original patch as submitted to dev@httpd on Monday, Sep.
24th.  Additional comments and some minor tweaks done after that
submission are coming up next.  This should allow people who reviewed
the original patch to see what has changed and review them piecemeal.

This test passes all current tests in httpd-test.  Please perform
chicken sacrifices to verify that this hasn't blown up your favorite
input.

Reviewed by: Greg Stein, Ryan Bloom, and Cliff Woolley (buckets)

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

23 years agoFix for httpd-test modules/include test #17.
Justin Erenkrantz [Sat, 29 Sep 2001 06:54:08 +0000 (06:54 +0000)]
Fix for httpd-test modules/include test #17.

If we are *already* a faux URI (i.e. relative file sub req) and we then
make a subrequest from that faux URI to a file in the same directory,
we'd try to build a URI out of the fake URI which leads to the wrong
thing happening somewhere down the line.  So, let's just give this
special case a fake URI as well.

OtherBill needs to verify this.  He can back it out if he wants.  I
don't much care.  It's one line and it seems okay...

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

23 years ago Optimize file_walk with the same logic as location_walk. Fix both to
William A. Rowe Jr [Fri, 28 Sep 2001 19:50:22 +0000 (19:50 +0000)]
  Optimize file_walk with the same logic as location_walk.  Fix both to
  have a bit more legibility, and tighter locality of scope for a smaller
  number of variables.

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

23 years ago Split out (soon to be) common code for all _walk functions
William A. Rowe Jr [Fri, 28 Sep 2001 18:56:21 +0000 (18:56 +0000)]
  Split out (soon to be) common code for all _walk functions
  (no net change to location_walk).

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

23 years ago Nice to remove more than I add, some days.
William A. Rowe Jr [Fri, 28 Sep 2001 17:53:02 +0000 (17:53 +0000)]
  Nice to remove more than I add, some days.

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

23 years ago We don't mind the .mak files hanging around, don't tell us about it.
William A. Rowe Jr [Fri, 28 Sep 2001 17:50:22 +0000 (17:50 +0000)]
  We don't mind the .mak files hanging around, don't tell us about it.

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

23 years ago /home/cvs/httpd-2.0/ no longer tracks makefiles. But at least incorporate
William A. Rowe Jr [Fri, 28 Sep 2001 17:49:00 +0000 (17:49 +0000)]
  /home/cvs/httpd-2.0/ no longer tracks makefiles.  But at least incorporate
  all the new proxy modules into BaseAddr.ref for win32.

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

23 years ago This broken bit causes a segfault after locking pconf as read-only.
William A. Rowe Jr [Fri, 28 Sep 2001 17:15:12 +0000 (17:15 +0000)]
  This broken bit causes a segfault after locking pconf as read-only.

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

23 years ago MAJOR charset encoding fixes. The file names and HTTP-Equiv tags are now
William A. Rowe Jr [Fri, 28 Sep 2001 16:55:49 +0000 (16:55 +0000)]
  MAJOR charset encoding fixes.  The file names and HTTP-Equiv tags are now
  in sync with the httpd-std.conf - and the ucs2/4 encodings are gone since
  utf8 is a universally recognized shorthand that sits much better in our
  tree [notice; these were _duplicate_ character sets, only in different
  byte encodings!]  Same with removing the duplicate .jis and .is-kr files.
  [I simply choose the one 'with link' over the one without, and fixed the
  links back to preFAQ as I picked.]

  Russian users, how many of the remaining five encodings are truly needed?

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

23 years ago Reintegrate proxy into the core build
William A. Rowe Jr [Fri, 28 Sep 2001 16:02:50 +0000 (16:02 +0000)]
  Reintegrate proxy into the core build

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

23 years ago Debug conf pool constness. This is a noop most of the time on most
William A. Rowe Jr [Fri, 28 Sep 2001 15:24:34 +0000 (15:24 +0000)]
  Debug conf pool constness.  This is a noop most of the time on most
  platforms, but it's only called twice per restart, so this is mostly
  harmless.

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

23 years agoRemove SMS from the error bucket. SMS is going away now, it isn't really
Ryan Bloom [Fri, 28 Sep 2001 13:48:43 +0000 (13:48 +0000)]
Remove SMS from the error bucket.  SMS is going away now, it isn't really
used anyplace anymore.
Submitted by: "Sander Striker" <striker@apache.org>

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

23 years agoNo fear of commit-ment.
Graham Leggett [Fri, 28 Sep 2001 10:41:30 +0000 (10:41 +0000)]
No fear of commit-ment.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoFix the "merge" behaviour of the ProxyErrorOverride directive.
Graham Leggett [Fri, 28 Sep 2001 10:33:39 +0000 (10:33 +0000)]
Fix the "merge" behaviour of the ProxyErrorOverride directive.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoSome style cleanups related to the ProxyErrorOverride function.
Graham Leggett [Fri, 28 Sep 2001 10:23:32 +0000 (10:23 +0000)]
Some style cleanups related to the ProxyErrorOverride function.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years ago Overhaul the compatibility with 1.3's subrequest and redirect processing.
William A. Rowe Jr [Fri, 28 Sep 2001 04:46:37 +0000 (04:46 +0000)]
  Overhaul the compatibility with 1.3's subrequest and redirect processing.

  Eliminate URI-centric phases in ap_process_request_internal() for pure
  file subrequests (that don't correspond to URI space.)  translate_name
  hook and location_walks are skipped for these requests.

  Moves the reset of the per_dir_config out of directory_walk into the
  internal request processing code, so that resources with alternate
  map_to_storage requirements start with clean r->server->lookup_defaults.

  Optimizes out the authn/authz of effectively identical subreqests and
  redirects, as the sub_req_lookup calls once did.  Unlike 1.3, we copy
  r->user and r->ap_auth_type from main/prev for the request's reference.

  Stop copying the subrequest's r->chunked flag (Rbb assured me it looked
  bogus, chunking is on the parent request) and clean out other #if 0'ed
  cruft we don't need to refer back to anymore.

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

23 years ago Remove the translate_name hack that caused Greg Ames some grief with
William A. Rowe Jr [Fri, 28 Sep 2001 04:35:59 +0000 (04:35 +0000)]
  Remove the translate_name hack that caused Greg Ames some grief with
  mod_rewrite.

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

23 years agoAllow support programs to be compiled against a static version
Ryan Bloom [Fri, 28 Sep 2001 04:19:39 +0000 (04:19 +0000)]
Allow support programs to be compiled against a static version
of libapr.  This allows the smaller support programs to be
relocated.

Submitted by: Aaron Bannert <aaron@clove.org>

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

23 years agoChange ProxyHTTPOverrideReturnedErrors command to ProxyErrorOverride
Victor J. Orlikowski [Thu, 27 Sep 2001 16:44:43 +0000 (16:44 +0000)]
Change ProxyHTTPOverrideReturnedErrors command to ProxyErrorOverride
Docs update to follow.
Submitted by: Ian Holsman <ianh@cnet.com>

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

23 years agoUpdate status of XHTML conversion.
Rich Bowen [Thu, 27 Sep 2001 11:20:29 +0000 (11:20 +0000)]
Update status of XHTML conversion.

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

23 years agoImmortal data should go in an immortal bucket, not a pool bucket. It would
Cliff Woolley [Thu, 27 Sep 2001 04:01:10 +0000 (04:01 +0000)]
Immortal data should go in an immortal bucket, not a pool bucket.  It would
still work in a pool bucket, but only by coincidence.  At the very least, a
pool bucket is way more overhead than this poor unsuspecting little CRLF
needs to get by.

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

23 years agochange command name so that it starts with 'Proxy'
Ian Holsman [Wed, 26 Sep 2001 19:58:10 +0000 (19:58 +0000)]
change command name so that it starts with 'Proxy'
fix the command so that it returns 'OK' instead of 'HTTP_OK'

PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoUpdate the mime.types file to the registered media types as
Mark J. Cox [Wed, 26 Sep 2001 08:25:14 +0000 (08:25 +0000)]
Update the mime.types file to the registered media types as
of 2001-09-25, and add mapping for xsl extension
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agohttpd.exp is a generated file, and therefore, it is generated into the
Ryan Bloom [Tue, 25 Sep 2001 15:58:52 +0000 (15:58 +0000)]
httpd.exp is a generated file, and therefore, it is generated into the
build directory, not the source directory.  When we go to use it, we
have to look in the build dir for it.

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

23 years agofix a gcc warning -- "/* within a comment"
Jeff Trawick [Tue, 25 Sep 2001 09:46:37 +0000 (09:46 +0000)]
fix a gcc warning -- "/* within a comment"

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

23 years agoClean the worker MPM a bit. This removes the idea of compiling worker
Ryan Bloom [Mon, 24 Sep 2001 23:03:42 +0000 (23:03 +0000)]
Clean the worker MPM a bit.  This removes the idea of compiling worker
with no threads.  That doesn't make any sense anyway.  Also, raise
HARD_SERVER_LIMIT to 16, from 8.

Submitted by: "Ian Holsman" <ianh@cnet.com>

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

23 years ago Another recent Win32 PSDK addition that we can cover for VC5 users.
William A. Rowe Jr [Mon, 24 Sep 2001 22:50:50 +0000 (22:50 +0000)]
  Another recent Win32 PSDK addition that we can cover for VC5 users.

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

23 years ago Solve a symbol from later PlatformSDK's that a VC5 user may or may not
William A. Rowe Jr [Mon, 24 Sep 2001 22:02:14 +0000 (22:02 +0000)]
  Solve a symbol from later PlatformSDK's that a VC5 user may or may not
  have installed.

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

23 years ago PATHEXT is a critial Win32 cmd.exe variable that declares _which_ extensions
William A. Rowe Jr [Mon, 24 Sep 2001 21:09:06 +0000 (21:09 +0000)]
  PATHEXT is a critial Win32 cmd.exe variable that declares _which_ extensions
  are given command-name status (such as .exe;.bat;.com;.cmd etc.)

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

23 years ago Joy, joy. Relax the rules, just a wee bit, and prepare to move the fatal
William A. Rowe Jr [Mon, 24 Sep 2001 21:07:06 +0000 (21:07 +0000)]
  Joy, joy.  Relax the rules, just a wee bit, and prepare to move the fatal
  ending to this filename-less request a bit later in the request cycle, to
  give older, ported modules more time to cope without implementing
  the map_to_storage hook.

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

23 years agoModify the standard config file to match to new semantics of MaxClients
Ryan Bloom [Mon, 24 Sep 2001 06:44:39 +0000 (06:44 +0000)]
Modify the standard config file to match to new semantics of MaxClients
for the Worker MPM
Submitted by:  Aaron Bannert <aaron@clove.org>

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