]> granicus.if.org Git - apache/log
apache
24 years agoWin32: Enable lingering close.
Bill Stoddard [Mon, 14 Aug 2000 21:42:55 +0000 (21:42 +0000)]
Win32: Enable lingering close.

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

24 years ago Make compilable on Windows again. I'm not sure the x = { [1] = 1 }
Ken Coar [Mon, 14 Aug 2000 21:33:27 +0000 (21:33 +0000)]
Make compilable on Windows again.  I'm not sure the x = { [1] = 1 }
syntax is even ANSI C, but it originally compiled for me.  Oh, well.
I'd rather have this statically built at compile time, but I don't
want to add the dependencies on the method order and its being
a contiguous sequence.

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

24 years agoWhen ap_register_filter() registers a cleanup function, specify
Jeff Trawick [Mon, 14 Aug 2000 17:50:02 +0000 (17:50 +0000)]
When ap_register_filter() registers a cleanup function, specify
apr_null_cleanup() instead of NULL to indicate that no child
cleanup is desired.  (With NULL, we branch to zero.)

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

24 years agoFix a minor bug in the default template file. The template used to not
Ryan Bloom [Mon, 14 Aug 2000 04:32:00 +0000 (04:32 +0000)]
Fix a minor bug in the default template file.  The template used to not
escape the spaces in file names.  It does now.  This also adds the default
template for Apache to use.

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

24 years agoRemove a bunch of warnings from the server when compiled using
Ryan Bloom [Mon, 14 Aug 2000 03:07:58 +0000 (03:07 +0000)]
Remove a bunch of warnings from the server when compiled using
--with-maintainer-mode

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

24 years agoAdd a make directive for making the documentation
Ryan Bloom [Mon, 14 Aug 2000 02:54:41 +0000 (02:54 +0000)]
Add a make directive for making the documentation

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

24 years agoFix a small typo
Ryan Bloom [Mon, 14 Aug 2000 02:47:29 +0000 (02:47 +0000)]
Fix a small typo

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

24 years agoDocument http_request.h using ScanDoc.
Ryan Bloom [Mon, 14 Aug 2000 02:36:42 +0000 (02:36 +0000)]
Document http_request.h using ScanDoc.

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

24 years agoFinish commenting httpd.h using Scandoc.
Ryan Bloom [Sun, 13 Aug 2000 23:53:38 +0000 (23:53 +0000)]
Finish commenting httpd.h using Scandoc.

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

24 years agoMore tidy up for mpmt_beos mpm.
David Reid [Sun, 13 Aug 2000 18:47:10 +0000 (18:47 +0000)]
More tidy up for mpmt_beos mpm.

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

24 years agoMissed this first time and forgot about it until now...
David Reid [Sun, 13 Aug 2000 18:38:03 +0000 (18:38 +0000)]
Missed this first time and forgot about it until now...

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

24 years agoCleanup the buckets a bit, and add ScanDoc comments. The cleanup was
Ryan Bloom [Sun, 13 Aug 2000 00:53:43 +0000 (00:53 +0000)]
Cleanup the buckets a bit, and add ScanDoc comments.  The cleanup was
basically removing functions that aren't really necessary anymore.

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

24 years agoAdd an error condition to the filter code. Basically, if somehow we get
Ryan Bloom [Sat, 12 Aug 2000 23:59:13 +0000 (23:59 +0000)]
Add an error condition to the filter code.  Basically, if somehow we get
to the very bottom of the filter stack and nobody has written anything to
the network, then we need to return an error.

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

24 years agodocument util_filter.h using Scandoc
Ryan Bloom [Sat, 12 Aug 2000 23:52:44 +0000 (23:52 +0000)]
document util_filter.h using Scandoc

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

24 years agoRemove some suspended PR's that have been closed in the PR DB.
Ryan Bloom [Sat, 12 Aug 2000 18:56:43 +0000 (18:56 +0000)]
Remove some suspended PR's that have been closed in the PR DB.

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

24 years agoInitial Filtering code. This uses a bucket brigade scheme to allow modules
Ryan Bloom [Sat, 12 Aug 2000 18:45:35 +0000 (18:45 +0000)]
Initial Filtering code.  This uses a bucket brigade scheme to allow modules
to add and modify data while processing a request.  The docs still need
to be updated, and a simple html page needs to be created explaining all
of this.

The only filter currently in the code is the core filter.  This filter
takes a bucket brigade and writes it to the network through the buff
structure.  In time, the buff will go away completely.

More filters will need to be written.
Submitted by: The Apache Community
Reviewed by: The Apache Community

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

24 years agoChange the rewrite log lock from intra-process to lock-all (and we really can
Jeff Trawick [Sat, 12 Aug 2000 02:31:38 +0000 (02:31 +0000)]
Change the rewrite log lock from intra-process to lock-all (and we really can
log it if it fails).

Don't segfault if RewriteLock wasn't coded in the config (i.e., if
rewrite_log_lock isn't set).

Fix a missing error code in a call to ap_log_error().

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

24 years ago Allow <Limit*> to accept arbitrary extension method named instead
Ken Coar [Sat, 12 Aug 2000 00:00:08 +0000 (00:00 +0000)]
Allow <Limit*> to accept arbitrary extension method named instead
of varfing.  Nothing takes advantage of this yet; that's coming
next.  Also replace the shorthand Allow setup to use the new
API (this is possibly a problematical change for the core default
handler; no problem to back that out).

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

24 years ago Add mnemonics for the ap_allow_methods() reset flag meanings.
Ken Coar [Fri, 11 Aug 2000 23:53:29 +0000 (23:53 +0000)]
Add mnemonics for the ap_allow_methods() reset flag meanings.

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

24 years ago Note the connexion between the method number list and the
Ken Coar [Fri, 11 Aug 2000 23:50:15 +0000 (23:50 +0000)]
Note the connexion between the method number list and the
ap_method_name_of() routine.  (This should have been included
as part of that commit but wasn't, alas.)

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

24 years ago More prototypical API support for arbitrary extension HTTP methods.
Ken Coar [Fri, 11 Aug 2000 23:45:57 +0000 (23:45 +0000)]
More prototypical API support for arbitrary extension HTTP methods.

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

24 years ago Preset the cmd_parms->limited field to the magic 'no limit active'
Ken Coar [Fri, 11 Aug 2000 23:41:53 +0000 (23:41 +0000)]
Preset the cmd_parms->limited field to the magic 'no limit active'
value, and add some prototype API routines for expanding support
for arbitrary extension HTTP methods.

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

24 years agoExport util_xml.c functions. Add dependency on xml libraries to apache.dsw.
Bill Stoddard [Fri, 11 Aug 2000 20:15:41 +0000 (20:15 +0000)]
Export util_xml.c functions. Add dependency on xml libraries to apache.dsw.

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

24 years agoGet rid of an ancient comment (which was updated for the CHARSET_EBCDIC
Jeff Trawick [Fri, 11 Aug 2000 16:31:40 +0000 (16:31 +0000)]
Get rid of an ancient comment (which was updated for the CHARSET_EBCDIC
->APACHE_XLATE change.  Once I figured out what "32/9" meant (doh!)
it was pretty clear that the comment is no longer applicable.

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

24 years ago Don't skip any remaining methods just because one was already
Ken Coar [Fri, 11 Aug 2000 16:31:02 +0000 (16:31 +0000)]
Don't skip any remaining methods just because one was already
noted.

Submitted by: Joe Orton <joe@orton.demon.co.uk>
Reviewed by: Ken Coar

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

24 years ago Fix another oversight: don't add an extension method to the Allow
Ken Coar [Fri, 11 Aug 2000 14:41:13 +0000 (14:41 +0000)]
Fix another oversight: don't add an extension method to the Allow
list if it's already there.

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

24 years ago Add recognition of the --with-port=n (as was added to 1.3), and
Ken Coar [Fri, 11 Aug 2000 04:13:43 +0000 (04:13 +0000)]
Add recognition of the --with-port=n (as was added to 1.3), and
raise an error if --enable-layout is specified but we can't
find the definition file.

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

24 years ago Whoops, head off a potential segfault. The array is only
Ken Coar [Thu, 10 Aug 2000 13:28:45 +0000 (13:28 +0000)]
Whoops, head off a potential segfault.  The array is only
created at need, so check for its existence before trying
to peek into it.

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

24 years agoTweak apr_getopt() and its use in ab to avoid compiler warnings.
Jeff Trawick [Thu, 10 Aug 2000 12:52:37 +0000 (12:52 +0000)]
Tweak apr_getopt() and its use in ab to avoid compiler warnings.
(Note: apr_initopt() and/or its callers still need tweaking.)
Submitted by: Bill Rowe
Reviewed by: Jeff Trawick

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

24 years agoChange use of ap_pstrcat() to apr_pstrcat() in previous commit so
Jeff Trawick [Thu, 10 Aug 2000 12:46:52 +0000 (12:46 +0000)]
Change use of ap_pstrcat() to apr_pstrcat() in previous commit so
that Apache builds again.

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

24 years ago Add support for arbitrary extension methods for the Allow
Ken Coar [Thu, 10 Aug 2000 11:22:57 +0000 (11:22 +0000)]
Add support for arbitrary extension methods for the Allow
response header field, and an API routine for modifying the
allowed list in a unified manner for both known and extension
methods.

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

24 years agoFix comment delimiters so that Apache builds again.
Jeff Trawick [Thu, 10 Aug 2000 11:07:26 +0000 (11:07 +0000)]
Fix comment delimiters so that Apache builds again.

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

24 years agoWe've already released a5
Ryan Bloom [Thu, 10 Aug 2000 06:03:31 +0000 (06:03 +0000)]
We've already released a5

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

24 years agoBegin to document httpd.h with ScanDoc
Ryan Bloom [Thu, 10 Aug 2000 06:00:17 +0000 (06:00 +0000)]
Begin to document httpd.h with ScanDoc

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

24 years agomod_cern_meta: fix broken file reading loop in scan_meta_file().
Jeff Trawick [Wed, 9 Aug 2000 20:47:06 +0000 (20:47 +0000)]
mod_cern_meta: fix broken file reading loop in scan_meta_file().
We checked the retcode from apr_fgets() improperly.
Submitted by: Rob Simonson <simo@us.ibm.com>
Reviewed by: Jeff Trawick

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

24 years agoUpdate exports file for AIX.
Bill Stoddard [Wed, 9 Aug 2000 19:01:15 +0000 (19:01 +0000)]
Update exports file for AIX.

Submitted by: Victor Orlikowski

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

24 years ago Fix ApacheBench for the apr_initopt/apr_getopt change. This illustrates
William A. Rowe Jr [Wed, 9 Aug 2000 15:01:59 +0000 (15:01 +0000)]
  Fix ApacheBench for the apr_initopt/apr_getopt change.  This illustrates
  abusing the apr_getopt_t for direct access at the working structure, just
  as we did with the global vars.  By my global search, there should be no
  more apr_opt*** symbols out there.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years ago Adjust the WinNT MPM/SCM code for apr_initopt/apr_getopt; mostly just a
William A. Rowe Jr [Wed, 9 Aug 2000 14:59:46 +0000 (14:59 +0000)]
  Adjust the WinNT MPM/SCM code for apr_initopt/apr_getopt; mostly just a
  bunch of constness changes.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years ago Provide the first real-world update for the new apr_initopt/apr_getopt
William A. Rowe Jr [Wed, 9 Aug 2000 14:56:55 +0000 (14:56 +0000)]
  Provide the first real-world update for the new apr_initopt/apr_getopt
  changes.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years ago Add a useful header
William A. Rowe Jr [Wed, 9 Aug 2000 14:44:47 +0000 (14:44 +0000)]
  Add a useful header

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoFix compile break
Bill Stoddard [Wed, 9 Aug 2000 12:58:21 +0000 (12:58 +0000)]
Fix compile break

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

24 years agoSome tidying up of the beos mpm.
David Reid [Wed, 9 Aug 2000 10:23:49 +0000 (10:23 +0000)]
Some tidying up of the beos mpm.

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

24 years agoGuess this one was missed when the rest were fixed :(
David Reid [Wed, 9 Aug 2000 09:51:12 +0000 (09:51 +0000)]
Guess this one was missed when the rest were fixed :(

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

24 years ago Minor nits in documentation. The link to the ISAPI spec is broken.
William A. Rowe Jr [Wed, 9 Aug 2000 04:50:12 +0000 (04:50 +0000)]
  Minor nits in documentation.  The link to the ISAPI spec is broken.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoUpdated patch to fix compile warnings from not including apr_strings.h
Bill Stoddard [Tue, 8 Aug 2000 20:03:52 +0000 (20:03 +0000)]
Updated patch to fix compile warnings from not including apr_strings.h

Submitted by: Joe Orton <joe@orton.demon.co.uk>
Reviewed by: Bill Stoddard

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

24 years agoWin32: Add util_xml.c to ApacheCore.
Bill Stoddard [Tue, 8 Aug 2000 19:58:23 +0000 (19:58 +0000)]
Win32: Add util_xml.c to ApacheCore.

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

24 years agoFix win32 compile break.
Bill Stoddard [Tue, 8 Aug 2000 19:53:27 +0000 (19:53 +0000)]
Fix win32 compile break.

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

24 years ago A few new observations for the Win32 user.
William A. Rowe Jr [Tue, 8 Aug 2000 14:56:23 +0000 (14:56 +0000)]
  A few new observations for the Win32 user.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoFix syntax error in the typedef of schemes_t so Apache builds again.
Jeff Trawick [Tue, 8 Aug 2000 11:58:23 +0000 (11:58 +0000)]
Fix syntax error in the typedef of schemes_t so Apache builds again.

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

24 years agoDocument the util_md5.h file using ScanDoc. Also add package directives
Ryan Bloom [Tue, 8 Aug 2000 05:57:14 +0000 (05:57 +0000)]
Document the util_md5.h file using ScanDoc.  Also add package directives
to util_xml and util_uri headers

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

24 years agoDocument util_xml using ScanDoc
Ryan Bloom [Tue, 8 Aug 2000 05:39:09 +0000 (05:39 +0000)]
Document util_xml using ScanDoc

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

24 years agoDocument util_uri.h using ScanDoc
Ryan Bloom [Tue, 8 Aug 2000 04:59:31 +0000 (04:59 +0000)]
Document util_uri.h using ScanDoc

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

24 years agoDocument os.h. I am only documenting the Unix copy, because every os.h
Ryan Bloom [Tue, 8 Aug 2000 04:27:40 +0000 (04:27 +0000)]
Document os.h.  I am only documenting the Unix copy, because every os.h
file has the same functions, and I don't want to duplicate docs.  When we
generate docs, we'll just grab them from this directory.

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

24 years agoA few more (last?) ap_xlate->apr_xlate changes covering stuff not completely
Jeff Trawick [Mon, 7 Aug 2000 20:11:37 +0000 (20:11 +0000)]
A few more (last?) ap_xlate->apr_xlate changes covering stuff not completely
handled in the big apr rename last week.

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

24 years agoInclude apr_strings.h to avoid missing-prototype warning.
Jeff Trawick [Mon, 7 Aug 2000 20:09:44 +0000 (20:09 +0000)]
Include apr_strings.h to avoid missing-prototype warning.

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

24 years agoFix some problems with the apr conversion so that APACHE_XLATE builds work
Jeff Trawick [Mon, 7 Aug 2000 19:26:02 +0000 (19:26 +0000)]
Fix some problems with the apr conversion so that APACHE_XLATE builds work
again.

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

24 years agoDocument util_script using ScanDoc
Ryan Bloom [Mon, 7 Aug 2000 03:07:50 +0000 (03:07 +0000)]
Document util_script using ScanDoc

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

24 years agoDocument util_ebcdic.h with ScanDoc
Ryan Bloom [Mon, 7 Aug 2000 01:48:55 +0000 (01:48 +0000)]
Document util_ebcdic.h with ScanDoc

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

24 years agoUse AP_INIT_* macros for command_rec [] in a few more modules.
Jeff Trawick [Sun, 6 Aug 2000 22:38:23 +0000 (22:38 +0000)]
Use AP_INIT_* macros for command_rec [] in a few more modules.

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

24 years agoRemove some values that aren't needed anymore. These were used at one time
Ryan Bloom [Sun, 6 Aug 2000 21:17:33 +0000 (21:17 +0000)]
Remove some values that aren't needed anymore.  These were used at one time
while writing this MPM, but they are obsolete now.

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

24 years agoDocument util_date.h using ScanDoc
Ryan Bloom [Sun, 6 Aug 2000 15:34:03 +0000 (15:34 +0000)]
Document util_date.h using ScanDoc

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

24 years agoSome enhancements for OS/2 ap_canonical_filename:
Brian Havard [Sun, 6 Aug 2000 15:07:41 +0000 (15:07 +0000)]
Some enhancements for OS/2 ap_canonical_filename:
- Log proper error message instead of error code on failure
- In case of error caused by an invalid file name, don't return an empty
  string as that tends to confuse things rather than make them better.
- Avoid using the very expensive ap_os_systemcase_canonical_filename()
  unless it's truely necessary.

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

24 years agoAdd #include <unistd.h> for getpid() prototype.
Brian Havard [Sun, 6 Aug 2000 14:34:22 +0000 (14:34 +0000)]
Add #include <unistd.h> for getpid() prototype.

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

24 years agoFinish renaming AP_CTIME_LEN to APR_CTIME_LEN.
Jeff Trawick [Sun, 6 Aug 2000 12:15:57 +0000 (12:15 +0000)]
Finish renaming AP_CTIME_LEN to APR_CTIME_LEN.

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

24 years ago Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...
William A. Rowe Jr [Sun, 6 Aug 2000 06:07:53 +0000 (06:07 +0000)]
  Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...
  see src/lib/apr/apr_compat.h for most details.
  Also a few minor nits to get Win32 to build.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoDocument util_charset.h using ScanDoc
Ryan Bloom [Sun, 6 Aug 2000 05:17:52 +0000 (05:17 +0000)]
Document util_charset.h using ScanDoc

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

24 years agoDocument util_cfgtree using ScanDoc
Ryan Bloom [Sun, 6 Aug 2000 04:23:39 +0000 (04:23 +0000)]
Document util_cfgtree using ScanDoc

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

24 years agoDocument mpm_status.h using ScanDoc
Ryan Bloom [Sun, 6 Aug 2000 03:58:04 +0000 (03:58 +0000)]
Document mpm_status.h using ScanDoc

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

24 years agoDocument rfc1413 using ScanDoc
Ryan Bloom [Sun, 6 Aug 2000 03:23:26 +0000 (03:23 +0000)]
Document rfc1413 using ScanDoc

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

24 years agoUpdate the mpm_common.h file with docs to use ScanDoc
Ryan Bloom [Sun, 6 Aug 2000 02:21:06 +0000 (02:21 +0000)]
Update the mpm_common.h file with docs to use ScanDoc

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

24 years agoUse new AP_INIT_xxx macros & include apr_strings.h to get rid of warnings.
Jeff Trawick [Sun, 6 Aug 2000 02:13:15 +0000 (02:13 +0000)]
Use new AP_INIT_xxx macros & include apr_strings.h to get rid of warnings.

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

24 years agoUpdate http_vhost.h to use ScanDoc
Ryan Bloom [Sun, 6 Aug 2000 00:48:14 +0000 (00:48 +0000)]
Update http_vhost.h to use ScanDoc

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

24 years agoUpdate http_protocol.h to use ScanDoc.
Ryan Bloom [Sat, 5 Aug 2000 19:20:23 +0000 (19:20 +0000)]
Update http_protocol.h to use ScanDoc.

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

24 years agoRemove some old APIs. These were left around for legacy modules. Since
Ryan Bloom [Sat, 5 Aug 2000 17:32:08 +0000 (17:32 +0000)]
Remove some old APIs.  These were left around for legacy modules.  Since
we have broken all modules anyway, this is a good time to cleanup a bit.

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

24 years agoDocument http_main to use ScanDoc
Ryan Bloom [Sat, 5 Aug 2000 17:01:07 +0000 (17:01 +0000)]
Document http_main to use ScanDoc

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

24 years agoDocument http_core's public APIs for use with ScanDoc.
Ryan Bloom [Sat, 5 Aug 2000 16:50:39 +0000 (16:50 +0000)]
Document http_core's public APIs for use with ScanDoc.

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

24 years agoFix warnings about string functions.
Brian Havard [Sat, 5 Aug 2000 16:04:56 +0000 (16:04 +0000)]
Fix warnings about string functions.

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

24 years agoFinish (almost) Ryan's change of apr_filter_t back to ap_filter_t so
Jeff Trawick [Sat, 5 Aug 2000 12:28:42 +0000 (12:28 +0000)]
Finish (almost) Ryan's change of apr_filter_t back to ap_filter_t so
that apache builds again.
AFAICT, there is one last occurrence of apr_filter_t in ryan.patch.

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

24 years agoFix a small name mix-up. Filters are part of Apache, and should have the
Ryan Bloom [Sat, 5 Aug 2000 04:38:58 +0000 (04:38 +0000)]
Fix a small name mix-up.  Filters are part of Apache, and should have the
ap_ prefix, not apr_

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

24 years agoFix a config tree problem.
Jeff Trawick [Fri, 4 Aug 2000 23:22:57 +0000 (23:22 +0000)]
Fix a config tree problem.

The following configuration file demonstrates the problem:

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteMap    quux-map       prg:/tmp/apache-2.0/map.quux.pl
RewriteRule   ^/~quux/(.*)$  /~quux/${quux-map:$1}
</IfModule>

After this config file is parsed, the only statement in the config
tree is the last statement in the IfModule container ("RewriteRule blah
blah").

The problem is that when ap_build_config_sub() handles this type of
construct, it moves *current to the end of the list before returning.
If this construct were the first thing in the file, the caller would
set conftree to *current, not realizing that there were list elements
before *current.  The caller doesn't have addressability to those list
elements.

With this change, ap_build_config_sub() sets *conftree before
walking *current to the end of the list.

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

24 years agoFix a small typo
Ryan Bloom [Fri, 4 Aug 2000 17:44:57 +0000 (17:44 +0000)]
Fix a small typo
Submitted by: Victor J. Orlikowski <v.j.orlikowski@gte.net>

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

24 years agoBump the numbers since a5 has been tagged already
Ryan Bloom [Fri, 4 Aug 2000 17:40:02 +0000 (17:40 +0000)]
Bump the numbers since a5 has been tagged already

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

24 years agoUpdate the version number for the new alpha release
Ryan Bloom [Fri, 4 Aug 2000 17:30:29 +0000 (17:30 +0000)]
Update the version number for the new alpha release

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

24 years agoThe announcement text for Apache 2.0a5
Ryan Bloom [Fri, 4 Aug 2000 17:26:12 +0000 (17:26 +0000)]
The announcement text for Apache 2.0a5

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

24 years ago Whoops; forgot to apply this to the 2.0 docs..
Ken Coar [Fri, 4 Aug 2000 11:44:17 +0000 (11:44 +0000)]
Whoops; forgot to apply this to the 2.0 docs..

Submitted by: Joshua Slive <slive@finance.commerce.ubc.ca>
Reviewed by: Ken Coar

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

24 years agoFix the Perchild MPM. This does work now. This change has us using
Ryan Bloom [Fri, 4 Aug 2000 07:07:33 +0000 (07:07 +0000)]
Fix the Perchild MPM.  This does work now.  This change has us using
socketpair instead of sockets created with AF_UNIX.  There is very little
chance this will work anywhere other than Linux, but it is a start.  I
have a machine with two virtual hosts, which are started as two different
users.  When I make requests for each virtual host, they pass the request
to the correct child process.  It is possible for a virtual host to have
multiple child processes all with the same user ID, and they all share
the responsability for answering requests.

There are a lot of bugs in this code, and it is not for the faint
hearted, but it works, and that's saying quite a bit in my mind.

Docs coming tomorrow.  Right now, it's time to sleep.

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

24 years agoDisable the dbm_ usage in mod_rewrite so that it links.
Jeff Trawick [Fri, 4 Aug 2000 02:25:08 +0000 (02:25 +0000)]
Disable the dbm_ usage in mod_rewrite so that it links.
Still to do: decide at config time whether any modules need dbm, whether
             to use the native one or sdbm, etc.

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

24 years agoMore progress with the perchild MPM. This is serving pages again, but
Ryan Bloom [Fri, 4 Aug 2000 00:21:07 +0000 (00:21 +0000)]
More progress with the perchild MPM.  This is serving pages again, but
only when the request is accepted by the server that supposed to serve the
result.  The biggest problem right now is descriptor passing.  This isn't
likely to work anyplace other than Linux right now either.

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

24 years agoClean up maintainer-mode compiles of mod_rewrite (use AP_INIT_xx macros
Jeff Trawick [Thu, 3 Aug 2000 03:09:32 +0000 (03:09 +0000)]
Clean up maintainer-mode compiles of mod_rewrite (use AP_INIT_xx macros
and clean up resulting warnings).

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

24 years agoDon't trace EINTR errors from accept() on the Unix socket.
Jeff Trawick [Wed, 2 Aug 2000 23:47:58 +0000 (23:47 +0000)]
Don't trace EINTR errors from accept() on the Unix socket.

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

24 years agoUpdate the perchild MPM. This does not work, but that is because Linux
Ryan Bloom [Wed, 2 Aug 2000 17:55:26 +0000 (17:55 +0000)]
Update the perchild MPM.  This does not work, but that is because Linux
doesn't use any of the standard methods for passing around file
descriptors.  I am setting this aside for a day or two, and then I will
come back and finish the implementation on a new OS.  This is highlighting
the need for descriptor passing in APR.

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

24 years agoConvert all of the apr_listen.h to ap_listen.h. This was a side effect
Ryan Bloom [Wed, 2 Aug 2000 14:44:51 +0000 (14:44 +0000)]
Convert all of the apr_listen.h to ap_listen.h.  This was a side effect
of Doug M. big change last night.

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

24 years agoprefix libapr functions and types with apr_
Doug MacEachern [Wed, 2 Aug 2000 05:27:38 +0000 (05:27 +0000)]
prefix libapr functions and types with apr_

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

24 years agoUse the AP_INIT_TAKE23() macro to clean up a maintainer-mode warning,
Jeff Trawick [Wed, 2 Aug 2000 02:30:23 +0000 (02:30 +0000)]
Use the AP_INIT_TAKE23() macro to clean up a maintainer-mode warning,
then fix the warnings resulting from AP_INIT_TAKE23() :)

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

24 years agoUse the AP_INIT_FLAG() macro to clean up a maintainer-mode warning.
Jeff Trawick [Wed, 2 Aug 2000 01:01:12 +0000 (01:01 +0000)]
Use the AP_INIT_FLAG() macro to clean up a maintainer-mode warning.

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

24 years ago-DMPMT_PTHREAD is no longer needed.
Jeff Trawick [Wed, 2 Aug 2000 00:56:28 +0000 (00:56 +0000)]
-DMPMT_PTHREAD is no longer needed.

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

24 years agoThis serves requests again, although it still doesn't forward requests off
Ryan Bloom [Tue, 1 Aug 2000 20:25:56 +0000 (20:25 +0000)]
This serves requests again, although it still doesn't forward requests off
to the correct socket yet.

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

24 years agoComplete redesign of this MPM. This is almost working now.
Ryan Bloom [Tue, 1 Aug 2000 18:58:19 +0000 (18:58 +0000)]
Complete redesign of this MPM.  This is almost working now.

HOW IT WORKS:
    In the config file, the sysadmin specified:
         ChildPerUserID  uid gid num_processes
    and in each virtual host:
         AssignUserID  uid gid

    The MPM creates a unix domain socket for each uid/gid pair, and if any
    child processes are left over, one for the default user and group
    specified in the main config.

    When a child process is started, it looks at what it's user id and group
    id are supposed to be.  It then inserts the correct socket into it's
    listen array, and switches to the uid and gid specified.

    When a request comes in, whichever child gets the request looks at which
    child process it is actually for, and if it isn't for the current
    process, the request gets forwarded through the unix domain socket to the
    correct child process.  From there, processing continues normally.

    Currently, no requests are forwarded, but everything seems to be working.

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

24 years agoAdd a NO_DETACH environment variable to all MPMs that understand
Ryan Bloom [Tue, 1 Aug 2000 17:36:13 +0000 (17:36 +0000)]
Add a NO_DETACH environment variable to all MPMs that understand
ONE_PROCESS.  This allows Apache to start up without detaching from
the controlling terminal, but also not going into single process mode.
The main purpose of this patch is to make it very easy to debug the
child process startup code.
PR: 2144

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

24 years ago Put back PR#6347, but note that it's waiting for an external
Ken Coar [Tue, 1 Aug 2000 17:06:20 +0000 (17:06 +0000)]
Put back PR#6347, but note that it's waiting for an external
entity.  Add a 'Status:' line for each PR, but don't remove
any -- because if they're not in STATUS, they essentially
don't exist.  If we're not serious about dealing with them,
let's just close them.  If we *are* serious, they should be
in the work-to-do list.

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