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

24 years agoRemove a PR that depends on the submitter (or someone else) getting a
Tony Finch [Tue, 1 Aug 2000 16:45:55 +0000 (16:45 +0000)]
Remove a PR that depends on the submitter (or someone else) getting a
proper IANA allocation for the JNG and MNG MIME types so it's out of our
hands.

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

24 years ago We've been ignoring lots of PRs forever, marking them as
Ken Coar [Tue, 1 Aug 2000 15:56:07 +0000 (15:56 +0000)]
We've been ignoring lots of PRs forever, marking them as
'suspended' with the supposed intention of either implementing
them someday or saying why not.  Well, it's about time we did
something with them, so now they're listed in STATUS for people
to work on as they may.

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

24 years agoWin32: Add sdbm to the windows build
Bill Stoddard [Mon, 31 Jul 2000 20:50:17 +0000 (20:50 +0000)]
Win32: Add sdbm to the windows build

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

24 years agoInclude <strings.h> if we have it to get protos for strcase* on AIX.
Jeff Trawick [Mon, 31 Jul 2000 17:22:01 +0000 (17:22 +0000)]
Include <strings.h> if we have it to get protos for strcase* on AIX.
Submitted by: Victor J. Orlikowski <vjo@raleigh.ibm.com>
Reviewed by: Jeff Trawick

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

24 years agoRemove a bug from the STATUS file. Manoj tested the patch I committed,
Ryan Bloom [Mon, 31 Jul 2000 16:27:12 +0000 (16:27 +0000)]
Remove a bug from the STATUS file.  Manoj tested the patch I committed,
and he said it seems to work.

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

24 years agoFix some problems with which error code to use after a pthread_ failure.
Jeff Trawick [Mon, 31 Jul 2000 15:39:19 +0000 (15:39 +0000)]
Fix some problems with which error code to use after a pthread_ failure.
Most of the changes added support for PTHREAD_SETS_ERRNO; a few of the
changes fixed bugs in existing code which always used errno (which
doesn't get the right error code on most platforms).

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

24 years agoDon't use perror() to report the failure of an APR function.
Jeff Trawick [Mon, 31 Jul 2000 14:50:50 +0000 (14:50 +0000)]
Don't use perror() to report the failure of an APR function.
Introduce apr_err() for that purpose.

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

24 years agoMake http_log use ScanDoc
Ryan Bloom [Mon, 31 Jul 2000 03:54:20 +0000 (03:54 +0000)]
Make http_log use ScanDoc

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

24 years agoThis makes the perchild MPM server requests again, but it still isn't
Ryan Bloom [Mon, 31 Jul 2000 03:34:45 +0000 (03:34 +0000)]
This makes the perchild MPM server requests again, but it still isn't
passing requests to other children.  That's next.

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

24 years agoDocument http_connection.h using ScanDoc
Ryan Bloom [Mon, 31 Jul 2000 03:14:36 +0000 (03:14 +0000)]
Document http_connection.h using ScanDoc

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

24 years agoNote the patch for graceful restarts in the STATUS file
Ryan Bloom [Mon, 31 Jul 2000 01:41:02 +0000 (01:41 +0000)]
Note the patch for graceful restarts in the STATUS file

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

24 years agoMake the Unix MPMs not clean the scoreboard on a graceful restart. This
Ryan Bloom [Mon, 31 Jul 2000 01:39:54 +0000 (01:39 +0000)]
Make the Unix MPMs not clean the scoreboard on a graceful restart.  This
compiles, but it hasn't actually been tested yet.

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

24 years agoGet dsos working again by including $(LTFLAGS) on the command-line for
Jeff Trawick [Sun, 30 Jul 2000 23:06:57 +0000 (23:06 +0000)]
Get dsos working again by including $(LTFLAGS) on the command-line for
the --mode=link invocations of libtool/shlibtool.  The lack of LTFLAGS
resulted in no -export-dynamic, and dsos couldn't resolve symbols in
httpd.

LTFLAGS was lost in the 1.23 revision of rules.mk.

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

24 years agoFinish the http_config.h documentation. :-)
Ryan Bloom [Sun, 30 Jul 2000 18:25:46 +0000 (18:25 +0000)]
Finish the http_config.h documentation.  :-)

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

24 years agoAdd more of the comments to http_config.h. This is a horrible job by the
Ryan Bloom [Sun, 30 Jul 2000 17:28:31 +0000 (17:28 +0000)]
Add more of the comments to http_config.h.  This is a horrible job by the
way.

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

24 years agoWireless LANs are soooooo cool. Oh, and the weather was ummm,
Manoj Kasichainula [Sun, 30 Jul 2000 12:27:03 +0000 (12:27 +0000)]
Wireless LANs are soooooo cool. Oh, and the weather was ummm,
something today too...

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

24 years agoEliminate references to specific MPMs from mpm_common.c by having the
Manoj Kasichainula [Sun, 30 Jul 2000 12:03:48 +0000 (12:03 +0000)]
Eliminate references to specific MPMs from mpm_common.c by having the
MPMs export interfaces to the tables used to keep track of children.

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

24 years agoChange semantics of ap_child_table somewhat. Instead of checking for a
Manoj Kasichainula [Sun, 30 Jul 2000 11:49:29 +0000 (11:49 +0000)]
Change semantics of ap_child_table somewhat. Instead of checking for a
dead process with status == SERVER_DEAD, check with pid == 0. This
makes somewhat more sense conceptually, and also matches the behavior
of MPMs that use a shmem scoreboard to track children.

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

24 years agoFix a couple of apparent typos.
Manoj Kasichainula [Sun, 30 Jul 2000 09:10:30 +0000 (09:10 +0000)]
Fix a couple of apparent typos.

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

24 years agoUp HARD_THREAD_LIMIT. Handle it correctly in mpm_winnt.c
Bill Stoddard [Sun, 30 Jul 2000 04:53:33 +0000 (04:53 +0000)]
Up HARD_THREAD_LIMIT. Handle it correctly in mpm_winnt.c

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

24 years agomod_file_cache docco
Bill Stoddard [Sun, 30 Jul 2000 04:12:37 +0000 (04:12 +0000)]
mod_file_cache docco

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

24 years agoUse ap_dso_error() instead of ap_strerror() when ap_dso_sym() fails.
Jeff Trawick [Sun, 30 Jul 2000 02:03:42 +0000 (02:03 +0000)]
Use ap_dso_error() instead of ap_strerror() when ap_dso_sym() fails.

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

24 years agoBegin to document http_config.h. This documents most (if not all) of the
Ryan Bloom [Sat, 29 Jul 2000 21:05:40 +0000 (21:05 +0000)]
Begin to document http_config.h.  This documents most (if not all) of the
structures defined by this header file.  The functions will be the next
thing that needs documenting.

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

24 years agoMove the Server Token stuff out of http_config_globals.h because it is
Ryan Bloom [Sat, 29 Jul 2000 19:50:08 +0000 (19:50 +0000)]
Move the Server Token stuff out of http_config_globals.h because it is
now isolated in http_core.c

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

24 years agoMissed the footer
Bill Stoddard [Sat, 29 Jul 2000 19:49:43 +0000 (19:49 +0000)]
Missed the footer

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

24 years ago1.3 -> 2.0
Bill Stoddard [Sat, 29 Jul 2000 19:47:47 +0000 (19:47 +0000)]
1.3 -> 2.0

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

24 years agoCopy some 1.3 doc to 2.0
Bill Stoddard [Sat, 29 Jul 2000 19:43:35 +0000 (19:43 +0000)]
Copy some 1.3 doc to 2.0

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

24 years agoDocument ap_mpm.h using ScanDoc.
Ryan Bloom [Sat, 29 Jul 2000 18:49:51 +0000 (18:49 +0000)]
Document ap_mpm.h using ScanDoc.

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

24 years agoDocument ap_mmn.h using ScanDoc
Ryan Bloom [Sat, 29 Jul 2000 18:29:12 +0000 (18:29 +0000)]
Document ap_mmn.h using ScanDoc

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

24 years agoDocument ap_listen.h using ScanDoc.
Ryan Bloom [Sat, 29 Jul 2000 18:23:38 +0000 (18:23 +0000)]
Document ap_listen.h using ScanDoc.

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

24 years agoRemove iol_socket.h. This file had one declaration, and it makes more
Ryan Bloom [Sat, 29 Jul 2000 16:24:15 +0000 (16:24 +0000)]
Remove iol_socket.h.  This file had one declaration, and it makes more
sense for that declaraion to move to ap_iol.h.  This also modifies all of
the files that include iol_socket.h to include ap_iol.h

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

24 years agoAdd a small doc on how to document the APIs for use with ScanDoc.
Ryan Bloom [Sat, 29 Jul 2000 14:30:29 +0000 (14:30 +0000)]
Add a small doc on how to document the APIs for use with ScanDoc.

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

24 years agoconvert some -1 back to errno.
Ryan Bloom [Sat, 29 Jul 2000 14:14:32 +0000 (14:14 +0000)]
convert some -1 back to errno.

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

24 years agoAssociate virtual hosts with a specific child process. This doesn't
Ryan Bloom [Sat, 29 Jul 2000 07:29:48 +0000 (07:29 +0000)]
Associate virtual hosts with a specific child process.  This doesn't
work quite yet.  The problem right now is that the thread doesn't really
have the logic required to pass the request to the next child process.

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

24 years agoChange the storage allocation mechanism for ap_proc_t structures
Jeff Trawick [Sat, 29 Jul 2000 03:08:13 +0000 (03:08 +0000)]
Change the storage allocation mechanism for ap_proc_t structures
passed to ap_note_subprocess() by mod_rewrite and mod_include.  The
storage needs to last as long as the pool passed to
ap_note_subprocess(), so autodata won't work.

The mod_rewrite change wasn't tested.  A normal build with mod_rewrite
on Linux currently results in the link failing due to unresolved
references to dbm_*.

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

24 years agoFix segfault/SIGSEGV when running gzip from mod_mime_magic.c.
Jeff Trawick [Sat, 29 Jul 2000 02:04:49 +0000 (02:04 +0000)]
Fix segfault/SIGSEGV when running gzip from mod_mime_magic.c.
An invalid ap_proc_t was passed to ap_create_process().

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

24 years agoAdd the ability to register filters. This commit introduces a warning
Ryan Bloom [Fri, 28 Jul 2000 20:31:02 +0000 (20:31 +0000)]
Add the ability to register filters.  This commit introduces a warning
into the build.  This warning will be removed automatically, as soon as
we decide on a prototype for the function causing the warning.  That
decision is tied to which filtering mechanism we decide on.
Submitted by: Ryan Bloom and Greg Stein

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

24 years agoFix a small typo. TAKE3 directives really do need to take all 3 arguments.
Ryan Bloom [Fri, 28 Jul 2000 20:12:42 +0000 (20:12 +0000)]
Fix a small typo.  TAKE3 directives really do need to take all 3 arguments.
Submitted by: Jeff Trawick

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

24 years agoCleanup the perchild MPM. What I am doing so far in this MPM does not
Ryan Bloom [Fri, 28 Jul 2000 19:34:39 +0000 (19:34 +0000)]
Cleanup the perchild MPM.  What I am doing so far in this MPM does not
require hashes.  This makes it much easier to now associate the child
process with a virtual host.

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

24 years agoAdd the macro for AP_INIT_TAKE3 directives. I am assuming this was left
Ryan Bloom [Fri, 28 Jul 2000 18:53:01 +0000 (18:53 +0000)]
Add the macro for AP_INIT_TAKE3 directives.  I am assuming this was left
out by mistake.

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

24 years agoRemove the mod_cgid-won't-go-away problem from the STATUS file.
Jeff Trawick [Fri, 28 Jul 2000 18:16:47 +0000 (18:16 +0000)]
Remove the mod_cgid-won't-go-away problem from the STATUS file.

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

24 years agoUse ap_note_subprocess() to register the mod_cgid daemon process for cleanup
Jeff Trawick [Fri, 28 Jul 2000 18:15:21 +0000 (18:15 +0000)]
Use ap_note_subprocess() to register the mod_cgid daemon process for cleanup
so that it is killed at termination if it does not die when the parent gets
SIGTERM.  This change is to fix occasional problems where the process stays
around.

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

24 years agoUpdate the perchild MPM. At this point, it is possible to specify that
Ryan Bloom [Fri, 28 Jul 2000 17:45:13 +0000 (17:45 +0000)]
Update the perchild MPM.  At this point, it is possible to specify that
a child process runs as a specified user.  That child process is not
currently tied to a virtual host.  Using this MPM, I can launch Apache
and have it serve as both nobody and rbb.

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

24 years agoDon't bark at developers which are too lazy to pull down the htdocs
Sascha Schumann [Fri, 28 Jul 2000 16:22:32 +0000 (16:22 +0000)]
Don't bark at developers which are too lazy to pull down the htdocs
module. ;-)

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

24 years agoInstall htdocs again. This was recently removed for an unknown (or at
Jeff Trawick [Fri, 28 Jul 2000 15:39:47 +0000 (15:39 +0000)]
Install htdocs again.  This was recently removed for an unknown (or at
least unmentioned) reason.

Crash course on populating the htdocs directory:

cd myprefix/apache-2.0
cvs checkout -d htdocs httpd-docs-2.0/htdocs

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

24 years agoWin32: Enable compiling expat from the command line
Bill Stoddard [Fri, 28 Jul 2000 14:18:51 +0000 (14:18 +0000)]
Win32: Enable compiling expat from the command line

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

24 years agoap.h had nothing in it. I am removing it from Apache 2.0 all together.
Ryan Bloom [Fri, 28 Jul 2000 01:57:04 +0000 (01:57 +0000)]
ap.h had nothing in it.  I am removing it from Apache 2.0 all together.
This also removes it from the two files that were actually including it.

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

24 years agoDon't try to process a connection when accept() failed.
Jeff Trawick [Thu, 27 Jul 2000 23:05:44 +0000 (23:05 +0000)]
Don't try to process a connection when accept() failed.

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

24 years agoWin32: Revamp NT shutdown code. I think this shutdown code is pretty close
Bill Stoddard [Thu, 27 Jul 2000 18:42:39 +0000 (18:42 +0000)]
Win32: Revamp NT shutdown code. I think this shutdown code is pretty close
to production ready. Introduce a two-phase shutdown. First phase is
shutdown_pending which prevents new contexts from being queued to the
AcceptEx completion port.  The server runs for a period (~1 second)
in this state to enable threads to drain the completion port of active
connections by handling the connections. This works very well on a busy
server as the contexts are consumed quickly and completely (leaving non
to cancel in the next phase).

The next phase is the workers_may exit phase, which prevents threads
from blocking on the completion port (especially important to prevent
threads unblocking off of keep-alive connections from calling
GetQueuedCompletionStatus).  One we enter this phase, all threads blocked on the
port (we track the number carefully) are unblocked and allowed to exit.
Then we cancel any pending i/o completion contexts on the listeners (those which
were not consumed naturally in the shutdown phase). Then we reap the ABORTED
completion packets off the port. (Possible to reap a few good "accepted"
connections here also. Oh well...). Once we are done reaping completion packets,
we release the start mutex which allows the new child (in a restart) to
begin accepting connections.

It is really REALLY important to not let multiple processes call
GetQueuedCompletionStatus at the same time.  Results are unpredictable.

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

24 years agoAdd a patch for review.
Ryan Bloom [Thu, 27 Jul 2000 14:39:13 +0000 (14:39 +0000)]
Add a patch for review.

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

24 years agoRemove some items that are done from the STATUS file.
Ryan Bloom [Thu, 27 Jul 2000 14:28:40 +0000 (14:28 +0000)]
Remove some items that are done from the STATUS file.

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

24 years agoNo idea how these 3 characters got there, but remove them so this file
David Reid [Thu, 27 Jul 2000 11:19:41 +0000 (11:19 +0000)]
No idea how these 3 characters got there, but remove them so this file
will build again.

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

24 years ago Another day's progress... little changes, but just establishing the
William A. Rowe Jr [Thu, 27 Jul 2000 05:23:17 +0000 (05:23 +0000)]
  Another day's progress... little changes, but just establishing the
  baseline for fully implementing extensions.  Filters... that's still
  a little way away.  This demonstrates the HSE_STATUS_PENDING result
  wait event trap, so we let another thread keep working till we get
  the HSE_REQ_DONE_WITH_SESSION request.  Cleaned up callback names
  and tossed bunches of stuff in the isapi_cid (connection/request) and
  the isapi_loaded (dll details) for future caching optimizations.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoAdd a new MPM. Currently this is almost an exact copy of the dexter MPM.
Ryan Bloom [Thu, 27 Jul 2000 00:16:32 +0000 (00:16 +0000)]
Add a new MPM.  Currently this is almost an exact copy of the dexter MPM.
In time, this will be the MPM that allows each child process to have a
unique user id.  I need a place to work and keep track of my changes.
Don't expect this to work until next week sometime.

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

24 years agoCleanup the MPM #defines. Each MPM #defines a unique name that identifies
Ryan Bloom [Thu, 27 Jul 2000 00:04:11 +0000 (00:04 +0000)]
Cleanup the MPM #defines.  Each MPM #defines a unique name that identifies
it to the system.  That name should be of the format NAME_MPM where name
is something like DEXTER, MPMT_PTHREAD, SPMT_OS2, etc.

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

24 years agoFix a bug in our time parsing. We need to zero out a few fields so that
Ryan Bloom [Wed, 26 Jul 2000 18:44:01 +0000 (18:44 +0000)]
Fix a bug in our time parsing.  We need to zero out a few fields so that
the imploded date is valid.
PR: 6266

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

24 years agoFix some build issues for dexter:
Jeff Trawick [Wed, 26 Jul 2000 18:07:34 +0000 (18:07 +0000)]
Fix some build issues for dexter:

. dexter/scoreboard.c needed apr_strings.h to get the right
  function prototypes

. main/mpm_common.c needed to recognize that we were building
  for dexter; otherwise, no ap_reclaim_child_processes() was
  compiled and linking failed

(It would be nice to standardize on which preprocessor symbols
are checked for...  mpmname_MPM seems nice enough.  Didn't the
check for symbol mpmname (no "_MPM") come with mpmt.c?)

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

24 years agoBack out some changes that weren't supposed to be in my last commit.
Ryan Bloom [Wed, 26 Jul 2000 15:33:39 +0000 (15:33 +0000)]
Back out some changes that weren't supposed to be in my last commit.

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

24 years agoRemove all of the ap_is* functions from Apache. They were already in APR,
Ryan Bloom [Wed, 26 Jul 2000 15:31:30 +0000 (15:31 +0000)]
Remove all of the ap_is* functions from Apache.  They were already in APR,
and we all hate duplicate code.  :-)  This also required adding ap_isascii
to APR.

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

24 years agopacket minimization when doing sendfile...
Jeff Trawick [Wed, 26 Jul 2000 14:29:34 +0000 (14:29 +0000)]
packet minimization when doing sendfile...

When preparing to call iol_sendfile(), don't call ap_bflush() first.
Instead, pass the data ap_bflush() would have written (if any) to
iol_sendfile() as a header.  In practice, this prevents sending headers
separately from the first part of the file.
Submitted by: Greg Ames
Reviewed by: Jeff Trawick

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

24 years agoGet ap_socket_disable_nagle() working again.
Jeff Trawick [Wed, 26 Jul 2000 14:12:38 +0000 (14:12 +0000)]
Get ap_socket_disable_nagle() working again.
Submitted by: Greg Ames
Reviewed by: Jeff Trawick

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