]> granicus.if.org Git - apache/log
apache
24 years agoFix a buglet in the APR-ization of ap_lingering_close() -- use APR_SO_TIMEOUT
Jeff Trawick [Wed, 1 Nov 2000 15:42:50 +0000 (15:42 +0000)]
Fix a buglet in the APR-ization of ap_lingering_close() -- use APR_SO_TIMEOUT
instead of BO_TIMEOUT.  (We were actually setting a different socket option.)

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

24 years agoPrevent a compile warning on FreeBSD by making pointers const (only needed
Jeff Trawick [Wed, 1 Nov 2000 13:03:01 +0000 (13:03 +0000)]
Prevent a compile warning on FreeBSD by making pointers const (only needed
for data, but not harmful for functions)

old warning: "exports.c:59: warning: initialization discards `const' from pointer target type"

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

24 years agoForgot one variable when I re-created the patch.
Ryan Bloom [Wed, 1 Nov 2000 06:05:00 +0000 (06:05 +0000)]
Forgot one variable when I re-created the patch.

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

24 years agoFix canned-errors and OPTIONS requests, so that we don't allocate 8k
Ryan Bloom [Wed, 1 Nov 2000 06:02:22 +0000 (06:02 +0000)]
Fix canned-errors and OPTIONS requests, so that we don't allocate 8k
for the headers.  We count the number of bytes we expect to get and only
allocation that many bytes.

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

24 years agoStop always allocating 8k for each request. We now count the number
Ryan Bloom [Wed, 1 Nov 2000 05:15:25 +0000 (05:15 +0000)]
Stop always allocating 8k for each request.  We now count the number
of bytes required for the headers for each request, and we just allocate
that number of bytes plus 100 extra.  The extra 100 are a fudge factor,
because it is a bit difficult to compute the exact length for the
basic HTTP headers like date and the status line.

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

24 years agoClean up the http filter a lot. Instead of sending a bucket per header,
Ryan Bloom [Wed, 1 Nov 2000 00:52:06 +0000 (00:52 +0000)]
Clean up the http filter a lot.  Instead of sending a bucket per header,
we now create a single bucket that has all of the headers and send that.
One known issue is that this limits the headers to 8k, but it is a minor
patch to fix that.

This also stops us from exporting ap_send_header_field.  This function no
longer makes sense to export.

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

24 years agoRemove a BUFF function that isn't used anyplace.
Ryan Bloom [Wed, 1 Nov 2000 00:08:33 +0000 (00:08 +0000)]
Remove a BUFF function that isn't used anyplace.

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

24 years agoa couple of fixes for byte ranges:
Jeff Trawick [Tue, 31 Oct 2000 19:59:09 +0000 (19:59 +0000)]
a couple of fixes for byte ranges:
. use %qx format instead of %llx for 64-bit integer (apr_time_t);
  %llx prints as "%llx"
. pass offset and length to ap_bucket_create_mmap() so that byte
  ranges work with mmaps (at least for a single range)

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

24 years agoexports.c is generated.
Jeff Trawick [Tue, 31 Oct 2000 12:34:10 +0000 (12:34 +0000)]
exports.c is generated.

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

24 years agoCompute the content length (and add appropriate header field) for
Jeff Trawick [Tue, 31 Oct 2000 12:30:22 +0000 (12:30 +0000)]
Compute the content length (and add appropriate header field) for
the response when no content length is available and we can't use
chunked encoding.

This is going to be painful when the response body is huge, so I
suspect we'll have additional criteria in the future.

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

24 years agoCleanup some warnings in mod_auth_digest.c
Ryan Bloom [Tue, 31 Oct 2000 01:02:33 +0000 (01:02 +0000)]
Cleanup some warnings in mod_auth_digest.c

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

24 years agoMod_auth_db.c compiles cleanly now.
Ryan Bloom [Tue, 31 Oct 2000 00:53:34 +0000 (00:53 +0000)]
Mod_auth_db.c compiles cleanly now.

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

24 years agoMake mod_cgi and mod_include work when compiled as DSO's again. This is
Ryan Bloom [Tue, 31 Oct 2000 00:47:24 +0000 (00:47 +0000)]
Make mod_cgi and mod_include work when compiled as DSO's again.  This is
accomplished by moving suexec out of it's own file and into unixd.[ch].
The problem was that suexec.c wasn't being linked into the server unless
a module was actually using ap_os_create_process.  This is still not clean,
but it works now.

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

24 years agoThis is an ugly little hack to allow DSO modules to work. This basically
Ryan Bloom [Mon, 30 Oct 2000 23:08:27 +0000 (23:08 +0000)]
This is an ugly little hack to allow DSO modules to work.  This basically
forces Apache to link in all of the APR functions whether they are used
by any static modules or not.

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

24 years agoMake mod_auth_dbm compile cleanly.
Ryan Bloom [Mon, 30 Oct 2000 20:45:38 +0000 (20:45 +0000)]
Make mod_auth_dbm compile cleanly.

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

24 years agoMake mod_auth_db compile cleanly in 2.0
Ryan Bloom [Mon, 30 Oct 2000 20:13:04 +0000 (20:13 +0000)]
Make mod_auth_db compile cleanly in 2.0

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

24 years agoGet mod_auth_anon to compile cleanly in 2.0
Ryan Bloom [Mon, 30 Oct 2000 19:52:09 +0000 (19:52 +0000)]
Get mod_auth_anon to compile cleanly in 2.0

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

24 years agoFix a const problem.
Ryan Bloom [Mon, 30 Oct 2000 19:30:55 +0000 (19:30 +0000)]
Fix a const problem.

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

24 years agoRemove the suexec patch from mod_mime_magic
Ryan Bloom [Mon, 30 Oct 2000 17:09:19 +0000 (17:09 +0000)]
Remove the suexec patch from mod_mime_magic

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

24 years agoinitial commit of mod_ext_filter code and documentation
Jeff Trawick [Sat, 28 Oct 2000 15:17:41 +0000 (15:17 +0000)]
initial commit of mod_ext_filter code and documentation

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

24 years agonote some filter configuration issues
Jeff Trawick [Sat, 28 Oct 2000 14:57:36 +0000 (14:57 +0000)]
note some filter configuration issues

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

24 years agoDon't truncate the string if a RewriteMap lookup has a syntax error.
Tony Finch [Sat, 28 Oct 2000 03:06:22 +0000 (03:06 +0000)]
Don't truncate the string if a RewriteMap lookup has a syntax error.
Submitted by:   erik quanstrom <quanstro@clark.net>

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

24 years agoCreate modules.c in the build tree. This file depends on your configuration
Sascha Schumann [Fri, 27 Oct 2000 21:54:28 +0000 (21:54 +0000)]
Create modules.c in the build tree. This file depends on your configuration
and thus cannot be shared by multiple build trees.

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

24 years agoClean up a few incompatible pointer types (int * vs. unsigned int *).
Jeff Trawick [Thu, 26 Oct 2000 12:03:07 +0000 (12:03 +0000)]
Clean up a few incompatible pointer types (int * vs. unsigned int *).
Submitted by: Cliff Woolley <cliffwoolley@yahoo.com>
Reviewed by: Jeff Trawick

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

24 years agoOut goes the EBCDIC issue, in goes the error message issue.
Jeff Trawick [Thu, 26 Oct 2000 11:36:10 +0000 (11:36 +0000)]
Out goes the EBCDIC issue, in goes the error message issue.

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

24 years agoGet rid of some outdated character set translation cruft.
Jeff Trawick [Thu, 26 Oct 2000 11:34:04 +0000 (11:34 +0000)]
Get rid of some outdated character set translation cruft.

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

24 years agoEBCDIC support: convert protocol data in getline() and
Jeff Trawick [Thu, 26 Oct 2000 11:05:07 +0000 (11:05 +0000)]
EBCDIC support: convert protocol data in getline() and
ap_send_header_field(); change terminate_header() to build the
CRLF in ASCII to begin with.

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

24 years ago Introduce ap_xlate_proto_{to|from}_ascii() to clean up some of
Jeff Trawick [Thu, 26 Oct 2000 10:48:28 +0000 (10:48 +0000)]
 Introduce ap_xlate_proto_{to|from}_ascii() to clean up some of
the EBCDIC support.  They are noops on ASCII machines, so this
type of translation doesn't have to be surrounded by #ifdef
CHARSET_EBCDIC.

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

24 years agoGet rid of the xlate version of ap_md5_digest()
Jeff Trawick [Wed, 25 Oct 2000 18:54:20 +0000 (18:54 +0000)]
Get rid of the xlate version of ap_md5_digest()
since we don't compute digests of filtered (e.g., translated)
response bodies this way anymore.  (Note that we don't do it at
all at the present; somebody needs to write a filter to do so.)

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

24 years agoOn an EBCDIC machine, be willing to translate mod_autoindex-
Jeff Trawick [Wed, 25 Oct 2000 17:32:52 +0000 (17:32 +0000)]
On an EBCDIC machine, be willing to translate mod_autoindex-
generated output.  Otherwise, it doesn't look too cool.

XXX This isn't a perfect fix because this doesn't trigger us
to convert from the charset of the source code to ASCII.  The
general solution seems to be to allow a generator to set an
indicator in the r specifying that the body is coded in the
implementation character set (i.e., the charset of the source
code).  This would get several different types of documents
translated properly: mod_autoindex output, mod_status output,
mod_info output, hard-coded error documents, etc.

Problem reported by: Martin Kraemer

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

24 years agoDon't segfault if the filter doesn't have any request config prepared.
Jeff Trawick [Wed, 25 Oct 2000 16:49:14 +0000 (16:49 +0000)]
Don't segfault if the filter doesn't have any request config prepared.
This can happen when the config doesn't tell us to do anything but the
administrator coded us in Add{Input|Output}Filter.  Instead of segfaulting,
we turn into a noop.

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

24 years agoEBCDIC: Make chunk_filter() write chunk headers/trailers in ASCII.
Jeff Trawick [Wed, 25 Oct 2000 15:42:38 +0000 (15:42 +0000)]
EBCDIC: Make chunk_filter() write chunk headers/trailers in ASCII.

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

24 years agoFix a typo in a comment.
Jeff Trawick [Wed, 25 Oct 2000 15:03:52 +0000 (15:03 +0000)]
Fix a typo in a comment.
Submitted by: Chris Pepper <pepper@mail.reppep.com>
Reviewed by: Jeff Trawick

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

24 years agoensure that all cpp directives start with a # in column one
Tony Finch [Wed, 25 Oct 2000 15:03:03 +0000 (15:03 +0000)]
ensure that all cpp directives start with a # in column one
PR: 6742

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

24 years agonot raining
Jeff Trawick [Wed, 25 Oct 2000 11:15:01 +0000 (11:15 +0000)]
not raining

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

24 years agoGet rid of a // comment so we compile on OS/390 without the funky
Jeff Trawick [Wed, 25 Oct 2000 11:02:30 +0000 (11:02 +0000)]
Get rid of a // comment so we compile on OS/390 without the funky
compiler option.

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

24 years agoAdd a comment about a requirement with the eos_sent variable.
Ryan Bloom [Wed, 25 Oct 2000 10:47:51 +0000 (10:47 +0000)]
Add a comment about a requirement with the eos_sent variable.

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

24 years agoProvide a bit of doc for the hackish^H^H^H^H^H^H^Hwonderful filter
Jeff Trawick [Wed, 25 Oct 2000 10:39:04 +0000 (10:39 +0000)]
Provide a bit of doc for the hackish^H^H^H^H^H^H^Hwonderful filter
types I introduced yesterday.

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

24 years ago Ok here it is: Win32 utf-8 native unicode filename support.
William A. Rowe Jr [Wed, 25 Oct 2000 02:46:40 +0000 (02:46 +0000)]
  Ok here it is: Win32 utf-8 native unicode filename support.
  There are just too many folks to credit... so this goes out from
  the entire ApacheCon hacking team :-)

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

24 years agoIntroduce more filter types. This gets chunking of output working
Jeff Trawick [Wed, 25 Oct 2000 00:38:04 +0000 (00:38 +0000)]
Introduce more filter types.  This gets chunking of output working
again by ensuring that the chunk filter gets added after the http
headers filter.

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

24 years agoFix SSI syntax errors -- strings inside #if test expressions are either
Tony Finch [Tue, 24 Oct 2000 19:09:55 +0000 (19:09 +0000)]
Fix SSI syntax errors -- strings inside #if test expressions are either
bare or in single quotes, not double quotes.
PR: 6736

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

24 years agoFix mod_include to serve the FAQ correctly. The problem was a couple of
Ryan Bloom [Tue, 24 Oct 2000 18:40:00 +0000 (18:40 +0000)]
Fix mod_include to serve the FAQ correctly.  The problem was a couple of
bugs in get_tag.  This also allows mod_include to save buckets with partial
tags in them.
Submitted by: Ryan Bloom and David Reid

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

24 years agoFix the signature of no_set_limit() to avoid a warning when
Jeff Trawick [Tue, 24 Oct 2000 17:21:41 +0000 (17:21 +0000)]
Fix the signature of no_set_limit() to avoid a warning when
AP_DEBUG is defined. (no_set_limit() is compiled only if we
are missing one of the RLIMIT definitions.)

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

24 years agoAlways send the EOS on the correct request. Basically, we call
Ryan Bloom [Tue, 24 Oct 2000 16:57:53 +0000 (16:57 +0000)]
Always send the EOS on the correct request.  Basically, we call
ap_finalize_request_protocol on the main request, then we find the
last internally re-directed request, and send the EOS on that request.

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

24 years agoThe request body should be read with the normal send/receive timeout
Jeff Trawick [Tue, 24 Oct 2000 16:28:53 +0000 (16:28 +0000)]
The request body should be read with the normal send/receive timeout
instead of in non-blocking mode.

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

24 years agoother than minor tweaks:
Jeff Trawick [Tue, 24 Oct 2000 15:49:04 +0000 (15:49 +0000)]
other than minor tweaks:

. mod_charset_lite is now a bit naughty, looking in core_dir_config to see if
  its filter is coded in Add{Input|Output}Filter.  There are various weird
  scenarios that happen when one of the filters gets added both by
  mod_charset_lite and due to Add{Input|Output}Filter.  It is much nicer (to
  the code and to the user) to avoid the problem rather than to trying to
  keep things from blowing up when we are misconfigured in this manner.

  It may be generally useful to add API functions a module can call to see if
  its filter is configured on input/output.

  Note that CharsetOptions [No]ImplicitAdd is no longer interesting, but that
  code has not yet been removed.

. Fix input filtering so that we handle translating a brigade in multiple
  passes when our translation buffer fills up.

. xlate_brigade is cleaned up a bit and hopefully has less bugs

(far too many changes in one commit, but I couldn't access locus from 30,000 feet)

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

24 years ago Get everything working with suexec patches again.
William A. Rowe Jr [Tue, 24 Oct 2000 11:54:29 +0000 (11:54 +0000)]
  Get everything working with suexec patches again.

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

24 years agoDon't build mod_suexec by default. It breaks other platforms, and
Manoj Kasichainula [Tue, 24 Oct 2000 11:45:41 +0000 (11:45 +0000)]
Don't build mod_suexec by default. It breaks other platforms, and
since suexec isn't built by default anyway, it makes sense to treat
mod_suexec similarly.

Submitted by: Greg Stein

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

24 years agoBack out the suexec change to mod_rewrite.c. It now builds again.
Jeff Trawick [Tue, 24 Oct 2000 11:38:06 +0000 (11:38 +0000)]
Back out the suexec change to mod_rewrite.c.  It now builds again.
(No, it wasn't a simple issue to get the suexec patch working.)

The suexec support doesn't apply to the external mapping process,
which is not related to any particular request.  Instead, [IMHO]
the external mapping process should switch to the configured user/group
that the daemon processes switch to.

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

24 years agoFix typos and grammar.
Joshua Slive [Tue, 24 Oct 2000 01:11:59 +0000 (01:11 +0000)]
Fix typos and grammar.

Submitted by: Chris Pepper@mail.reppep.com

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

24 years agoOne more update for "config directory" patch,
Joshua Slive [Mon, 23 Oct 2000 22:41:58 +0000 (22:41 +0000)]
One more update for "config directory" patch,
plus update of keep-alive documentation.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoSmall fix.
Joshua Slive [Mon, 23 Oct 2000 22:03:34 +0000 (22:03 +0000)]
Small fix.

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

24 years agoStyle changes and small content changes to handler.html.
Joshua Slive [Mon, 23 Oct 2000 21:59:33 +0000 (21:59 +0000)]
Style changes and small content changes to handler.html.

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

24 years agoGet rid of some stuff and a few small tweaks.
David Reid [Mon, 23 Oct 2000 21:32:46 +0000 (21:32 +0000)]
Get rid of some stuff and a few small tweaks.

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

24 years agoFix a breakage due to Maoj's suexec patch of earlier today.
David Reid [Mon, 23 Oct 2000 19:30:30 +0000 (19:30 +0000)]
Fix a breakage due to Maoj's suexec patch of earlier today.

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

24 years ago Improve legability for new Win32 hackers (I hope)
William A. Rowe Jr [Mon, 23 Oct 2000 19:09:02 +0000 (19:09 +0000)]
  Improve legability for new Win32 hackers (I hope)

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

24 years ago Answer says... -X is redundant and inappropriate.
William A. Rowe Jr [Mon, 23 Oct 2000 19:04:23 +0000 (19:04 +0000)]
  Answer says... -X is redundant and inappropriate.

Submitted by: Bill Rowe
Reviewed by: Bill Stoddard

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

24 years ago Fix foobar
William A. Rowe Jr [Mon, 23 Oct 2000 19:02:41 +0000 (19:02 +0000)]
  Fix foobar

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

24 years agoI didn't know that mod_userdir was even used on Windows. Oops. #ifdef
Manoj Kasichainula [Mon, 23 Oct 2000 18:38:00 +0000 (18:38 +0000)]
I didn't know that mod_userdir was even used on Windows. Oops. #ifdef
out Unix-specific portions for now.

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

24 years agoRemove an attempt to fix a race condition. The attempt is not
Manoj Kasichainula [Mon, 23 Oct 2000 18:14:37 +0000 (18:14 +0000)]
Remove an attempt to fix a race condition. The attempt is not
successful, the race condition is not particularly important (people
deleting users in the middle of a request), and the attempt introduces
more thread-safeness problems. Oh, and I thought I had taken this out
already. :)

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

24 years ago A more thorough example is appropriate. Also simplify the behavior and
William A. Rowe Jr [Mon, 23 Oct 2000 16:58:21 +0000 (16:58 +0000)]
  A more thorough example is appropriate.  Also simplify the behavior and
  always return root (/) if n < 1, which is no worse than returning elems
  if n > elems.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agouse a cleaner form for building the TAR file
Greg Stein [Mon, 23 Oct 2000 15:48:00 +0000 (15:48 +0000)]
use a cleaner form for building the TAR file

Submitted by: Joe Orton
Reviewed by: Greg Stein

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

24 years agoAdd back suexec support.
Manoj Kasichainula [Mon, 23 Oct 2000 15:30:57 +0000 (15:30 +0000)]
Add back suexec support.

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

24 years agoLondon Sun.
Manoj Kasichainula [Mon, 23 Oct 2000 14:48:06 +0000 (14:48 +0000)]
London Sun.

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

24 years agoAdd a temporary pool argument to unixd_pre_config, so that it can call
Manoj Kasichainula [Mon, 23 Oct 2000 10:54:18 +0000 (10:54 +0000)]
Add a temporary pool argument to unixd_pre_config, so that it can call
APR functions (grumble). This is needed for apr_stat, which will be in
the suexec path coming up.

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

24 years agoMake lingering close access the socket directly, instead of relying on
Ryan Bloom [Mon, 23 Oct 2000 10:46:20 +0000 (10:46 +0000)]
Make lingering close access the socket directly, instead of relying on
BUFF.  This has been tested, but all we can determine is that it doesn't
fail, not that it works.  This needs to be tested much better.

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

24 years agoMake ap_rflush use the flush bucket properly, and remove the BUFF code
Ryan Bloom [Mon, 23 Oct 2000 10:44:34 +0000 (10:44 +0000)]
Make ap_rflush use the flush bucket properly, and remove the BUFF code
from that function.

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

24 years agoFix internal redirects. They should have their own HTTP_HEADER filter
Ryan Bloom [Mon, 23 Oct 2000 10:31:44 +0000 (10:31 +0000)]
Fix internal redirects.  They should have their own HTTP_HEADER filter
instance, and we need to remove the main-request's HTTP_HEADER.

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

24 years agoFix some brain dead code.
Bill Stoddard [Sun, 22 Oct 2000 15:53:27 +0000 (15:53 +0000)]
Fix some brain dead code.
Submitted by: Greg Stein
Reviewed by:  Bill Stoddard

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

24 years agoCorrect a check to see if we are attempting to remove a filter that has
Bill Stoddard [Sun, 22 Oct 2000 15:48:34 +0000 (15:48 +0000)]
Correct a check to see if we are attempting to remove a filter that has
already been removed from the stack. Hummm, seems to me we should not
attempt to remove filters multiple times....

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

24 years agoAdd logic to rebuild mm's configure
Sascha Schumann [Sun, 22 Oct 2000 15:37:05 +0000 (15:37 +0000)]
Add logic to rebuild mm's configure

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

24 years agoThe headers need to be at the end of the request_based filters.
Ryan Bloom [Sun, 22 Oct 2000 15:26:05 +0000 (15:26 +0000)]
The headers need to be at the end of the request_based filters.
Submitted by: Jon Travis <jtravis@covalent.net>

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

24 years agoFix problem where a 304 response was not generating an EOS bucket.
Bill Stoddard [Sun, 22 Oct 2000 15:20:08 +0000 (15:20 +0000)]
Fix problem where a 304 response was not generating an EOS bucket.
ap_finalize_request_protocol()'s sole purpose in Apache 2.0 is to
send the EOS bucket. Probably need to reimplement ap_send_error_response()
to be consistent with ap_finalize...'s new mission.

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

24 years agoGet HTTP/0.9 and subrequests working again. The http header filter
Jeff Trawick [Sun, 22 Oct 2000 13:33:58 +0000 (13:33 +0000)]
Get HTTP/0.9 and subrequests working again.  The http header filter
wasn't letting any assbackwards brigades get past it.

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

24 years agoGet rid of a couple of buff-isms -- setting the B_EOUT flag in a couple
Jeff Trawick [Sun, 22 Oct 2000 13:20:36 +0000 (13:20 +0000)]
Get rid of a couple of buff-isms -- setting the B_EOUT flag in a couple
of places and doing ap_bread() in ap_lingering_close.

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

24 years agonamespace-protect dechunk_filter and http_filter
Jeff Trawick [Sun, 22 Oct 2000 13:09:23 +0000 (13:09 +0000)]
namespace-protect dechunk_filter and http_filter

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

24 years agoFix the return type of ap_http_header_filter().
Jeff Trawick [Sun, 22 Oct 2000 12:53:59 +0000 (12:53 +0000)]
Fix the return type of ap_http_header_filter().

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

24 years agoFix Win32 compile break introduced by the http_header filter code.
Bill Stoddard [Sun, 22 Oct 2000 10:34:05 +0000 (10:34 +0000)]
Fix Win32 compile break introduced by the http_header filter code.

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

24 years agoAdd a way to remove output filters. This is used by http_header_filter to
Ryan Bloom [Sat, 21 Oct 2000 17:22:28 +0000 (17:22 +0000)]
Add a way to remove output filters.  This is used by http_header_filter to
remove itself once it has actually sent the headers.

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

24 years agoFix a broken hack. We should save the state in the ctx pointer, not a
Ryan Bloom [Sat, 21 Oct 2000 17:07:47 +0000 (17:07 +0000)]
Fix a broken hack.  We should save the state in the ctx pointer, not a
static integer
Submitted by: Jeff Trawick

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

24 years agoRemove original_uri. This is the same as r->unparsed_uri
Ryan Bloom [Sat, 21 Oct 2000 15:02:45 +0000 (15:02 +0000)]
Remove original_uri.  This is the same as r->unparsed_uri
Reviewed by: Roy Fielding and Tony Finch

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

24 years agoHack headers to work semi-properly. This is a hack that will need to be
Ryan Bloom [Sat, 21 Oct 2000 14:20:14 +0000 (14:20 +0000)]
Hack headers to work semi-properly.  This is a hack that will need to be
fixed, but it is good enough for now.  The idea is that headers shouldn't
flow through the BUFF anymore.  Now, we have a header filter that is
called at the end of the request-filter chain.  This filter writes the
headers directly to the connection filters.

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

24 years agoIt isn't raining at the moment.
Jeff Trawick [Sat, 21 Oct 2000 14:13:59 +0000 (14:13 +0000)]
It isn't raining at the moment.

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

24 years agoGet translation of request bodies working.
Jeff Trawick [Sat, 21 Oct 2000 14:07:41 +0000 (14:07 +0000)]
Get translation of request bodies working.

This code is pretty ugly, but I need to checkpoint (and this stuff
actually works).

The direction: Get xlate_brigade() working for output too, then
kill the analogous code in xlate_out_filter().  At that point, the
same translation code works for input and output.

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

24 years agoInput filters and ap_get_brigade() now have a input mode parameter
Jeff Trawick [Sat, 21 Oct 2000 13:20:36 +0000 (13:20 +0000)]
Input filters and ap_get_brigade() now have a input mode parameter
(blocking, non-blocking, peek) instead of a length parameter.

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

24 years agoRename buffer_filter to coalesce_filter.
Bill Stoddard [Sat, 21 Oct 2000 12:38:17 +0000 (12:38 +0000)]
Rename buffer_filter to coalesce_filter.

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

24 years agoA bit of cleanup
Bill Stoddard [Sat, 21 Oct 2000 12:15:32 +0000 (12:15 +0000)]
A bit of cleanup

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

24 years agoGet Apache on Windows working again after Ryan's first commit to remove
Bill Stoddard [Sat, 21 Oct 2000 12:00:56 +0000 (12:00 +0000)]
Get Apache on Windows working again after Ryan's first commit to remove
BUFF.

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

24 years ago Enough of pcre.h, begone vile beast
William A. Rowe Jr [Sat, 21 Oct 2000 10:01:41 +0000 (10:01 +0000)]
  Enough of pcre.h, begone vile beast

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

24 years ago Don't you love clean checkouts :-) Wrong href on dbmmanage, to boot
William A. Rowe Jr [Fri, 20 Oct 2000 15:35:13 +0000 (15:35 +0000)]
  Don't you love clean checkouts :-)  Wrong href on dbmmanage, to boot

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

24 years agoInsert missing worg.
Tony Finch [Thu, 19 Oct 2000 23:33:40 +0000 (23:33 +0000)]
Insert missing worg.
Submitted by:   Chris Pepper <pepper@mail.reppep.com>

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

24 years agoname-based vhosts should come before ip-based vhosts.
Tony Finch [Thu, 19 Oct 2000 19:25:47 +0000 (19:25 +0000)]
name-based vhosts should come before ip-based vhosts.

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

24 years agoBelatedly update the documentation to include the NameVirtualHost *
Tony Finch [Thu, 19 Oct 2000 19:24:51 +0000 (19:24 +0000)]
Belatedly update the documentation to include the NameVirtualHost *
stuff. This isn't quite a sync with the 1.3 docco because we don't
want to mention 1.3 in the 2.0 docs.

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

24 years agoUpdated welcome page translation.
Joshua Slive [Thu, 19 Oct 2000 19:18:12 +0000 (19:18 +0000)]
Updated welcome page translation.
Submitted by: Ragnar Wisl�ff <ragnar.wisloff@asker.online.no>

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

24 years agoBelatedly update the documentation to include the NameVirtualHost *
Tony Finch [Thu, 19 Oct 2000 19:15:14 +0000 (19:15 +0000)]
Belatedly update the documentation to include the NameVirtualHost *
stuff. This isn't quite a sync with the 1.3 docco because we don't
want to mention 1.3 in the 2.0 docs.

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

24 years agogetline():
Greg Ames [Thu, 19 Oct 2000 17:57:42 +0000 (17:57 +0000)]
getline():
 Fix MIME header folding for character mode (telnet) clients.
 Clean up comments & tighten asserts.

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

24 years agosomebody was a Very Bad Boy when they inserted casts into this function.
Greg Stein [Thu, 19 Oct 2000 10:43:03 +0000 (10:43 +0000)]
somebody was a Very Bad Boy when they inserted casts into this function.
casting away the const was absolutely wrong... the warnings were saying the
return value type needed to be fixed. did that and torched the casts.

who still thinks casts are a good idea? :-)

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

24 years agoChange some of the BUFF calls to direct calls to the socket.
Ryan Bloom [Thu, 19 Oct 2000 01:24:10 +0000 (01:24 +0000)]
Change some of the BUFF calls to direct calls to the socket.

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

24 years agoFix the chemical/x- mime types as suggested in the PR. Or should they
Tony Finch [Thu, 19 Oct 2000 01:03:15 +0000 (01:03 +0000)]
Fix the chemical/x- mime types as suggested in the PR. Or should they
be killed?
PR: 4600

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

24 years agoUpdate to the media types as of 2000-10-19. I also fixed the case of
Tony Finch [Thu, 19 Oct 2000 00:40:57 +0000 (00:40 +0000)]
Update to the media types as of 2000-10-19. I also fixed the case of
application/batch-SMTP to match the official name.
Obtained from:  ftp://ftp.isi.edu/in-notes/iana/assignments/media-types
PR: 6613

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