]> granicus.if.org Git - apache/log
apache
23 years agoFix a segfault in apr_proc_other_child_unregister. Jeff recently made
Bill Stoddard [Thu, 17 May 2001 12:10:22 +0000 (12:10 +0000)]
Fix a segfault in apr_proc_other_child_unregister. Jeff recently made
a change in APR otherchild.c to unregister all OC registrations as
part of pool cleanup.  This means that we must NOT explicitly call
apr_proc_other_child_unregister out of other pool clean-up routines.
In this case, the OC cleanup was being called first then the piped_log_cleanup
was being called which called apr_proc_other_child_unregister.

We could fix this by detecting the case when there are no more OCs registered
in apr_proc_other_child_unregister but that might just mask other problems we
need to fix anyway.

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

23 years agoapr_proc_probe_writable_fds is gone
Jeff Trawick [Thu, 17 May 2001 10:41:56 +0000 (10:41 +0000)]
apr_proc_probe_writable_fds is gone

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

23 years agoRemove calls to apr_proc_probe_writable_fds(). The function is going away.
Bill Stoddard [Wed, 16 May 2001 20:51:38 +0000 (20:51 +0000)]
Remove calls to apr_proc_probe_writable_fds(). The function is going away.

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

23 years agodon't destroy the pcgi pool when the other-child registration
Jeff Trawick [Wed, 16 May 2001 19:19:56 +0000 (19:19 +0000)]
don't destroy the pcgi pool when the other-child registration
of the cgi daemon goes away... it goes away *because* the
pcgi pool is being destroyed

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

23 years agothis patch removes the warning:
Jeff Trawick [Wed, 16 May 2001 18:38:36 +0000 (18:38 +0000)]
this patch removes the warning:
warning C4715: 'mpm_service_install' : not all control paths return a value

it would result in a bogus exit status from apache when invoked to install
the service

Submitted by: Ian Holsman <IanH@cnet.com>

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

23 years agoAccount for changes to the name of field "private" in struct apr_xml_elem.
Jeff Trawick [Wed, 16 May 2001 17:24:18 +0000 (17:24 +0000)]
Account for changes to the name of field "private" in struct apr_xml_elem.

PR:             7727

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

23 years agoDo not start piped log processes during the config file
Bill Stoddard [Wed, 16 May 2001 13:49:40 +0000 (13:49 +0000)]
Do not start piped log processes during the config file
preflight.  This change also circumvents a problem on
Windows where the rotatelog processes created during preflight
was not getting cleaned up properly.

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

23 years agoclean up DSO builds on OS/390 a bit by ignoring some generated files
Jeff Trawick [Tue, 15 May 2001 17:30:44 +0000 (17:30 +0000)]
clean up DSO builds on OS/390 a bit by ignoring some generated files
and by passing libtool the OS/390-specific options needed to split
the main httpd executable into a small executable with main() and a
dll with everything else (previously this information was hard-coded
in the OS/390 libtool program)

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

23 years agoOoops. Didn't remove *all* of the new_scoreboard stuff. This was harmless,
Paul J. Reder [Tue, 15 May 2001 13:41:27 +0000 (13:41 +0000)]
Ooops. Didn't remove *all* of the new_scoreboard stuff. This was harmless,
but should be consistent and complete. It is now completely removed.

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

23 years agoadd "Request Phase Participation" info to mod_info
Doug MacEachern [Tue, 15 May 2001 04:25:16 +0000 (04:25 +0000)]
add "Request Phase Participation" info to mod_info
PR:
Obtained from:
Submitted by: dougm
Reviewed by: gstein

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

23 years agoMake first phase changes to the scoreboard data structures in
Paul J. Reder [Tue, 15 May 2001 02:38:17 +0000 (02:38 +0000)]
Make first phase changes to the scoreboard data structures in
preparation for the rewriting of the scoreboard per my posted
design notes. [Paul J. Reder]

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

23 years agoFix typos
Martin Kraemer [Mon, 14 May 2001 10:53:33 +0000 (10:53 +0000)]
Fix typos

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

23 years ago A bit more clarity, and that's it for now.
William A. Rowe Jr [Mon, 14 May 2001 04:31:56 +0000 (04:31 +0000)]
  A bit more clarity, and that's it for now.

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

23 years ago Clarify the wintty purpose and syntax.
William A. Rowe Jr [Mon, 14 May 2001 04:27:18 +0000 (04:27 +0000)]
  Clarify the wintty purpose and syntax.

  Still some todos: an option to just abort user feedback and close the
  window instantly upon loosing the stdin pipe, allow the stdin pipe to
  be tee'ed on win32, and still add some graceful error handling for a
  real-world deployment.

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

23 years ago Q. "Why can't I watch my server's activity?" A. You can.
William A. Rowe Jr [Mon, 14 May 2001 04:09:08 +0000 (04:09 +0000)]
  Q. "Why can't I watch my server's activity?"  A. You can.

  This is a little tool I dreamed up while fighting a ton of battles on
  several fronts.  It demonstrates that reliable piped logs on win32 still
  need work, that we launch log processes far too many times, and generally
  gives admins more blinky lights on win32.  But it's too practial of an
  example to leave on my hard drive gathering dust.

  Note that the support/win32 will be used for really non-unix/non-portable
  applications.  Perhaps something similiar would be useful all the way
  around, and perhaps some of this code can get into the apr core.  But for
  this moment, it serves a purpose for beta development.

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

23 years ago Hmmm, two answers for the price of one. Add the trailing-slash
William A. Rowe Jr [Sun, 13 May 2001 17:56:37 +0000 (17:56 +0000)]
  Hmmm, two answers for the price of one.  Add the trailing-slash
  caviat to the docs.  Now to backport this better explanation to 1.3.

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

23 years agoSeparate enablement of AP_DEBUG code from enablement of code
Jeff Trawick [Sun, 13 May 2001 12:21:25 +0000 (12:21 +0000)]
Separate enablement of AP_DEBUG code from enablement of code
which depends on the compiler supporting designated initializers.

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

23 years agoImplement Jeff's idea for an autoconf-defined symbol to enable the special
Greg Stein [Sun, 13 May 2001 10:37:06 +0000 (10:37 +0000)]
Implement Jeff's idea for an autoconf-defined symbol to enable the special
command function prototype stuff. AP_DEBUG is always set in maintainer mode
and AP_DEBUG_HAVE_GCC is set when the compiler is GCC.

Submitted by: Jeff Trawick

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

23 years agoget rid of an errant semicolon which broke gcc builds (sorry!)
Jeff Trawick [Sat, 12 May 2001 16:55:00 +0000 (16:55 +0000)]
get rid of an errant semicolon which broke gcc builds (sorry!)

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

23 years agoOnly turn on AP_DEBUG if we're using gcc.
Jeff Trawick [Sat, 12 May 2001 13:05:27 +0000 (13:05 +0000)]
Only turn on AP_DEBUG if we're using gcc.

The AP_DEBUG flavor of the cmd_func declarations is not portable.
Last night Roy removed the check for gcc before turning on AP_DEBUG.
Interestingly (or not :) ) the AP_DEBUG flavor of cmd_func compiles
cleanly on gcc but the non-AP_DEBUG flavor doesn't. The non-AP_DEBUG
flavor compiles cleanly with Tru64 cc and AIX xlc but the AP_DEBUG
flavor doesn't. (On Tru64 we get a bunch of warnings with the
AP_DEBUG flavor but at least it compiles; the same cannot be said of
AIX xlc.)

Perhaps we should use a symbol other than AP_DEBUG to distinguish
between the cmd_func flavors.  Then AP_DEBUG can be turned on
regardless of compiler.  The new flag can be turned on for gcc+
--enable-maintainer-mode, or perhaps for gcc always since the non-
AP_DEBUG flavor won't compile cleanly with gcc.  (what a mess; this
probably wouldn't work right for different levels of gcc anyway)

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

23 years agoI woke up too early this morning.
Roy T. Fielding [Sat, 12 May 2001 03:54:40 +0000 (03:54 +0000)]
I woke up too early this morning.

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

23 years agoFix httpd's definition of LTFLAGS to be consistent with that of apr
Roy T. Fielding [Sat, 12 May 2001 03:48:31 +0000 (03:48 +0000)]
Fix httpd's definition of LTFLAGS to be consistent with that of apr
and apr-util, allow it to be overridden by the configure command-line
(default="--silent") and introduce LT_LDFLAGS to replace what we were
formally abusing as LTFLAGS.

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

23 years agoIt is easier to re-run configure's test and pick up the cached values
Roy T. Fielding [Sat, 12 May 2001 01:37:27 +0000 (01:37 +0000)]
It is easier to re-run configure's test and pick up the cached values
than it is to replicate them in our own macros.  This isn't too expensive
because CC and CPP have already been set by APR.  Too bad it generates
a lot of output.

Also, we don't need to repeat command-line options that are already being
handled by APR now that we use APR's generated flags.  The switches are
still usable on the command-line.

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

23 years agoCleanup the reporting of incorrect end tags for container directives.
Ryan Bloom [Fri, 11 May 2001 23:33:46 +0000 (23:33 +0000)]
Cleanup the reporting of incorrect end tags for container directives.
PR: 7617
Submitted by: Barrie Slaymaker <barries@slaysys.com>

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

23 years agoSmall fix to make depend, although make depend doesn't seem to be used?
Victor J. Orlikowski [Fri, 11 May 2001 19:44:42 +0000 (19:44 +0000)]
Small fix to make depend, although make depend doesn't seem to be used?
(We seem to use APR's)

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

23 years agoMore changes based on Ian's patch.
Victor J. Orlikowski [Fri, 11 May 2001 18:37:41 +0000 (18:37 +0000)]
More changes based on Ian's patch.

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

23 years agoFix up some of the definitions, based on Ian's patch.
Victor J. Orlikowski [Fri, 11 May 2001 18:21:27 +0000 (18:21 +0000)]
Fix up some of the definitions, based on Ian's patch.

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

23 years agoThe pattern was too general -- it would match the date within the
Roy T. Fielding [Fri, 11 May 2001 18:18:04 +0000 (18:18 +0000)]
The pattern was too general -- it would match the date within the
OpenSSL version string instead of just the version number.  Fix it
using a hint from libtool.

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

23 years agoDo not send apr_file_t allocated out of the pconf pool down the
Bill Stoddard [Fri, 11 May 2001 17:34:17 +0000 (17:34 +0000)]
Do not send apr_file_t allocated out of the pconf pool down the
filter chain.  This is not perfect but better. Need to do some
more work in apr_os_file_put to initialize fields a bit better.

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

23 years agoAllows Mod_proxy to be dynamically loaded on win32 systems
Ian Holsman [Fri, 11 May 2001 17:32:41 +0000 (17:32 +0000)]
Allows Mod_proxy to be dynamically loaded on win32 systems
PR:
Obtained from:
Submitted by: ianh
Reviewed by: Chuck Murcko, Graham

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

23 years agoWhen checking for gcc, use variable ac_cv_prog_gcc instead of GCC.
Jeff Trawick [Fri, 11 May 2001 15:33:06 +0000 (15:33 +0000)]
When checking for gcc, use variable ac_cv_prog_gcc instead of GCC.
This gets AP_DEBUG set properly for --enable-maintainer-mode builds.

(As libtool configuration is removed from other places -- e.g., pcre,
expat -- the same change will be needed of those configuration
scripts use GCC.)

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

23 years agorevert to the documented behavior of MaxRequestPerChild 0, but keep the
Greg Ames [Fri, 11 May 2001 10:54:21 +0000 (10:54 +0000)]
revert to the documented behavior of MaxRequestPerChild 0, but keep the
hot path simplification.

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

23 years agoMoved inside configure.in.
Roy T. Fielding [Fri, 11 May 2001 08:15:42 +0000 (08:15 +0000)]
Moved inside configure.in.

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

23 years agoSimplify the configuration process by moving all libtool stuff to APR
Roy T. Fielding [Fri, 11 May 2001 08:12:06 +0000 (08:12 +0000)]
Simplify the configuration process by moving all libtool stuff to APR
and moving the last bits of hints.m4 inline.  Now we only run every
test four times instead of five.  One down, three to go.

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

23 years agoNo need to sinclude macros that we no longer use.
Roy T. Fielding [Fri, 11 May 2001 07:15:07 +0000 (07:15 +0000)]
No need to sinclude macros that we no longer use.

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

23 years agoWe don't need no stinkin libtool when APR already has one for us to use.
Roy T. Fielding [Fri, 11 May 2001 07:10:24 +0000 (07:10 +0000)]
We don't need no stinkin libtool when APR already has one for us to use.

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

23 years agoAdd the AP_DECLARE()/AP_CORE_DECLARE macros on the return types of
Chuck Murcko [Fri, 11 May 2001 04:35:41 +0000 (04:35 +0000)]
Add the AP_DECLARE()/AP_CORE_DECLARE macros on the return types of
functions used by mod_proxy for export in DLL
Submitted by: Ian Holsman <IanH@cnet.com>
Reviewed by: Chuck murcko

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

23 years agoMake the runtime path hack a little more portable, even though it is the
Roy T. Fielding [Thu, 10 May 2001 21:54:00 +0000 (21:54 +0000)]
Make the runtime path hack a little more portable, even though it is the
wrong way to check this.

Submitted by: Justin Erenkrantz

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

23 years agoA couple of default win config file tweaks.
Bill Stoddard [Thu, 10 May 2001 21:42:17 +0000 (21:42 +0000)]
A couple of default win config file tweaks.

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

23 years agoProving once again that bash doesn't bother to document when they
Roy T. Fielding [Thu, 10 May 2001 21:29:10 +0000 (21:29 +0000)]
Proving once again that bash doesn't bother to document when they
differ from sh for no particular reason.  I'm still too fond of perl 4.

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

23 years agoReplace install.html with an html-ized version of
Joshua Slive [Thu, 10 May 2001 05:40:04 +0000 (05:40 +0000)]
Replace install.html with an html-ized version of
httpd-2.0/INSTALL.

Discussion following on apache-docs.

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

23 years agoI forgot to add the bit that allows the macro to be called more than once.
Roy T. Fielding [Thu, 10 May 2001 02:03:15 +0000 (02:03 +0000)]
I forgot to add the bit that allows the macro to be called more than once.

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

23 years agoEventually we will want to only find openssl once regardless of how
Roy T. Fielding [Thu, 10 May 2001 01:47:47 +0000 (01:47 +0000)]
Eventually we will want to only find openssl once regardless of how
many modules depend on it, so make the check an autoconf macro.
Note that this still isn't being checked "the autoconf way", but it
is better than what we have now.

I'm not sure about the -R stuff, but I am told that Solaris won't
build without it.  This is something that should be tested using
AC_TRY_LINK rather than assuming openssl isn't already on the ld path.

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

23 years agoFix apachectl so that it uses the configure program name.
Ryan Bloom [Wed, 9 May 2001 15:56:50 +0000 (15:56 +0000)]
Fix apachectl so that it uses the configure program name.
Submitted by: Daniel Lopez <daniel@rawbyte.com>

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

23 years agoPass in the full path for the AP_LIBS so we can always find them when not
David Reid [Wed, 9 May 2001 13:13:06 +0000 (13:13 +0000)]
Pass in the full path for the AP_LIBS so we can always find them when not
installed.

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

23 years agosurprised -Wall does not complain, but ap_scan_script_header_err_core() should explic...
Doug MacEachern [Tue, 8 May 2001 20:55:23 +0000 (20:55 +0000)]
surprised -Wall does not complain, but ap_scan_script_header_err_core() should explicitly return an int

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

23 years agoBe more strict when --with-tls was given without a DIR value.
Martin Kraemer [Tue, 8 May 2001 08:56:39 +0000 (08:56 +0000)]
Be more strict when --with-tls was given without a DIR value.

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

23 years agoTry to auto-detect the location of the OpenSSL stuff. The old logic was
Martin Kraemer [Tue, 8 May 2001 08:54:24 +0000 (08:54 +0000)]
Try to auto-detect the location of the OpenSSL stuff. The old logic was
incorrect anyway (it tested for .../ssl/ssl.h and then used .../include/ssl.h).
Now we have a configurable list of candidates, each with:
a name, an include path, a lib path, and a list of libs.

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

23 years agoWhen no specific location of openssl is given, we need to check the
Roy T. Fielding [Tue, 8 May 2001 04:42:26 +0000 (04:42 +0000)]
When no specific location of openssl is given, we need to check the
places where people install upgraded software first, since otherwise
we will get the older versions installed by the OS distribution.  That's
very bad for us because we are requiring a version of openssl that is
more recent than most of the Linux distros.

When finding the openssl helper program, check both the PATH and the default
install dirs, since openssl isn't normally included on a user's path.

Use APR_ADDTO to add to the make macros in order to avoid duplicates.

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

23 years agoShut the compiler up.
Victor J. Orlikowski [Mon, 7 May 2001 20:02:39 +0000 (20:02 +0000)]
Shut the compiler up.

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

23 years agoget the MPMs consistent w.r.t. visibility of ap_max_requests_per_child
Jeff Trawick [Mon, 7 May 2001 18:41:57 +0000 (18:41 +0000)]
get the MPMs consistent w.r.t. visibility of ap_max_requests_per_child

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

23 years agofix some generation logic/displays in mod_status by setting
Jeff Trawick [Mon, 7 May 2001 17:55:01 +0000 (17:55 +0000)]
fix some generation logic/displays in mod_status by setting
the generation field in parent_score

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

23 years agoJeff fixed this...
Cliff Woolley [Mon, 7 May 2001 16:59:05 +0000 (16:59 +0000)]
Jeff fixed this...

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

23 years agominor scoreboard/status improvements:
Jeff Trawick [Mon, 7 May 2001 16:24:14 +0000 (16:24 +0000)]
minor scoreboard/status improvements:
. get the SS field in extended status output formatted correctly
  (seconds since beginning of request shouldn't be a huge
  negative number :) )
. use APR_OS_PID_T_FMT and pid_t where appropriate in mod_status
  to avoid casting, some of which may have been broken on some
  architectures

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

23 years agoGet rid of some Apache 1.x OPTIMIZE_TIMEOUTS cruft. Other logic
Jeff Trawick [Mon, 7 May 2001 15:49:42 +0000 (15:49 +0000)]
Get rid of some Apache 1.x OPTIMIZE_TIMEOUTS cruft.  Other logic
in 1.3 which used this stuff would send SIGALRM to children in
certain circumstances.

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

23 years agoGet mod_cern_meta to work on Windows. The problem was in the
Bill Stoddard [Mon, 7 May 2001 14:03:59 +0000 (14:03 +0000)]
Get mod_cern_meta to work on Windows.  The problem was in the
"skip leading slash" logic, which is inheriently broken on Windows
because full Windows filenames begin with a drive letter or UNC
path.

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

23 years agofix the type of a parameter to ap_get_brigade()
Jeff Trawick [Mon, 7 May 2001 10:01:31 +0000 (10:01 +0000)]
fix the type of a parameter to ap_get_brigade()

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

23 years agoCrikey.
Chuck Murcko [Mon, 7 May 2001 02:47:51 +0000 (02:47 +0000)]
Crikey.

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

23 years agoSeems to be an inconsistency in the code with regard to the mod_include
Joshua Slive [Mon, 7 May 2001 00:44:33 +0000 (00:44 +0000)]
Seems to be an inconsistency in the code with regard to the mod_include
magic types.

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

23 years agoBring the mod_include docs up to scratch and link up the ssi tutorial.
Joshua Slive [Mon, 7 May 2001 00:42:21 +0000 (00:42 +0000)]
Bring the mod_include docs up to scratch and link up the ssi tutorial.

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

23 years agoBack out the recent change to ap_get_brigade, to make it use indirection
Ryan Bloom [Sun, 6 May 2001 23:27:14 +0000 (23:27 +0000)]
Back out the recent change to ap_get_brigade, to make it use indirection
again.  The problem is that the amount of data read from the network,
is not necessarily the amount of data returned from the filters.  It is
possible for input filters to add bytes to the data read from the network.

To fix the original bug, I just removed the line from ap_get_client_block
that decremented r->remaining, we allow the http_filter to do that for
us.

I have also removed an incorrect comment.

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

23 years agoSomething got deleted from the module structure.
Ben Laurie [Sun, 6 May 2001 17:34:38 +0000 (17:34 +0000)]
Something got deleted from the module structure.

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

23 years agoAdd a demo input filter.
Ben Laurie [Sun, 6 May 2001 17:08:06 +0000 (17:08 +0000)]
Add a demo input filter.

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

23 years agoTrack Greg's change to byte count for input filters
Chuck Murcko [Sun, 6 May 2001 10:59:22 +0000 (10:59 +0000)]
Track Greg's change to byte count for input filters

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

23 years agoForgot one file when adding mod_cgid.
Joshua Slive [Sun, 6 May 2001 05:08:56 +0000 (05:08 +0000)]
Forgot one file when adding mod_cgid.

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

23 years agoUpdate some CGI docs:
Joshua Slive [Sun, 6 May 2001 05:08:01 +0000 (05:08 +0000)]
Update some CGI docs:
- add docs for mod_cgid
- link up the CGI tutorial brought forward from 1.3

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

23 years agoFix todo list
Ralf S. Engelschall [Sat, 5 May 2001 21:04:24 +0000 (21:04 +0000)]
Fix todo list

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

23 years agoPort ssl_util.c stuff to APR.
Ralf S. Engelschall [Sat, 5 May 2001 21:02:22 +0000 (21:02 +0000)]
Port ssl_util.c stuff to APR.

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

23 years agoPort ssl_util_table.[ch] to Apache 2.0 by just removing all platform
Ralf S. Engelschall [Sat, 5 May 2001 20:19:35 +0000 (20:19 +0000)]
Port ssl_util_table.[ch] to Apache 2.0 by just removing all platform
depended code (table_read, table_write). This is possible because this
table library is local to mod_ssl and inside mod_ssl this library is
used for manipulating hash tables inside shared memory segments only. So
we can just get rid of the unportable parts at all.

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

23 years agoPort ssl_util_ssl.[ch] stuff to APR.
Ralf S. Engelschall [Sat, 5 May 2001 20:11:04 +0000 (20:11 +0000)]
Port ssl_util_ssl.[ch] stuff to APR.

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

23 years agoSunny and 11c in Vancouver.
Joshua Slive [Sat, 5 May 2001 20:00:15 +0000 (20:00 +0000)]
Sunny and 11c in Vancouver.

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

23 years agoUse different namespace for internal defines.
Ralf S. Engelschall [Sat, 5 May 2001 19:56:17 +0000 (19:56 +0000)]
Use different namespace for internal defines.

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

23 years agoPort ssl_engine_ds.c to APR.
Ralf S. Engelschall [Sat, 5 May 2001 19:53:00 +0000 (19:53 +0000)]
Port ssl_engine_ds.c to APR.

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

23 years agoNothing to port for ssl_engine_dh.c except that
Ralf S. Engelschall [Sat, 5 May 2001 19:39:48 +0000 (19:39 +0000)]
Nothing to port for ssl_engine_dh.c except that
SSL_LIBRARY_VERSION has to be already available.

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

23 years agoRemember which code parts are already ported...
Ralf S. Engelschall [Sat, 5 May 2001 19:23:01 +0000 (19:23 +0000)]
Remember which code parts are already ported...

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

23 years agoExplain the difference between the Apache environment and
Joshua Slive [Sat, 5 May 2001 19:20:19 +0000 (19:20 +0000)]
Explain the difference between the Apache environment and
the OS environment.

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

23 years agoKick out all old mutex code and base SSLMutex on APR locks.
Ralf S. Engelschall [Sat, 5 May 2001 19:09:37 +0000 (19:09 +0000)]
Kick out all old mutex code and base SSLMutex on APR locks.

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

23 years agoChange mostly all old module structure hooks and EAPI hooks to
Ralf S. Engelschall [Sat, 5 May 2001 16:55:28 +0000 (16:55 +0000)]
Change mostly all old module structure hooks and EAPI hooks to
ap_hook_xxx equivalents. More work has to be done here to clean all this
up and reduce to a minimum...

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

23 years agoAxe writev(2) support from the SSL I/O layer because in Apache 2.0 we no
Ralf S. Engelschall [Sat, 5 May 2001 16:47:32 +0000 (16:47 +0000)]
Axe writev(2) support from the SSL I/O layer because in Apache 2.0 we no
longer handle the bottom line of I/O ourself. Additionally this again
simplifies mod_ssl's I/O part for later transition to mod_tls's approach
with buckets.

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

23 years agoAxe most WIN32 stuff from Apache 1.3. In Apache 2.0 we either use APR
Ralf S. Engelschall [Sat, 5 May 2001 16:35:18 +0000 (16:35 +0000)]
Axe most WIN32 stuff from Apache 1.3. In Apache 2.0 we either use APR
later for this or we don't do it at all. But we certainly no longer want
to see any platform specific things inside a module.

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

23 years agoAxe out SSL_CONSERVATIVE stuff which for Apache 1.3 did I/O data
Ralf S. Engelschall [Sat, 5 May 2001 16:23:00 +0000 (16:23 +0000)]
Axe out SSL_CONSERVATIVE stuff which for Apache 1.3 did I/O data
pre-sucking on POST requests and I/O re-injection in case of SSL
renegotiations. This all either cannot be solved any longer or at least
has to be implemented totally different through I/O layering/filtering.

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

23 years agoRemove one more EAPI-based thing we no longer really need.
Ralf S. Engelschall [Sat, 5 May 2001 16:02:33 +0000 (16:02 +0000)]
Remove one more EAPI-based thing we no longer really need.

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

23 years agoremove remaining references to compat and sdbm
Ralf S. Engelschall [Sat, 5 May 2001 15:32:46 +0000 (15:32 +0000)]
remove remaining references to compat and sdbm

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

23 years agocompat and local sdbm stuff is already gone
Ralf S. Engelschall [Sat, 5 May 2001 15:31:36 +0000 (15:31 +0000)]
compat and local sdbm stuff is already gone

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

23 years agoAxe out SSL_USE_SDBM stuff, i.e., get rid of the local SDBM copy and use
Ralf S. Engelschall [Sat, 5 May 2001 15:26:06 +0000 (15:26 +0000)]
Axe out SSL_USE_SDBM stuff, i.e., get rid of the local SDBM copy and use
APR's DBM API instead. The remaining question just is whether APR's DBM
allows "larger" things like SSL sessions to be stored...

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

23 years agoAxe out the complete SSL_COMPAT stuff. Because Apache 2.0 is already
Ralf S. Engelschall [Sat, 5 May 2001 15:10:58 +0000 (15:10 +0000)]
Axe out the complete SSL_COMPAT stuff. Because Apache 2.0 is already
incompatible at many places to Apache 1.3 we also don't want this stuff
anymore. Apache 2.0's mod_ssl will be mostly compatibile with Apache
1.3's mod_ssl, of course. But we really no longer want to be compatible
to Sioux and other obsolete SSL things...

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

23 years agoStart writing down incompatibilities to mod_ssl 2.x from Apache 1.3.
Ralf S. Engelschall [Sat, 5 May 2001 15:06:35 +0000 (15:06 +0000)]
Start writing down incompatibilities to mod_ssl 2.x from Apache 1.3.
Our general goal is to axe down mod_ssl to a minimum, because what we
don't have anymore we don't have to port and as simpler mod_ssl becomes.
Nevertheless we will try to minimize incompatibilities if possible.

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

23 years agoAxe out EAPI-based SSL_VENDOR stuff.
Ralf S. Engelschall [Sat, 5 May 2001 15:02:13 +0000 (15:02 +0000)]
Axe out EAPI-based SSL_VENDOR stuff.
If we want this later again, we have to do it differently anyway. So,
for now we try to strip down mod_ssl as heavy as possible and hence we
kick out this stuff at all.

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

23 years agoFinalize the build environment by integrating the last thing (the
Ralf S. Engelschall [Sat, 5 May 2001 13:21:54 +0000 (13:21 +0000)]
Finalize the build environment by integrating the last thing (the
lex/yacc stuff) into Makefile.in and getting rid of the old Apache 1.3
Makefile.tmpl file.

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

23 years agoFix a bug in the input handling. ap_http_filter() was modifying *readbytes
Greg Stein [Sat, 5 May 2001 11:18:01 +0000 (11:18 +0000)]
Fix a bug in the input handling. ap_http_filter() was modifying *readbytes
which corresponded to r->remaining (in ap_get_client_block). However,
ap_get_client_block was *also* adjusting r->remaining. Net result was that
PUT (and probably POST) was broken. (at least on large inputs)

To fix it, I simply removed the indirection on "readbytes" for input
filters. There is no reason for them to return data (the brigade length is
the return length). This also simplifies a number of calls where people
needed to do &zero just to pass zero.

I also added a number of comments about operations and where things could be
improved, or are (semi) broken.

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

23 years agoclarify the use of some of the members of the dav_provider structure.
Greg Stein [Sat, 5 May 2001 11:06:27 +0000 (11:06 +0000)]
clarify the use of some of the members of the dav_provider structure.

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

23 years agoNext step in mod_ssl integration:
Ralf S. Engelschall [Sat, 5 May 2001 10:12:08 +0000 (10:12 +0000)]
Next step in mod_ssl integration:
Add missing files to build environment.

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

23 years agoActivate the command_rec structure.
Ralf S. Engelschall [Sat, 5 May 2001 09:58:04 +0000 (09:58 +0000)]
Activate the command_rec structure.

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

23 years agoUpdate file description list.
Ralf S. Engelschall [Sat, 5 May 2001 09:31:25 +0000 (09:31 +0000)]
Update file description list.

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

23 years agoGet rid of libssl.modules and libssl.version. libssl.version we
Ralf S. Engelschall [Sat, 5 May 2001 09:30:21 +0000 (09:30 +0000)]
Get rid of libssl.modules and libssl.version. libssl.version we
no longer need, because mod_ssl no longer has its own version.
libssl.modules is now more or less (except for the old custom Apache 1.3
configuration rules) replaced by the Autoconf based config.m4.

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

23 years agoIntegrate mod_ssl into the Autoconf facility.
Ralf S. Engelschall [Sat, 5 May 2001 09:25:52 +0000 (09:25 +0000)]
Integrate mod_ssl into the Autoconf facility.
(currently only stub files are compiled)

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

23 years agoMove the AC_MSG_CHECKING into the module-specific macro to make sure the
Ralf S. Engelschall [Sat, 5 May 2001 08:27:39 +0000 (08:27 +0000)]
Move the AC_MSG_CHECKING into the module-specific macro to make sure the
output is generated in sync with the AC_MSG_RESULT.

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

23 years agoCosmetics: align the entry of MPMs in "configure --help" output
Ralf S. Engelschall [Sat, 5 May 2001 08:02:17 +0000 (08:02 +0000)]
Cosmetics: align the entry of MPMs in "configure --help" output

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

23 years agoAllow mod_tls and mod_ssl coexists without interfering each other by
Ralf S. Engelschall [Sat, 5 May 2001 07:58:15 +0000 (07:58 +0000)]
Allow mod_tls and mod_ssl coexists without interfering each other by
renaming the --with-ssl option of mod_tls to --with-tls. This way we can
use --enable-ssl/--with-ssl for mod_ssl and --enable-tls/--with-tls for
mod_tls.

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

23 years agoadjust file list for removed files, too.
Ralf S. Engelschall [Fri, 4 May 2001 22:28:51 +0000 (22:28 +0000)]
adjust file list for removed files, too.

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