]> granicus.if.org Git - apache/log
apache
24 years agoAdd strucutre to autoconf-config system to allow modules to specify
Manoj Kasichainula [Mon, 6 Dec 1999 05:01:32 +0000 (05:01 +0000)]
Add strucutre to autoconf-config system to allow modules to specify
config tests to run if they are enabled.

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

24 years agoMake most other modules selectable by autoconf's ./configure.
Manoj Kasichainula [Mon, 6 Dec 1999 04:44:07 +0000 (04:44 +0000)]
Make most other modules selectable by autoconf's ./configure.

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

24 years agoOops, changed the default status of mod_env for testing and committed
Manoj Kasichainula [Mon, 6 Dec 1999 03:39:36 +0000 (03:39 +0000)]
Oops, changed the default status of mod_env for testing and committed
it.

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

24 years agoMove the default status of module inclusion/exclusion into the
Manoj Kasichainula [Mon, 6 Dec 1999 03:34:35 +0000 (03:34 +0000)]
Move the default status of module inclusion/exclusion into the
STANDARD_MODULE macro, to make it a little more maintainable.

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

24 years agoMake the call to configure a module a little simpler if the module
Manoj Kasichainula [Mon, 6 Dec 1999 02:36:02 +0000 (02:36 +0000)]
Make the call to configure a module a little simpler if the module
struct's name is the same as the module's.

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

24 years agoI shouldn't have to explicitly provide an MPM. I am setting the default
Ryan Bloom [Sun, 5 Dec 1999 19:36:42 +0000 (19:36 +0000)]
I shouldn't have to explicitly provide an MPM.  I am setting the default
as mpmt_pthread.  I would much rather it was prefork, but the autoconf
work hasn't progressed to the point that prefork will work yet.  When it
does work, I expect the default to change.

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

24 years agoautoconf: Start adding support for selecting modules on the
Manoj Kasichainula [Sun, 5 Dec 1999 10:33:41 +0000 (10:33 +0000)]
autoconf: Start adding support for selecting modules on the
./configure line. This commit only supports mod_env and mod_log_config.

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

24 years agoThe possibility of a libenv module and a libenv system library (for
Manoj Kasichainula [Sun, 5 Dec 1999 09:09:16 +0000 (09:09 +0000)]
The possibility of a libenv module and a libenv system library (for
example) irks me. Take a page from PHP and make the module's library
names unique.

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

24 years agoautoconf: Generate modules.c based on configuration. This is the first
Manoj Kasichainula [Sun, 5 Dec 1999 08:54:39 +0000 (08:54 +0000)]
autoconf: Generate modules.c based on configuration. This is the first
step to supporting selection of modules, and it seems to make --with-mpm
actually work now.

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

24 years agoDisable the DYLD_CANT_UNLOAD workaround for Mac OS X Server, since the
Wilfredo Sanchez [Sat, 4 Dec 1999 02:56:18 +0000 (02:56 +0000)]
Disable the DYLD_CANT_UNLOAD workaround for Mac OS X Server, since the
current version (and the patched older version) doesn't need this any
more.  We don't want to delete the code from unix/os.c, however,
because OpenStep's dyld needs it.

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

24 years agoThe Unix MPMs were depending on APR for signal.h, and broke. Add an
Manoj Kasichainula [Fri, 3 Dec 1999 22:11:31 +0000 (22:11 +0000)]
The Unix MPMs were depending on APR for signal.h, and broke. Add an
explicit #include for it back in.

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

24 years agoWe may not always want to make the pipes between processes non-blocking.
Ryan Bloom [Thu, 2 Dec 1999 18:36:39 +0000 (18:36 +0000)]
We may not always want to make the pipes between processes non-blocking.
This patch allows us to set if both sides of the pipes are nonblocking,
both sides are blocking, just the parent side blocks, or just the child
side blocks for all three of the pipes created during create_process.  I
have also modified Apache to take advantage of this change.

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

24 years agoBring mod_mime_magic to Apache 2.0.
Ryan Bloom [Thu, 2 Dec 1999 16:00:41 +0000 (16:00 +0000)]
Bring mod_mime_magic to Apache 2.0.
Submitted by:  Paul Reder
Reviewed by: Ryan Bloom

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

24 years agoA thread (of messages) in comp.programming.threads reminded me of this.
Manoj Kasichainula [Thu, 2 Dec 1999 06:33:05 +0000 (06:33 +0000)]
A thread (of messages) in comp.programming.threads reminded me of this.
Blaaaah

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

24 years ago Add the long-awaited IndexOptions DescriptionWidth keyword.
Ken Coar [Wed, 1 Dec 1999 22:10:32 +0000 (22:10 +0000)]
Add the long-awaited IndexOptions DescriptionWidth keyword.
It was waiting for a way to avoid breaking HTML tags, but
that's already been done as much as possible -- we can't
do anything about breaking HTML elements without putting
a full parser in.

PR: 2324

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

24 years ago Add a FoldersFirst keyword to the IndexOptions directive, which
Ken Coar [Wed, 1 Dec 1999 20:33:48 +0000 (20:33 +0000)]
Add a FoldersFirst keyword to the IndexOptions directive, which
causes subdirectories to always appear first in FancyIndexed
listings.

Reviewed by: Ryan Bloom, Martin Kraemer, Jim Jagielski

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

24 years agoFix a couple of comments
Manoj Kasichainula [Wed, 1 Dec 1999 04:57:07 +0000 (04:57 +0000)]
Fix a couple of comments

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

24 years agoPlace ap_config_auto.h in src/include. It didn't seem to work earlier,
Manoj Kasichainula [Wed, 1 Dec 1999 04:25:01 +0000 (04:25 +0000)]
Place ap_config_auto.h in src/include. It didn't seem to work earlier,
but it does now. *shrug*

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

24 years agoFix what I think is a bug where rlim_t won't be #defined on systems
Manoj Kasichainula [Wed, 1 Dec 1999 01:21:38 +0000 (01:21 +0000)]
Fix what I think is a bug where rlim_t won't be #defined on systems
that need it if the autoconf check for it was cached.

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

24 years agoEliminate ap_config.h's checks when using autoconf. Now, ap_ac_config.h
Manoj Kasichainula [Wed, 1 Dec 1999 01:16:23 +0000 (01:16 +0000)]
Eliminate ap_config.h's checks when using autoconf. Now, ap_ac_config.h
is used instead, and autoconf's configure script will check for
everything else.

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

24 years agoGet rid of ap_check_signals() in all but the prefork MPM, and #define it
Manoj Kasichainula [Wed, 1 Dec 1999 00:45:02 +0000 (00:45 +0000)]
Get rid of ap_check_signals() in all but the prefork MPM, and #define it
away there. It's a TPF-specific piece that will likely go into a TPF
MPM.

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

24 years agoRemove a vestige of the old timeout system. ident lookups need timeouts,
Manoj Kasichainula [Wed, 1 Dec 1999 00:25:18 +0000 (00:25 +0000)]
Remove a vestige of the old timeout system. ident lookups need timeouts,
though.

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

24 years agoSome compile fixes for the piped log code. It doesn't completely
Manoj Kasichainula [Tue, 30 Nov 1999 23:27:29 +0000 (23:27 +0000)]
Some compile fixes for the piped log code. It doesn't completely
completely compile, but it looks a little better.

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

24 years agoAdd apr_thread_proc.h so it can find ap_proc_t.
Manoj Kasichainula [Tue, 30 Nov 1999 21:57:37 +0000 (21:57 +0000)]
Add apr_thread_proc.h so it can find ap_proc_t.

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

24 years agoDelete remnants of ap_spawnvp that got missed earlier.
Manoj Kasichainula [Tue, 30 Nov 1999 05:56:17 +0000 (05:56 +0000)]
Delete remnants of ap_spawnvp that got missed earlier.

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

24 years agoDeal with times() properly in autoconf. This also changes NO_TIMES to
Manoj Kasichainula [Tue, 30 Nov 1999 03:52:57 +0000 (03:52 +0000)]
Deal with times() properly in autoconf. This also changes NO_TIMES to
!HAVE_TIMES.

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

24 years agoThe extra (n < 1) check is redundant, leftover from pre-APR code.
Manoj Kasichainula [Tue, 30 Nov 1999 03:36:33 +0000 (03:36 +0000)]
The extra (n < 1) check is redundant, leftover from pre-APR code.

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

24 years agoSome extra autoconf macros that might help us compile on "a POSIXized
Manoj Kasichainula [Tue, 30 Nov 1999 03:07:32 +0000 (03:07 +0000)]
Some extra autoconf macros that might help us compile on "a POSIXized
ISC UNIX" or MINIX if someone ever tries to do it.

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

24 years agoFix a thinko. Apache's configure.in shouldn't attempt to create APR's
Manoj Kasichainula [Tue, 30 Nov 1999 02:40:56 +0000 (02:40 +0000)]
Fix a thinko. Apache's configure.in shouldn't attempt to create APR's
Makefile.

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

24 years agomore accurate reflection of reality
dgaudet [Tue, 30 Nov 1999 00:52:30 +0000 (00:52 +0000)]
more accurate reflection of reality

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

24 years agoAutoconf can heal your family strife. And it's also a floor wax!
Manoj Kasichainula [Tue, 30 Nov 1999 00:10:23 +0000 (00:10 +0000)]
Autoconf can heal your family strife. And it's also a floor wax!

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

24 years agoThe second part of the big autoconf patch, which actually adds autoconf
Manoj Kasichainula [Mon, 29 Nov 1999 23:47:33 +0000 (23:47 +0000)]
The second part of the big autoconf patch, which actually adds autoconf
building to the tree.

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

24 years agoThe first part of the big autoconf patch. This replaces a bunch of
Manoj Kasichainula [Mon, 29 Nov 1999 23:33:24 +0000 (23:33 +0000)]
The first part of the big autoconf patch. This replaces a bunch of
NEED_* macros with HAVE_* macros to be more consistent with autoconf.

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

24 years agoFirst cut at getting graceful restart working with the AcceptEx completion port
Bill Stoddard [Mon, 29 Nov 1999 21:14:06 +0000 (21:14 +0000)]
First cut at getting graceful restart working with the AcceptEx completion port

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

24 years agoAdded missing links to htdocs/manual/mod/directives.html
Ralf S. Engelschall [Sun, 28 Nov 1999 12:14:21 +0000 (12:14 +0000)]
Added missing links to htdocs/manual/mod/directives.html
for AllowCONNECT and ProxyDomain.

Submitted by: Patrik Grip-Jansson <patrikj@gnulix.org>, Ralf S. Engelschall
Reviewed by: Ralf S. Engelschall
PR: 5319

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

24 years agoFixed typo in htdocs/manual/install.html.
Ralf S. Engelschall [Sun, 28 Nov 1999 11:38:58 +0000 (11:38 +0000)]
Fixed typo in htdocs/manual/install.html.

Submitted by: Chris Pepper <pepper@tgg.com>
PR: 5360

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

24 years agoClean up some code that BeOS doesn't use.
David Reid [Wed, 24 Nov 1999 16:46:03 +0000 (16:46 +0000)]
Clean up some code that BeOS doesn't use.

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

24 years agoUpdate some dependancies. Move the final two files out of apr/inc and into
Ryan Bloom [Tue, 23 Nov 1999 13:47:01 +0000 (13:47 +0000)]
Update some dependancies.  Move the final two files out of apr/inc and into
apr/include.  Basically just finish some cleanup from some changes I've
been making over the last two days.

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

24 years agoHmmm, turns out that the nice event library for network events on PalmOS
Manoj Kasichainula [Tue, 23 Nov 1999 08:30:21 +0000 (08:30 +0000)]
Hmmm, turns out that the nice event library for network events on PalmOS
only applies to the wireless transceiver. Oh well, I guess select() will
have to do...

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

24 years agoFix a spelling mistake and we probably shouldn't put Internet Exploder in
rasmus [Mon, 22 Nov 1999 20:56:53 +0000 (20:56 +0000)]
Fix a spelling mistake and we probably shouldn't put Internet Exploder in
any official Apache documentation.

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

24 years agoClean up the getopt stuff a bit. Basically, I am removing the #define's,
Ryan Bloom [Mon, 22 Nov 1999 14:52:17 +0000 (14:52 +0000)]
Clean up the getopt stuff a bit.  Basically, I am removing the #define's,
and changing the names in the getopt.c file so that we are sure there is
no namespace collision between regular getopt's, and APR's getopt.

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

24 years agoUse APR's getopt
Martin Kraemer [Sun, 21 Nov 1999 22:10:22 +0000 (22:10 +0000)]
Use APR's getopt

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

24 years agoNext stage of ap_mmap support. Tested on FreeBSD and BeOS.
David Reid [Sat, 20 Nov 1999 11:56:13 +0000 (11:56 +0000)]
Next stage of ap_mmap support.  Tested on FreeBSD and BeOS.

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

24 years agoRemove the ap_thread_mutex code from all MPM's. This code isn't actually
Ryan Bloom [Fri, 19 Nov 1999 20:27:32 +0000 (20:27 +0000)]
Remove the ap_thread_mutex code from all MPM's.  This code isn't actually
being called anywhere, and I have compiled dexter, mpmt_pthread, and
prefork without it.  Away it goes.

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

24 years agoInitial version of CGI Daemon module. This module needs to be tested more
Ryan Bloom [Fri, 19 Nov 1999 20:22:51 +0000 (20:22 +0000)]
Initial version of CGI Daemon module.  This module needs to be tested more
thoroughly and cleanup up a bit, but it does execute CGI's currently.

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

24 years agoUpdate STATUS to get rid of the fprintf(stderr problem.
Ryan Bloom [Fri, 19 Nov 1999 18:59:48 +0000 (18:59 +0000)]
Update STATUS to get rid of the fprintf(stderr problem.

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

24 years agoFinish the conversion from fprintf(stderr -> ap_log_err.
Ryan Bloom [Fri, 19 Nov 1999 18:49:20 +0000 (18:49 +0000)]
Finish the conversion from fprintf(stderr -> ap_log_err.

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

24 years agoFirst step in removing the fprintf(stderr problem from Apache. Basically,
Ryan Bloom [Thu, 18 Nov 1999 23:07:53 +0000 (23:07 +0000)]
First step in removing the fprintf(stderr problem from Apache.  Basically,
I defined APLOG_STARTUP, which refrains from printing the date string
and the log level information in log_error_core.  I then changed all the
fprintf(stderr calls to ap_log_error, and used APLOG_STARTUP.
log_error_core on Unix takes care of creating a log file and directing
it to stderr if a log file isn't already active.  I will continue to
make these changes tomorrow.  Currently, the main code and the dexter
mpm have been modified.

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

24 years agoCleaned up the APRFile uses in Apache. Also removed the apr.h header file
Ryan Bloom [Wed, 17 Nov 1999 21:39:42 +0000 (21:39 +0000)]
Cleaned up the APRFile uses in Apache.  Also removed the apr.h header file
because it is no longer used.  Finally, I updated the dependancies to
compile cleanly.

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

24 years agoCleanup the ZZZ comments. Basically these used to mark places where APR
Ryan Bloom [Tue, 16 Nov 1999 18:32:05 +0000 (18:32 +0000)]
Cleanup the ZZZ comments.  Basically these used to mark places where APR
is needed.  It is much easier to do this conversion by hand than by
searching for old comments, so they are going away now.

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

24 years agoUpdate the STATUS file a bit.
Ryan Bloom [Tue, 16 Nov 1999 15:11:51 +0000 (15:11 +0000)]
Update the STATUS file a bit.

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

24 years agoexplain how ServerName interacts with NameVirtualHost better
Tony Finch [Tue, 16 Nov 1999 12:16:20 +0000 (12:16 +0000)]
explain how ServerName interacts with NameVirtualHost better

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

24 years agoap_clean_child_exit is static in dexter now, and the ap_ prefix is gone.
Manoj Kasichainula [Tue, 16 Nov 1999 03:00:38 +0000 (03:00 +0000)]
ap_clean_child_exit is static in dexter now, and the ap_ prefix is gone.

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

24 years agoEliminate acceptlock.c from mpmt_pthread. Use an APR type for the
Manoj Kasichainula [Mon, 15 Nov 1999 23:29:47 +0000 (23:29 +0000)]
Eliminate acceptlock.c from mpmt_pthread. Use an APR type for the
cross-process lock instead.

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

24 years agoAllow NO_SERIALIZED_ACCEPT to work.
Manoj Kasichainula [Mon, 15 Nov 1999 22:26:35 +0000 (22:26 +0000)]
Allow NO_SERIALIZED_ACCEPT to work.

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

24 years agoEliminate acceptlock.{c,h} in dexter. They mostly duplicated code in
Manoj Kasichainula [Mon, 15 Nov 1999 21:22:47 +0000 (21:22 +0000)]
Eliminate acceptlock.{c,h} in dexter. They mostly duplicated code in
APR.

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

24 years agoMoving Unix socket IOL's to use APR. Also fixed a small bug in ap_recv.
Ryan Bloom [Mon, 15 Nov 1999 19:50:25 +0000 (19:50 +0000)]
Moving Unix socket IOL's to use APR.  Also fixed a small bug in ap_recv.
We should NEVER return a status of APR_EAGAIN and say -1 bytes read.  This
can cause some strange bugs.

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

24 years agoremove a superfluous tag that I just spotted
Tony Finch [Sun, 14 Nov 1999 22:22:38 +0000 (22:22 +0000)]
remove a superfluous tag that I just spotted

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

24 years agoMake mod_so.c compile. Loading modules crashes for me though, haven't figured
Brian Havard [Sun, 14 Nov 1999 06:07:40 +0000 (06:07 +0000)]
Make mod_so.c compile. Loading modules crashes for me though, haven't figured
out why yet....

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

24 years agoFix a race condition found by David Colasurdo <davecola@us.ibm.com>. We
Manoj Kasichainula [Thu, 11 Nov 1999 22:57:19 +0000 (22:57 +0000)]
Fix a race condition found by David Colasurdo <davecola@us.ibm.com>. We
should make sure that the parent notes the creation of a child process
in the scoreboard so that perform_idle_server_maintanence doesn't get
the chance to claim that slot.

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

24 years agoUpdate the STATUS file with three new items.
Ryan Bloom [Thu, 11 Nov 1999 13:21:10 +0000 (13:21 +0000)]
Update the STATUS file with three new items.

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

24 years agoFix error logging calls (kinda).
Ben Laurie [Tue, 9 Nov 1999 09:33:52 +0000 (09:33 +0000)]
Fix error logging calls (kinda).

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

24 years agoAdd printf format for ssize_t.
Ben Laurie [Tue, 9 Nov 1999 09:01:15 +0000 (09:01 +0000)]
Add printf format for ssize_t.

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

24 years agomod_autoindex has a small bug when calling ap_readdir. This was
Bill Stoddard [Tue, 9 Nov 1999 03:41:11 +0000 (03:41 +0000)]
mod_autoindex has a small bug when calling ap_readdir. This was
causing empty indexes to be created. The following patch fixes
this problem
Submitted by: Paul Reder
Reviewed by: Bill Stoddard

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

24 years agoGet rid of dependency on os/win32/getopt.c & .h
Bill Stoddard [Mon, 8 Nov 1999 18:54:12 +0000 (18:54 +0000)]
Get rid of dependency on os/win32/getopt.c & .h

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

24 years agoGet rid of a number of 'incompatible pointer type' warnings using
Brian Havard [Mon, 8 Nov 1999 06:05:50 +0000 (06:05 +0000)]
Get rid of a number of 'incompatible pointer type' warnings using
ap_os_{get,put}_file() on platforms who's ap_os_file_t is not an int.

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

25 years agoStop using APR_BUFFERED for the error log and httpd.pid file. The error
Manoj Kasichainula [Fri, 5 Nov 1999 21:01:44 +0000 (21:01 +0000)]
Stop using APR_BUFFERED for the error log and httpd.pid file. The error
logging code has been tweaked a bit so that we still have one write per
log entry.

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

25 years agoExport ap_send_error_response
Bill Stoddard [Fri, 5 Nov 1999 15:45:05 +0000 (15:45 +0000)]
Export ap_send_error_response

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

25 years agoGet the Windows 95/98 specific code compiling. Have not tested it though...
Bill Stoddard [Thu, 4 Nov 1999 20:36:08 +0000 (20:36 +0000)]
Get the Windows 95/98 specific code compiling. Have not tested it though...

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

25 years agoMore stuff to do
Bill Stoddard [Thu, 4 Nov 1999 18:59:39 +0000 (18:59 +0000)]
More stuff to do

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

25 years agoToDo: timeout pipes to CGIs
Bill Stoddard [Thu, 4 Nov 1999 18:25:23 +0000 (18:25 +0000)]
ToDo: timeout pipes to CGIs

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

25 years agoSome updates to STATUS...
Bill Stoddard [Thu, 4 Nov 1999 15:16:15 +0000 (15:16 +0000)]
Some updates to STATUS...

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

25 years agoFirst cut at port to apache-2.0. Simple tests are working.
Ronald Tschalar [Thu, 4 Nov 1999 06:09:54 +0000 (06:09 +0000)]
First cut at port to apache-2.0. Simple tests are working.
Error handling is still not quite clear in some cases (especially in
conjunction with ap_pcfg_openfile), and random-number generation
still needs to be moved into APR.

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

25 years agoOS/2: Don't return APR_EOF from ap_read(). EOF is indicated by a APR_SUCCESS
Brian Havard [Wed, 3 Nov 1999 12:47:23 +0000 (12:47 +0000)]
OS/2: Don't return APR_EOF from ap_read(). EOF is indicated by a APR_SUCCESS
status with nbytes set to 0.

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

25 years agoFix yet another APR bug. This one caused sporadic CGI failures.
Manoj Kasichainula [Wed, 3 Nov 1999 07:29:02 +0000 (07:29 +0000)]
Fix yet another APR bug. This one caused sporadic CGI failures.

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

25 years agoFix bug setting localaddr and remoteaddr
Bill Stoddard [Wed, 3 Nov 1999 02:38:42 +0000 (02:38 +0000)]
Fix bug setting localaddr and remoteaddr

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

25 years agoNo, PalmOS doesn't have threads or any process support other
Manoj Kasichainula [Tue, 2 Nov 1999 23:18:28 +0000 (23:18 +0000)]
No, PalmOS doesn't have threads or any process support other
than a task swapper, but it has a TCP stack with non-blocking
I/O and an event subsystem that will report on socket status
changes. A PalmOS MPM shouldn't be too much trouble at all.

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

25 years agoAdd some return code checking and general tidying up.
Bill Stoddard [Tue, 2 Nov 1999 22:04:14 +0000 (22:04 +0000)]
Add some return code checking and general tidying up.

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

25 years agoAdd support for connection_info to BeOS. This follows the stuff
David Reid [Tue, 2 Nov 1999 17:29:26 +0000 (17:29 +0000)]
Add support for connection_info to BeOS.  This follows the stuff
Manoj has added to dexter.  Also take the opportunity to clean-up some
of the code.

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

25 years agoDe-errno ap_pcfg_openfile().
Brian Havard [Tue, 2 Nov 1999 15:15:08 +0000 (15:15 +0000)]
De-errno ap_pcfg_openfile().

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

25 years agoDelete useless code...
Bill Stoddard [Tue, 2 Nov 1999 14:34:32 +0000 (14:34 +0000)]
Delete useless code...

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

25 years agoFirst cut at adding a sendfile API to IOL. Eventually need to move iol_socket
Bill Stoddard [Tue, 2 Nov 1999 14:30:23 +0000 (14:30 +0000)]
First cut at adding a sendfile API to IOL. Eventually need to move iol_socket
into APR...

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

25 years agoChange the BeOS iol_socket layer to use apr. Also update mpmt_beos.c
David Reid [Tue, 2 Nov 1999 12:26:41 +0000 (12:26 +0000)]
Change the BeOS iol_socket layer to use apr.  Also update mpmt_beos.c
to reflect this change.

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

25 years agoFirst hack at getting mod_include to work. Everything seems to work ok but
Brian Havard [Mon, 1 Nov 1999 11:45:29 +0000 (11:45 +0000)]
First hack at getting mod_include to work. Everything seems to work ok but
error handling probably needs some work.

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

25 years agoOS/2: When shutting down, kill off child threads properly before shutting
Brian Havard [Mon, 1 Nov 1999 11:25:04 +0000 (11:25 +0000)]
OS/2: When shutting down, kill off child threads properly before shutting
down parent thread.

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

25 years agoOS/2: Bump up thread stack size. 64k just wasn't enough when doing
Brian Havard [Mon, 1 Nov 1999 10:58:55 +0000 (10:58 +0000)]
OS/2: Bump up thread stack size. 64k just wasn't enough when doing
sub-requests in mod_include.

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

25 years agoIn ap_send_fb_length() don't treat APR_EOF as a fatal error.
Brian Havard [Mon, 1 Nov 1999 10:50:47 +0000 (10:50 +0000)]
In ap_send_fb_length() don't treat APR_EOF as a fatal error.

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

25 years agoStill no progress on the PalmPilot MPM, though.
Manoj Kasichainula [Mon, 1 Nov 1999 04:30:52 +0000 (04:30 +0000)]
Still no progress on the PalmPilot MPM, though.

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

25 years agoFix mod_asis handler name. This was messed up with Ryans accidental
Brian Havard [Mon, 1 Nov 1999 04:27:05 +0000 (04:27 +0000)]
Fix mod_asis handler name. This was messed up with Ryans accidental
search/replace of "-i" -> " ap_context_t " and the subsequent fix was
slightly out.

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

25 years agoEliminate use of FILE * & ap_get_os_file() in mod_asis by APRizing
Brian Havard [Sun, 31 Oct 1999 09:26:03 +0000 (09:26 +0000)]
Eliminate use of FILE * & ap_get_os_file() in mod_asis by APRizing
ap_scan_script_header_err().

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

25 years agoFinish removing references to errno from buff, by introducing
Manoj Kasichainula [Sun, 31 Oct 1999 09:13:22 +0000 (09:13 +0000)]
Finish removing references to errno from buff, by introducing
ap_berror() to return the status from calls that don't return an
ap_status_t.

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

25 years agoUndo the ap_bgets errno patch. It will return status with ap_berror().
Manoj Kasichainula [Sun, 31 Oct 1999 09:02:55 +0000 (09:02 +0000)]
Undo the ap_bgets errno patch. It will return status with ap_berror().

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

25 years agoAn errnoless interface for ap_bgets
Manoj Kasichainula [Sat, 30 Oct 1999 08:05:10 +0000 (08:05 +0000)]
An errnoless interface for ap_bgets

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

25 years agoap_bwrite now exports an errnoless interface.
Manoj Kasichainula [Sat, 30 Oct 1999 05:25:32 +0000 (05:25 +0000)]
ap_bwrite now exports an errnoless interface.

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

25 years agoChange ap_bread's interface to no longer require errno.
Manoj Kasichainula [Sat, 30 Oct 1999 02:06:34 +0000 (02:06 +0000)]
Change ap_bread's interface to no longer require errno.

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

25 years agoGet rid of an implicit malloc, by making ap_create_tcp_socket use the
Manoj Kasichainula [Sat, 30 Oct 1999 01:56:35 +0000 (01:56 +0000)]
Get rid of an implicit malloc, by making ap_create_tcp_socket use the
process context.

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

25 years agoForce ap_put_os_sock() to create a new ap_socket_t by presetting what's
Manoj Kasichainula [Sat, 30 Oct 1999 01:49:53 +0000 (01:49 +0000)]
Force ap_put_os_sock() to create a new ap_socket_t by presetting what's
passed in to NULL.

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

25 years agoFix a couple of pool-related bugs that may or may not be causing actual
Manoj Kasichainula [Fri, 29 Oct 1999 20:42:49 +0000 (20:42 +0000)]
Fix a couple of pool-related bugs that may or may not be causing actual
problems. This makes sure that all interactions with the
thread_pool_parent are mutexed, and makes ap_put_os_sock use the correct
pool in worker_thread().

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

25 years agoOS/2: APRize iol_socket
Brian Havard [Fri, 29 Oct 1999 14:37:31 +0000 (14:37 +0000)]
OS/2: APRize iol_socket

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

25 years agoThis gets the BeOS mpm working again. I'm still using the poll provided
David Reid [Thu, 28 Oct 1999 22:14:54 +0000 (22:14 +0000)]
This gets the BeOS mpm working again.  I'm still using the poll provided
by RSE as so far the APR poll hasn't delivered enough performance.  I'll
fix it once I've got some other problems out of the way.

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