]> granicus.if.org Git - apache/log
apache
23 years agoapr_stat() in http_request.c only needs size, type, mtime, ctime & atime values from
Bill Stoddard [Wed, 31 Jan 2001 20:01:16 +0000 (20:01 +0000)]
apr_stat() in http_request.c only needs size, type, mtime, ctime & atime values from
the file. Modify apr_stat() under windows to accomodate apr_stat( APR_FINFO_MIN)

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

23 years agoget Apache building again after the change to make_exports.awk
Greg Ames [Wed, 31 Jan 2001 18:56:35 +0000 (18:56 +0000)]
get Apache building again after the change to make_exports.awk

yeah, I know, this shouldn't be necessary.  you're preaching to the choir.
but this does the job until make_exports.awk gets slightly more robust.

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

23 years agouse memset() instead of bzero(); APR no longer tries to guarantee
Jeff Trawick [Wed, 31 Jan 2001 02:15:12 +0000 (02:15 +0000)]
use memset() instead of bzero(); APR no longer tries to guarantee
the existence of bzero()

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

23 years agoadd missing newline to end of file
Jeff Trawick [Tue, 30 Jan 2001 12:30:41 +0000 (12:30 +0000)]
add missing newline to end of file
Submitted by: jean-frederic clere <jfrederic.clere@fujitsu.siemens.es>
Reviewed by: Jeff Trawick

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

23 years agoMy pgp key...
Bill Stoddard [Tue, 30 Jan 2001 02:01:12 +0000 (02:01 +0000)]
My pgp key...

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

23 years agoMore doc improvements.
Ben Laurie [Mon, 29 Jan 2001 22:29:23 +0000 (22:29 +0000)]
More doc improvements.

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

23 years agoback out recent breakage. If the lstat isn't executed, finfo isn't
Greg Ames [Mon, 29 Jan 2001 22:19:17 +0000 (22:19 +0000)]
back out recent breakage.  If the lstat isn't executed, finfo isn't
initialized, and the code was looking at random garbage.

This gets the server a little closer to starting on apache.org.  There's still
an issue with mod_include not resolving apr_get_username when it's dynamically
loaded.

Submitted by: Jeff Trawick

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

23 years agoClean up the cgid module now that it supports suexec.
Ryan Bloom [Mon, 29 Jan 2001 19:42:16 +0000 (19:42 +0000)]
Clean up the cgid module now that it supports suexec.

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

23 years ago Fixed a typo..
Ken Coar [Mon, 29 Jan 2001 19:15:49 +0000 (19:15 +0000)]
Fixed a typo..

Submitted by: Steve Ciccarelli <Tenefel@aol.com>
Reviewed by: Ken Coar

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

23 years agofix gcc warning
Jeff Trawick [Mon, 29 Jan 2001 17:58:01 +0000 (17:58 +0000)]
fix gcc warning

mod_include.c: In function `find_file':
mod_include.c:1281: warning: suggest parentheses around assignment used as truth value

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

23 years agoget mod_rewrite to compile with xlc on AIX; it still compiles with
Jeff Trawick [Mon, 29 Jan 2001 16:36:26 +0000 (16:36 +0000)]
get mod_rewrite to compile with xlc on AIX; it still compiles with
gcc, of course

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

23 years agoMake mod_cgid work with SuExec. This has been tested and works reliably
Ryan Bloom [Mon, 29 Jan 2001 05:41:04 +0000 (05:41 +0000)]
Make mod_cgid work with SuExec.  This has been tested and works reliably
on my machine, but since this is security related, this should be tested
and scrutinized by as many people as possible.

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

23 years ago *) Adopt apr user/group name features for mod_rewrite. Eliminates some
William A. Rowe Jr [Mon, 29 Jan 2001 00:03:11 +0000 (00:03 +0000)]
  *) Adopt apr user/group name features for mod_rewrite.  Eliminates some
     'extra' stat's for user/group since they should never occur, and now
     resolves the SCRIPT_USER and SCRIPT_GROUP, including on WinNT NTFS
     volumes.

  No-one commented on loosing the 'stat' calls, can anyone invent a scenario
  where they could be required?  Also, I don't like the casts either, so if
  you have a better solution, don't whine, just fix it :)

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

23 years ago *) Adopt apr features to simplify mod_includes. This changes the
William A. Rowe Jr [Sun, 28 Jan 2001 23:57:25 +0000 (23:57 +0000)]
  *) Adopt apr features to simplify mod_includes.  This changes the
     behavior of the USER_NAME variable, unknown uid's are now reported
     as USER_NAME="<unknown>" rather than the old user#000 result.
     WinNT now resolves USER_NAME on NTFS volumes.  [William Rowe]

  ** Also fixes yet another stat result, allowing APR_INCOMPLETE

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

23 years ago Moved several CHANGES back to APR where they belonged in the first place,
William A. Rowe Jr [Sun, 28 Jan 2001 23:51:53 +0000 (23:51 +0000)]
  Moved several CHANGES back to APR where they belonged in the first place,
  Adopt apr features for simplifing mod_userdir, and accept the new
  Win32/OS2 exceptions without hiccuping

  Also note a potentially serious flaw - others please review.

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

23 years ago Moving a small OS2'ism into APR, it's pw_dir excludes the username.
William A. Rowe Jr [Sun, 28 Jan 2001 23:45:56 +0000 (23:45 +0000)]
  Moving a small OS2'ism into APR, it's pw_dir excludes the username.
  Return the expected result.  Also noted the headers/os2errno changes
  from early this morning.

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

23 years agoMore docco cleanup.
Ben Laurie [Sun, 28 Jan 2001 22:50:01 +0000 (22:50 +0000)]
More docco cleanup.

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

23 years agoImprove documentation.
Ben Laurie [Sun, 28 Jan 2001 20:55:54 +0000 (20:55 +0000)]
Improve documentation.

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

23 years agoMake docs target work.
Ben Laurie [Sun, 28 Jan 2001 20:06:18 +0000 (20:06 +0000)]
Make docs target work.

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

23 years agotranslation
Eric Cholet [Sun, 28 Jan 2001 19:01:01 +0000 (19:01 +0000)]
translation

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

23 years ago Cleanup some headers. pcre uses the _WIN32 symbol, not WIN32
William A. Rowe Jr [Sun, 28 Jan 2001 18:46:08 +0000 (18:46 +0000)]
  Cleanup some headers.  pcre uses the _WIN32 symbol, not WIN32

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

23 years ago Add newly invented mod_include.h to the project view
William A. Rowe Jr [Sun, 28 Jan 2001 18:38:24 +0000 (18:38 +0000)]
  Add newly invented mod_include.h to the project view

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

23 years ago Another starting point, by no means complete.
William A. Rowe Jr [Sun, 28 Jan 2001 18:26:38 +0000 (18:26 +0000)]
  Another starting point, by no means complete.

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

23 years agofix spelling
Eric Cholet [Sun, 28 Jan 2001 17:49:54 +0000 (17:49 +0000)]
fix spelling

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

23 years agoconsistent use of entities
Eric Cholet [Sun, 28 Jan 2001 17:37:46 +0000 (17:37 +0000)]
consistent use of entities

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

23 years agoremove trailing CRs
Eric Cholet [Sun, 28 Jan 2001 17:26:53 +0000 (17:26 +0000)]
remove trailing CRs

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

23 years ago The single missing space caused dependency parser breakage on win32.
William A. Rowe Jr [Sun, 28 Jan 2001 14:21:07 +0000 (14:21 +0000)]
  The single missing space caused dependency parser breakage on win32.
  Fixed.

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

23 years ago Back out a bit of yesterday's patch, since the explicit return
William A. Rowe Jr [Sun, 28 Jan 2001 14:00:56 +0000 (14:00 +0000)]
  Back out a bit of yesterday's patch, since the explicit return
  handles this correctly.

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

23 years agoClean up the help text for some of the options. (cosmetic)
Roy T. Fielding [Sun, 28 Jan 2001 07:55:44 +0000 (07:55 +0000)]
Clean up the help text for some of the options. (cosmetic)

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

23 years agoReplace configure --with-optim option by using and saving the
Roy T. Fielding [Sun, 28 Jan 2001 07:41:15 +0000 (07:41 +0000)]
Replace configure --with-optim option by using and saving the
environment variable OPTIM instead.  This is needed because configure
options do not support multiple flags separated by spaces.

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

23 years agoForce --with-optim and --with-port to have argument values, since
Roy T. Fielding [Sun, 28 Jan 2001 06:46:23 +0000 (06:46 +0000)]
Force --with-optim and --with-port to have argument values, since
they result in later compile errors otherwise.

I would have removed --with-optim in favor of just setting it with
an environment variable, but then it wouldn't be saved in config.nice.
A better solution is needed because these arguments can only accept
a single value (quotes and spaces are stripped).  Perhaps setting
OPTIM within config.nice?  First things first.

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

23 years agoFix some byterange handling. If we get a byte range that looks like
Ryan Bloom [Sun, 28 Jan 2001 04:07:03 +0000 (04:07 +0000)]
Fix some byterange handling.  If we get a byte range that looks like
"-999999" where that is past the end of the file, we should return
a PARTIAL CONTENT status code, and return the whole file as one big
byterange.  This matches the 1.3 handling now.  [Ryan Bloom]

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

23 years agoUse the new error bucket to report HTTP_RANGE_NOT_SATISFIABLE from
Ryan Bloom [Sun, 28 Jan 2001 03:38:21 +0000 (03:38 +0000)]
Use the new error bucket to report HTTP_RANGE_NOT_SATISFIABLE from
the byterange filter.  This is much safer than returning the error
directly.

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

23 years agoMake the error bucket a real meta-data bucket. This means that the
Ryan Bloom [Sun, 28 Jan 2001 03:36:02 +0000 (03:36 +0000)]
Make the error bucket a real meta-data bucket.  This means that the
bucket length is 0, and a read returns NULL data.  If one of these
buckets is passed down after the headers are sent, this data will
just be ignored.
Submitted by: Greg Stein

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

23 years agoThe prefork MPM wasn't killing child processes correctly if a restart
Ryan Bloom [Sun, 28 Jan 2001 03:00:03 +0000 (03:00 +0000)]
The prefork MPM wasn't killing child processes correctly if a restart
signal was received while the process was serving a request.  The child
process would become the equivalent of a second parent process.  If
we break out of the accept loop, then we need to do die after cleaning
up after ourselves.

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

23 years agoMake the Prefork MPM use SIGWINCH instead of SIGUSR1 for graceful restarts.
Ryan Bloom [Sun, 28 Jan 2001 01:16:37 +0000 (01:16 +0000)]
Make the Prefork MPM use SIGWINCH instead of SIGUSR1 for graceful restarts.

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

23 years agoAdd a devshed tutorial.
Joshua Slive [Sun, 28 Jan 2001 01:02:54 +0000 (01:02 +0000)]
Add a devshed tutorial.

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

23 years agoAdding references to html'ized man pages where appropriate.
Joshua Slive [Sun, 28 Jan 2001 00:19:30 +0000 (00:19 +0000)]
Adding references to html'ized man pages where appropriate.

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

23 years ago Another module to cooperate with APR_FINFO_
William A. Rowe Jr [Sat, 27 Jan 2001 23:35:21 +0000 (23:35 +0000)]
  Another module to cooperate with APR_FINFO_

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

23 years ago- Remove documentation on command line options from invoking.html
Joshua Slive [Sat, 27 Jan 2001 23:32:36 +0000 (23:32 +0000)]
- Remove documentation on command line options from invoking.html
  since the man pages are now in the html docs.
- Move information on "starting the server" from install.html to
  a more proper location "invoking.html"
- Add a few more details here and there.

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

23 years ago Eliminate a gp fault on mpm_winnt since we don't have a scoreboard table.
William A. Rowe Jr [Sat, 27 Jan 2001 23:29:39 +0000 (23:29 +0000)]
  Eliminate a gp fault on mpm_winnt since we don't have a scoreboard table.

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

23 years agoBring the HTML man pages up to speed with the nroff ones and
Joshua Slive [Sat, 27 Jan 2001 23:16:22 +0000 (23:16 +0000)]
Bring the HTML man pages up to speed with the nroff ones and
change the format slightly.

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

23 years agoBring a couple man pages a little closer to the 2.0 reality.
Joshua Slive [Sat, 27 Jan 2001 23:09:45 +0000 (23:09 +0000)]
Bring a couple man pages a little closer to the 2.0 reality.

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

23 years ago Use the appropriate APR_FINFO_flags for the apr_stat/lstat/getfileinfo
William A. Rowe Jr [Sat, 27 Jan 2001 21:28:28 +0000 (21:28 +0000)]
  Use the appropriate APR_FINFO_flags for the apr_stat/lstat/getfileinfo
  calls to avoid ownership and permissions on Win32 when they are not
  required, and until they are implemented.

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

23 years agoBeOS BONE shouldn't be using this BeOS R5 check, so alter the check to make it
David Reid [Sat, 27 Jan 2001 20:03:23 +0000 (20:03 +0000)]
BeOS BONE shouldn't be using this BeOS R5 check, so alter the check to make it
work correctly.  Shouldn't this be APR'ized?

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

23 years ago Sunny and warm (if 30`F meets your definition of warm :-)
William A. Rowe Jr [Sat, 27 Jan 2001 18:52:42 +0000 (18:52 +0000)]
  Sunny and warm (if 30`F meets your definition of warm :-)

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

23 years agoFix a seg fault. The problem is easy to explain. On a HEAD request, Good
Ryan Bloom [Sat, 27 Jan 2001 18:23:49 +0000 (18:23 +0000)]
Fix a seg fault.  The problem is easy to explain.  On a HEAD request, Good
handlers will send their data down the filter stack, but 1.3 handlers will
just return, giving us a Content-Length of 0.  Since we can't send a C-L
of 0 just because it is a HEAD request, we search the headers_out table
for a 0 C-L if it is a HEAD request.  The problem is that some filters
will not allow (includes_filter) a C-L to be computed, so we end up without
a C-L header in headers_out.  Thus, when we do a strcmp against the header
value and "0", we seg fault, because the header value is NULL.

To fix this, we grab the element from the header table, and make sure it
isn't NULL before doing the strcmp.

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

23 years agoForgot this header file when I cleaned the error_bucket code.
Ryan Bloom [Sat, 27 Jan 2001 17:59:02 +0000 (17:59 +0000)]
Forgot this header file when I cleaned the error_bucket code.

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

23 years agoAdd support for type-safe optional functions.
Ben Laurie [Sat, 27 Jan 2001 17:50:47 +0000 (17:50 +0000)]
Add support for type-safe optional functions.

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

23 years agoCleanup the error bucket code a bit. This uses the error bucket directly
Ryan Bloom [Sat, 27 Jan 2001 17:17:51 +0000 (17:17 +0000)]
Cleanup the error bucket code a bit.  This uses the error bucket directly
instead of using ap_bucket_read.  It also lets ap_die handle the fact that
the filter returned the error.
Submitted by: Greg Stein

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

23 years agoReapply patch for chartables.c, only this time in both places (not having it
Ben Laurie [Sat, 27 Jan 2001 16:15:25 +0000 (16:15 +0000)]
Reapply patch for chartables.c, only this time in both places (not having it
breaks FreeBSD 3.2).

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

23 years agoGreg Stein and Dale Ghent both reminded me I forgot to add this.
Ryan Bloom [Sat, 27 Jan 2001 16:05:41 +0000 (16:05 +0000)]
Greg Stein and Dale Ghent both reminded me I forgot to add this.

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

23 years ago Was there a file that wasn't updated with the error buckets patch?
William A. Rowe Jr [Sat, 27 Jan 2001 14:54:30 +0000 (14:54 +0000)]
  Was there a file that wasn't updated with the error buckets patch?
  Here's the export symbol for http_protocol's error bucket type, but
  I can't find the actual instance (which needs AP_DECLARE_DATA as well.)

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

23 years agofilters can now report an HTTP error to the server. This is done
Ryan Bloom [Sat, 27 Jan 2001 07:13:39 +0000 (07:13 +0000)]
filters can now report an HTTP error to the server.  This is done
by sending a brigade where the first bucket is an error_bucket.
This bucket is a simple bucket that stores an HTTP error and
a string.  Currently the string is not used, but it may be needed
to output an error log.  The http_header_filter will find this
bucket, and output the error text, and then return
AP_FILTER_ERROR, which informs the server that the error web page
has already been sent.

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

23 years ago Much better for win32 checkouts
William A. Rowe Jr [Sat, 27 Jan 2001 06:31:59 +0000 (06:31 +0000)]
  Much better for win32 checkouts

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

23 years ago Discovered these were horribly broken as 'text' files...
William A. Rowe Jr [Sat, 27 Jan 2001 06:31:25 +0000 (06:31 +0000)]
  Discovered these were horribly broken as 'text' files...
  Coming back tagged binary.

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

23 years agofix mangled headers due to underallocated buffer
Greg Ames [Fri, 26 Jan 2001 18:48:57 +0000 (18:48 +0000)]
fix mangled headers due to underallocated buffer

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

23 years agoTeach me to change just one more thing before committing. This fixes my
Ryan Bloom [Fri, 26 Jan 2001 17:57:55 +0000 (17:57 +0000)]
Teach me to change just one more thing before committing.  This fixes my
last commit.

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

23 years agoStop using the request filters to filter an error response. This fixes a
Ryan Bloom [Fri, 26 Jan 2001 17:54:06 +0000 (17:54 +0000)]
Stop using the request filters to filter an error response.  This fixes a
bug where we were using the byterange filter to filter an error, which
caused us to close the connection before we had sent any data.  Currently,
we only keep the three most important filters, but we may need to add more
in the future.  I am mostly thinking of the charset translation filter.

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

23 years agoProvide a way to allow get_resource and get_parent_resource to return errors
Greg Stein [Fri, 26 Jan 2001 11:44:51 +0000 (11:44 +0000)]
Provide a way to allow get_resource and get_parent_resource to return errors
that might occur during the parsing of the URI and/or the lookup of the
resource in the repository.

Specifically: return a dav_error* and move the returned dav_resource* to an
"out" parameter of the hook function.

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

23 years agoapr_put_os_file() expected the caller to have an existing file or init to
Greg Stein [Fri, 26 Jan 2001 09:05:40 +0000 (09:05 +0000)]
apr_put_os_file() expected the caller to have an existing file or init to
NULL. using an existing file doesn't normally work: where would you get a
blank file to shove an FD into? expecting the user to assign to NULL is
error-prone (mod_isapi didn't).

*) always create and return a new file from apr_put_os_file()
*) reimplement apr_open_stderr() in terms of apr_put_os_file()
   [ except for win32... some issues there ]
*) remove some (obsolete) inits to NULL

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

23 years agoFix uninitialized variable 'written' in ap_rvputs, noticed by gcc.
Brian Havard [Fri, 26 Jan 2001 02:53:50 +0000 (02:53 +0000)]
Fix uninitialized variable 'written' in ap_rvputs, noticed by gcc.

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

23 years agomy mom said not to talk to strangers. whoever is reading this is probably a
Greg Stein [Fri, 26 Jan 2001 02:27:03 +0000 (02:27 +0000)]
my mom said not to talk to strangers. whoever is reading this is probably a
stranger. I'm not going to talk to you about what I did. nyeah.

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

23 years agowe only need to worry about infinite-depth PROPFINDs if they are targeting a
Greg Stein [Fri, 26 Jan 2001 02:24:16 +0000 (02:24 +0000)]
we only need to worry about infinite-depth PROPFINDs if they are targeting a
collection. allow them on plain resources.

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

23 years agoStore the original content_type before we replace it with the byterange
Ryan Bloom [Thu, 25 Jan 2001 23:50:33 +0000 (23:50 +0000)]
Store the original content_type before we replace it with the byterange
C-T.  This allows us to report a correct content type in the boundary
header.

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

23 years agoget mod_unique_id building again...XtOffset was undefined
Greg Ames [Thu, 25 Jan 2001 22:20:28 +0000 (22:20 +0000)]
get mod_unique_id building again...XtOffset was undefined

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

23 years agoclarify the comments about FollowSymLinks (and .htaccess)
Greg Stein [Thu, 25 Jan 2001 21:38:10 +0000 (21:38 +0000)]
clarify the comments about FollowSymLinks (and .htaccess)

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

23 years agoUpdates to upgrading/new_features for some recent changes. I would
Joshua Slive [Thu, 25 Jan 2001 21:31:03 +0000 (21:31 +0000)]
Updates to upgrading/new_features for some recent changes.  I would
guess that there are still tons of things missing from these files.

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

23 years agoAdd fragment target
Martin Kraemer [Thu, 25 Jan 2001 20:46:26 +0000 (20:46 +0000)]
Add fragment target

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

23 years agothe issue is resolved.
Greg Ames [Thu, 25 Jan 2001 19:55:15 +0000 (19:55 +0000)]
the issue is resolved.

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

23 years agoremoved docs/conf/highperformance.conf (re-named to highperformance-std.conf)
Greg Ames [Thu, 25 Jan 2001 19:51:30 +0000 (19:51 +0000)]
removed docs/conf/highperformance.conf (re-named to highperformance-std.conf)

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

23 years agoadd highperformance-std.conf . The -std name allows make install to work
Greg Ames [Thu, 25 Jan 2001 18:29:35 +0000 (18:29 +0000)]
add highperformance-std.conf . The -std name allows make install to work
its magic.

Slightly changed from highperformance.conf : I added "User" and "Group" so
it works right out of the box on Linux.  Group will no doubt need editing on
other platforms.

I'll remove docs/conf/highperformance.conf from CVS once I find out the
right way to do it.  (Hints appreciated)

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

23 years agoclose the post file after reading it
Jeff Trawick [Thu, 25 Jan 2001 14:43:28 +0000 (14:43 +0000)]
close the post file after reading it

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

23 years agoAdd the coalesce filter back in. It is NOT being installed anywhere right now.
Bill Stoddard [Thu, 25 Jan 2001 02:51:30 +0000 (02:51 +0000)]
Add the coalesce filter back in. It is NOT being installed anywhere right now.

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

23 years agoAs Greg noted, set_keepalive has to happen before we check r->chunked, but
Ryan Bloom [Wed, 24 Jan 2001 23:47:42 +0000 (23:47 +0000)]
As Greg noted, set_keepalive has to happen before we check r->chunked, but
it also has to happen after ap_basic_http_header.  Otherwise, we don't
set r->connection->keepalive correctly, and it can be -1 for requests that
don't support keepalive.  This moves ap_basic_http_header to above the
call to set_keepalive (after reversing the previous patch), which should
be perfectly safe, while still fixing the original bug.
Submitted by: Greg Stein

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

23 years agoThe ap_set_keepalive call needs to be after the call to
Ryan Bloom [Wed, 24 Jan 2001 23:07:23 +0000 (23:07 +0000)]
The ap_set_keepalive call needs to be after the call to
ap_basic_http_header.  Without this, there are times that HTTP 1.0
requests will do keepalive connections.

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

23 years agoThe current hooking module is _not_ a debugging aid.
Ben Laurie [Wed, 24 Jan 2001 22:52:52 +0000 (22:52 +0000)]
The current hooking module is _not_ a debugging aid.

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

23 years agoRemove the COALESCE_FILTER. It is no longer needed since Greg committed his ap_r*
Bill Stoddard [Wed, 24 Jan 2001 22:47:57 +0000 (22:47 +0000)]
Remove the COALESCE_FILTER. It is no longer needed since Greg committed his ap_r*
buffering patch.

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

23 years agoFix typo in module identifier.
Joshua Slive [Wed, 24 Jan 2001 18:28:09 +0000 (18:28 +0000)]
Fix typo in module identifier.

PR: 7117
Submitted by: Brent Kearney

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

23 years agoAttributes should be quoted.
Joshua Slive [Wed, 24 Jan 2001 18:14:18 +0000 (18:14 +0000)]
Attributes should be quoted.

PR: 7122
Submitted by:   Kohei Watanabe

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

23 years agoget http_core to compile on systems without apr_sendfile() support
Jeff Trawick [Wed, 24 Jan 2001 16:10:02 +0000 (16:10 +0000)]
get http_core to compile on systems without apr_sendfile() support

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

23 years ago- change the prototype for apr_dbm_geterror() [and update dav/fs/dbm.c]
Greg Stein [Wed, 24 Jan 2001 10:24:03 +0000 (10:24 +0000)]
- change the prototype for apr_dbm_geterror()  [and update dav/fs/dbm.c]
- fix up some error handling in apr_dbm.c
- use "dbm" consistently for the apr_dbm_t parameter

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

23 years agoAdd apr_dbm_get_usednames() so that apr_dbm users can figure out what
Greg Stein [Wed, 24 Jan 2001 09:10:15 +0000 (09:10 +0000)]
Add apr_dbm_get_usednames() so that apr_dbm users can figure out what
filenames are actually used by the apr_dbm implementation for a given
pathname.

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

23 years agoUse a typesafe function for access objects' pools.
Greg Stein [Wed, 24 Jan 2001 08:26:19 +0000 (08:26 +0000)]
Use a typesafe function for access objects' pools.

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

23 years agoA single outermost loop is all that is needed. Simplify and add comments
Greg Stein [Wed, 24 Jan 2001 06:17:26 +0000 (06:17 +0000)]
A single outermost loop is all that is needed. Simplify and add comments
about what is going on in there. Shift some declarations to scope their
usage and (re)initialize them on each pass over the brigade.

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

23 years agoHave you had your Ovaltine today?
Greg Stein [Wed, 24 Jan 2001 02:23:18 +0000 (02:23 +0000)]
Have you had your Ovaltine today?

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

23 years agoBegin mod_core.h for CORE-private information. Ideally, AP_CORE_DECLARE
Greg Stein [Wed, 24 Jan 2001 02:14:23 +0000 (02:14 +0000)]
Begin mod_core.h for CORE-private information. Ideally, AP_CORE_DECLARE
function decl's and CORE_PRIVATE header info should all move into this
header.

Start with moving the filter function declarations.

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

23 years agofix the (error) return values for the ap_r* functions.
Greg Stein [Wed, 24 Jan 2001 01:42:41 +0000 (01:42 +0000)]
fix the (error) return values for the ap_r* functions.

Submitted by: Jeff Trawick

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

23 years agoLoop over the brigade when multiple buckets file are found, instead of
Ryan Bloom [Wed, 24 Jan 2001 01:38:31 +0000 (01:38 +0000)]
Loop over the brigade when multiple buckets file are found, instead of
breaking out of the function.
Submitted by:   Greg Stein

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

23 years agoImprove the performance of the ap_r* functions by buffering their data in
Greg Stein [Wed, 24 Jan 2001 01:31:00 +0000 (01:31 +0000)]
Improve the performance of the ap_r* functions by buffering their data in
[the context of] a new filter ("OLD_WRITE").

Further information/discussion of this patch is available on new-httpd
between Jan 16 and Jan 23, 2001.

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

23 years agoRelax the checking of Host: headers so that only character sequences that
Tony Finch [Wed, 24 Jan 2001 01:05:47 +0000 (01:05 +0000)]
Relax the checking of Host: headers so that only character sequences that
are sensitive to the filesystem are rejected, i.e. forward slashes,
backward slashes, and sequences of more than one dot. This supports iDNS
without compromising the safety of mass vhosting.

PR: 6635

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

23 years agoFix the search form to interface to the new search engine.
Joshua Slive [Tue, 23 Jan 2001 23:24:08 +0000 (23:24 +0000)]
Fix the search form to interface to the new search engine.

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

23 years agoAllow the core_output_filter to deal with multiple file buckets in the
Ryan Bloom [Tue, 23 Jan 2001 23:23:37 +0000 (23:23 +0000)]
Allow the core_output_filter to deal with multiple file buckets in the
same brigade.

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

23 years agoFix the core_output_filter. It doesn't make any sense to send less than
Ryan Bloom [Tue, 23 Jan 2001 23:05:12 +0000 (23:05 +0000)]
Fix the core_output_filter.  It doesn't make any sense to send less than
8K of a file using sendfile, it is easier to just read strings from the
file and use those strings directly.

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

23 years agoFix the core to take the new file bucket type into account.
Ryan Bloom [Tue, 23 Jan 2001 07:31:09 +0000 (07:31 +0000)]
Fix the core to take the new file bucket type into account.

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

23 years agoFix the byterange filter for the case where the bucket can't be
Ryan Bloom [Tue, 23 Jan 2001 07:30:11 +0000 (07:30 +0000)]
Fix the byterange filter for the case where the bucket can't be
copied natively.  This will only ever happen if a bucket can be split
but not copied, because we read the bucket in apr_brigade_partition if
we can't split it.  Regardless, this is much safer.  This should also fix
all of the problems with the byterange filter.

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

23 years ago Time to refresh this version (thought we should rename it I suppose.
William A. Rowe Jr [Tue, 23 Jan 2001 06:12:37 +0000 (06:12 +0000)]
  Time to refresh this version (thought we should rename it I suppose.
  Not yet revamped for buckets, we won't want to keep them in sync if
  we get to the stage of eliminating the ap_rputs mechanics from the
  live module.  This remains the classic 'old-style' module for general
  performance testing.

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

23 years agoCleanup the byterange filter to use the apr_brigade_partition
Ryan Bloom [Tue, 23 Jan 2001 05:57:32 +0000 (05:57 +0000)]
Cleanup the byterange filter to use the apr_brigade_partition
and apr_bucket_copy functions.  This removes a lot of very messy
code, and hopefully makes this filter more stable.

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

23 years ago Accomodate the change to the apr_read_dir() arguments, and change all
William A. Rowe Jr [Tue, 23 Jan 2001 04:14:24 +0000 (04:14 +0000)]
  Accomodate the change to the apr_read_dir() arguments, and change all
  apr_dirfoo() and apr_foodir() commands to apr_dir_foo() to match the
  earlier-renamed apr_dir_open().

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

23 years agoWe only want to define ap_send_mmap if APR_HAS_MMAP is true. Without
Ryan Bloom [Mon, 22 Jan 2001 23:07:23 +0000 (23:07 +0000)]
We only want to define ap_send_mmap if APR_HAS_MMAP is true.  Without
this, we don't build successfully.

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