]> granicus.if.org Git - apache/log
apache
24 years agoMove prototype of ap_hook_deregister_all to where it belongs.
Roy T. Fielding [Thu, 18 May 2000 00:45:05 +0000 (00:45 +0000)]
Move prototype of ap_hook_deregister_all to where it belongs.

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

24 years agoThis commit will most likely break everybody on Windows. The .dsp
Ryan Bloom [Wed, 17 May 2000 23:30:21 +0000 (23:30 +0000)]
This commit will most likely break everybody on Windows.  The .dsp
files I am checking in though will build a usable Apache on Windows.
This finishes at least the first round of the merge work to get the
common code into common files in APR.

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

24 years agoarg!! should have committed this with last night's changes; need
Jeff Trawick [Wed, 17 May 2000 12:07:49 +0000 (12:07 +0000)]
arg!!  should have committed this with last night's changes; need
more sleep

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

24 years agoinclude translation information in the request_rec;
Jeff Trawick [Wed, 17 May 2000 03:19:38 +0000 (03:19 +0000)]
include translation information in the request_rec;
finish converting ap_bsetflag(B_ASCII2EBCDIC or B_EBCDIC2ASCII) to
ap_bsetopt(BO_WXLATE or BO_RXLATE)

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

24 years ago Cleanup ap_config.h fallout for Win32. Only a few very minor
William A. Rowe Jr [Wed, 17 May 2000 01:52:48 +0000 (01:52 +0000)]
  Cleanup ap_config.h fallout for Win32.  Only a few very minor
  changes to ap_config.h and util.c, but they might hurt someone...
  please watch those two carefully.

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

24 years agoPR:
William A. Rowe Jr [Wed, 17 May 2000 00:45:05 +0000 (00:45 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

    Just a plain old screwup.  If someone can give me syntax to backout
    a change rather than reverse it, I'd be much obliged

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

24 years ago Radical overhaul of the Apache-2.0/Win32 mpm <-> service schema.
William A. Rowe Jr [Wed, 17 May 2000 00:35:21 +0000 (00:35 +0000)]
  Radical overhaul of the Apache-2.0/Win32 mpm <-> service schema.

  1) Services and Registry are not part of the core Apache operations,
     so registry.c and service.c are moved into Apache.exe - assuring
     the service control layers of NT and 95 are truly isolated.

  2) Isolation can't be complete, we need to know when the mpm is
     fully initialized.  A new pointer to a no-arg function returning
     void is provided for this purpose, ap_mpm_init_complete.  It is
     only called if overridden with a non-NULL value prior to invoking
     apache_main.

  3) Control+C, Control+Break are handled on both WinNT and Win9x.

  4) The window close, logoff and shutdown events are handled on WinNT.

  5) The beginnings of a Win95 service startup are provided, -k startservice
     but this is horribly incomplete since Win95 will NOT report shutdown.

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

24 years agofix up the repository with the correct add/remove sequence.
Greg Stein [Wed, 17 May 2000 00:22:56 +0000 (00:22 +0000)]
fix up the repository with the correct add/remove sequence.

this is the initial checkin of ap_config.h: it is a copy of ap_ac_config.h
    which has now been deleted. go there for proper history.

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

24 years agoFix a bug in the EXEC_ON_READ logic. When we build a sub_tree while
Ryan Bloom [Tue, 16 May 2000 22:16:51 +0000 (22:16 +0000)]
Fix a bug in the EXEC_ON_READ logic.  When we build a sub_tree while
reading that is the first item in a container, we have to return that tree
and set the parent pointers correctly.
Submitted by: Jeff Trawick
Reviewed by: Ryan Bloom

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

24 years agoUpdate a couple of modules to use ap_stat() rather than stat().
Bill Stoddard [Tue, 16 May 2000 20:19:29 +0000 (20:19 +0000)]
Update a couple of modules to use ap_stat() rather than stat().

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoAPR-ize the CHARSET_EBCDIC support in the SHA1 routines. The app (e.g.,
Jeff Trawick [Tue, 16 May 2000 19:48:08 +0000 (19:48 +0000)]
APR-ize the CHARSET_EBCDIC support in the SHA1 routines.  The app (e.g.,
Apache, htpasswd) must call a function to set up translation.

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

24 years agoHandle some OS/390-isms dealing with pthreads:
Jeff Trawick [Tue, 16 May 2000 17:48:58 +0000 (17:48 +0000)]
Handle some OS/390-isms dealing with pthreads:
. the types of the parameters to pthread_attr_setdetachstate()
  and pthread_detach()
. the fact that sigprocmask() must be use to set a thread's
  signal mask

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

24 years agoOS/390 doesn't have ranlib and its make utility thinks RANLIB=:
Jeff Trawick [Tue, 16 May 2000 11:54:36 +0000 (11:54 +0000)]
OS/390 doesn't have ranlib and its make utility thinks RANLIB=:
is a rule, so set RANLIB to true if there is no ranlib.

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

24 years agoFix PCRE build on OS/2. This includes taking libtool out of the picture,
Brian Havard [Tue, 16 May 2000 10:57:29 +0000 (10:57 +0000)]
Fix PCRE build on OS/2. This includes taking libtool out of the picture,
making static build the default.

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

24 years agoEBCDIC bug fix: do the required translation handle initialization
Jeff Trawick [Tue, 16 May 2000 03:59:15 +0000 (03:59 +0000)]
EBCDIC bug fix: do the required translation handle initialization
so that ap_MD5Encode() can translate properly

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

24 years agoAPR-ize the CHARSET_EBCDIC support in ap_base64encode() and
Jeff Trawick [Tue, 16 May 2000 03:11:13 +0000 (03:11 +0000)]
APR-ize the CHARSET_EBCDIC support in ap_base64encode() and
ap_base64decode().  The app (e.g., Apache, ab) must call a function
to set up translation.

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

24 years agooops. somebody snuck different names for my_error, and I goofed a sizeof().
Greg Stein [Tue, 16 May 2000 02:57:00 +0000 (02:57 +0000)]
oops. somebody snuck different names for my_error, and I goofed a sizeof().
fixed some indents.
rename some 'stat' variables to 'status'
use ap_strerror() in load_file()

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

24 years agodo not canonicalize errors for ap_strerror(). use sizeof() rather than
Greg Stein [Tue, 16 May 2000 02:49:42 +0000 (02:49 +0000)]
do not canonicalize errors for ap_strerror(). use sizeof() rather than
    a bare constant.

Submitted by: Brian Havard
Reviewed by: Greg Stein

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

24 years agoFix some bugs (mostly lost 1.3 code) in ab's command-line processing.
Jeff Trawick [Tue, 16 May 2000 02:42:57 +0000 (02:42 +0000)]
Fix some bugs (mostly lost 1.3 code) in ab's command-line processing.

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

24 years agomod_include:
Jeff Trawick [Tue, 16 May 2000 01:59:07 +0000 (01:59 +0000)]
mod_include:
. APR-ize some EBCDIC logic that translates char-by-char
. use the buff option BO_WXLATE to store a translation handle
  instead of the old logic to turn on the B_EBCDIC2ASCII flag

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

24 years agoAPR-ize some EBCDIC logic which handles conversion between
Jeff Trawick [Tue, 16 May 2000 01:43:46 +0000 (01:43 +0000)]
APR-ize some EBCDIC logic which handles conversion between
characters and hex digits

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

24 years agoreorder libapr.a and libap.la in terms of dependencies (i.e.,
Jeff Trawick [Tue, 16 May 2000 00:44:47 +0000 (00:44 +0000)]
reorder libapr.a and libap.la in terms of dependencies (i.e.,
libap needs libapr, so put libapr last) for OS/390

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

24 years agoRemove the dso code from the os/unix directory. These functions are not
Ryan Bloom [Mon, 15 May 2000 23:02:57 +0000 (23:02 +0000)]
Remove the dso code from the os/unix directory.  These functions are not
used in Apache anymore because they are part of apr.

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

24 years agoMake mod_so use ap_strerror instead of the old ap_os_dso_error. The
Ryan Bloom [Mon, 15 May 2000 21:41:56 +0000 (21:41 +0000)]
Make mod_so use ap_strerror instead of the old ap_os_dso_error.  The
error codes for dso's will need to be added to strerror in order for
this to work fully.

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

24 years agoCommit the EXEC_ON_READ changes. This allows modules to hook into the
Ryan Bloom [Mon, 15 May 2000 19:21:40 +0000 (19:21 +0000)]
Commit the EXEC_ON_READ changes.  This allows modules to hook into the
config file read phase.  Full details are in the CHANGES file blurb.
Examples to see how this should be used are provided for <IfModule>
<IfDefine> LoadModule, AddModule and ClearModuleList expect docs in the
next day or two.

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

24 years agoCannot build the pthread mpms on AIX 4.2.1
Bill Stoddard [Mon, 15 May 2000 19:20:07 +0000 (19:20 +0000)]
Cannot build the pthread mpms on AIX 4.2.1

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

24 years agoutil_ebcdic.h, util_ebcdic.c, http_core.c:
Jeff Trawick [Mon, 15 May 2000 17:51:23 +0000 (17:51 +0000)]
util_ebcdic.h, util_ebcdic.c, http_core.c:
  tweak ap_checkconv() for 2.0
buff.c:
  fix typo in comment
util_md5.h:
  change CHARSET_EBCDIC to APACHE_XLATE
util_script.c:
  APR-ize some character set conversion (EBCDIC only)

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

24 years agoWe no longer have to -DHAVE_CONFIG_H on the $(CC) line, because the
Ryan Bloom [Fri, 12 May 2000 23:56:19 +0000 (23:56 +0000)]
We no longer have to -DHAVE_CONFIG_H on the $(CC) line, because the
ap_ac_config.h file has been renamed to ap_config.h which is included
directly.

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

24 years agoAll this file does is include another file. I am fixing this by removing
Ryan Bloom [Fri, 12 May 2000 23:48:01 +0000 (23:48 +0000)]
All this file does is include another file.  I am fixing this by removing
this file and replacing it with the file it includes.

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

24 years agofix WIN32 build for APACHE_XLATE changes
Allan K. Edwards [Fri, 12 May 2000 18:15:21 +0000 (18:15 +0000)]
fix WIN32 build for APACHE_XLATE changes

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

24 years agoUpdate to the media types as of 2000-05-12. I also added the non-clashing
Tony Finch [Fri, 12 May 2000 13:14:48 +0000 (13:14 +0000)]
Update to the media types as of 2000-05-12. I also added the non-clashing
filename extensions for the WAP types, as discussed in the "WAP/WML" thread
starting with Message-ID: <391696E0.4D0D6161@Golux.Com>
Obtained from:  ftp://ftp.isi.edu/in-notes/iana/assignments/media-types

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

24 years agoUpdate beos_mpmt to new function names.
David Reid [Fri, 12 May 2000 10:35:03 +0000 (10:35 +0000)]
Update beos_mpmt to new function names.

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

24 years agoWin32: Some cleanup of winnt.c. Retry AcceptEx on failure in preparation for
Bill Stoddard [Fri, 12 May 2000 00:43:43 +0000 (00:43 +0000)]
Win32: Some cleanup of winnt.c. Retry AcceptEx on failure in preparation for
socket reuse patch. Sometimes the recycled accept socket will not work; need
to handle this case by closing it and obtaining a new one.

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

24 years agoAdd the prototype for ap_lingering_close()
Bill Stoddard [Fri, 12 May 2000 00:40:58 +0000 (00:40 +0000)]
Add the prototype for ap_lingering_close()

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

24 years agoCreate ap_bpop_iol to pop the buff off the iol and unregister the
Bill Stoddard [Thu, 11 May 2000 22:20:31 +0000 (22:20 +0000)]
Create ap_bpop_iol to pop the buff off the iol and unregister the
cleanup.

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

24 years agosrc/build/build2.mk: build PCRE's configure script if needed (when you
Jeff Trawick [Thu, 11 May 2000 21:56:51 +0000 (21:56 +0000)]
src/build/build2.mk: build PCRE's configure script if needed (when you
                     run buildconf, for example)
src/Makefile.in    : re-order libpcreposix.la and libpcre.la to make
                     OS/390's binder happy (now the libraries are listed
                     in order of dependencies)

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

24 years agoCreate new function, ap_lingering_close(), which will explicitly do a lingering close
Bill Stoddard [Thu, 11 May 2000 21:17:00 +0000 (21:17 +0000)]
Create new function, ap_lingering_close(), which will explicitly do a lingering close
if USE_SO_LINGER is not defined. Move responsibility for closing connections out
of http_connection.c and into the MPMs.

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

24 years agoExit connection processing normally on a graceful shutdown (which will allow
Bill Stoddard [Thu, 11 May 2000 20:47:21 +0000 (20:47 +0000)]
Exit connection processing normally on a graceful shutdown (which will allow
a lingering close where applicable). Set is_graceful in the winnt MPM.

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

24 years agorepair some compile warnings, axe a wasted getsockname() call and
Jeff Trawick [Thu, 11 May 2000 20:34:29 +0000 (20:34 +0000)]
repair some compile warnings, axe a wasted getsockname() call and
some unnecessary local vars, fix bug in a rare trace of a pid

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

24 years agoAdd mod_example to the build system.
Tony Finch [Thu, 11 May 2000 20:25:46 +0000 (20:25 +0000)]
Add mod_example to the build system.
I also fixed a few bogosities in mod_example itself, mostly improved
ordering of the code; I also fixed the long-standing numbering mistake
for the order of the request processing stages, and added the hook
registering function to the module record.

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

24 years agoVertically align all the descriptions of the modules in ./configure --help
Tony Finch [Thu, 11 May 2000 19:32:11 +0000 (19:32 +0000)]
Vertically align all the descriptions of the modules in ./configure --help
(m4 is gnarly)

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

24 years agoPR:
William A. Rowe Jr [Thu, 11 May 2000 04:03:37 +0000 (04:03 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  A leftover I noticed cleaning up based addresses for 1.3.x

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

24 years ago Clean up documentation on both sides (1.3 and 2.0) for the Win32 build.
William A. Rowe Jr [Thu, 11 May 2000 03:58:00 +0000 (03:58 +0000)]
  Clean up documentation on both sides (1.3 and 2.0) for the Win32 build.

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

24 years ago Clean up documentation on both sides (1.3 and 2.0) for the Win32 build.
William A. Rowe Jr [Thu, 11 May 2000 03:39:39 +0000 (03:39 +0000)]
  Clean up documentation on both sides (1.3 and 2.0) for the Win32 build.

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

24 years agouse helpers/PrintPath instead of which to find the location of
Jeff Trawick [Thu, 11 May 2000 03:20:15 +0000 (03:20 +0000)]
use helpers/PrintPath instead of which to find the location of
the perl interpreter

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

24 years agoEBCDIC: Update util_md5.c routines to use APR-ized ap_MD5*()
Jeff Trawick [Thu, 11 May 2000 02:32:05 +0000 (02:32 +0000)]
EBCDIC: Update util_md5.c routines to use APR-ized ap_MD5*()
routines.  As in 1.3, ap_md5digest() has a different function
signature when CHARSET_EBCDIC is defined :(

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

24 years agoPick up various EBCDIC fixes from 1.3 (from Martin Kraemer and Oliver
Jeff Trawick [Wed, 10 May 2000 19:07:43 +0000 (19:07 +0000)]
Pick up various EBCDIC fixes from 1.3 (from Martin Kraemer and Oliver
Reh originally according to the change log).

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

24 years agonamespace-protect hdrs_to_ascii, hdrs_from_ascii, locale_to_ascii, and
Jeff Trawick [Wed, 10 May 2000 01:22:31 +0000 (01:22 +0000)]
namespace-protect hdrs_to_ascii, hdrs_from_ascii, locale_to_ascii, and
locale_from_ascii by adding ap_ prefix
Submitted by: Greg Stein

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

24 years ago Still have this lying around - maybe I should look below src
William A. Rowe Jr [Tue, 9 May 2000 23:29:41 +0000 (23:29 +0000)]
  Still have this lying around - maybe I should look below src
  more often :-)

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

24 years agoGet tree build to work correctly with config Include directive
Allan K. Edwards [Tue, 9 May 2000 22:46:03 +0000 (22:46 +0000)]
Get tree build to work correctly with config Include directive

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

24 years agogeneric EBCDIC support code, changes to rfc1413.c to use APR
Jeff Trawick [Tue, 9 May 2000 20:25:00 +0000 (20:25 +0000)]
generic EBCDIC support code, changes to rfc1413.c to use APR
translation in its EBCDIC support

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

24 years agorfc1413.c fixes:
Jeff Trawick [Tue, 9 May 2000 19:29:57 +0000 (19:29 +0000)]
rfc1413.c fixes:
1) we were retrieving our local port before APR filled it in; wait a
   little longer :)
   (maybe APR needs to be a little smarter about when/if to call
   getsockname()?  it could call it when the info is first needed and
   not do it at all if never needed)
2) when the server dropped the connection before sending a properly-
   delimited response, we entered a hard loop; we weren't reacting to
   EOF/FIN properly

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

24 years agoreap_children doesn't make sense on a machine without a scoreboard, and it
Ryan Bloom [Mon, 8 May 2000 15:36:19 +0000 (15:36 +0000)]
reap_children doesn't make sense on a machine without a scoreboard, and it
causes compile problems, so it's going away on dexter now.

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

24 years agoRemove dynamic MPM's from the status file.
Ryan Bloom [Sun, 7 May 2000 00:40:38 +0000 (00:40 +0000)]
Remove dynamic MPM's from the status file.

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

24 years ago pcre lives and dies on the _WIN32 define, rather than WIN32...
William A. Rowe Jr [Sat, 6 May 2000 16:09:10 +0000 (16:09 +0000)]
  pcre lives and dies on the _WIN32 define, rather than WIN32...
  Adjusted os/win32/os.h to always declare _WIN32, and fixed up
  some goodies.  Win32 now serves pages.

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

24 years ago Cleanup of Apache build with pcre in Win32.
William A. Rowe Jr [Sat, 6 May 2000 15:44:40 +0000 (15:44 +0000)]
  Cleanup of Apache build with pcre in Win32.
  Plus clean up ab and htdigest to conform to build
  of other support executables.
  Everything seems to be working again.

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

24 years ago First crack at getting Apache to build with pcre in Win32.
William A. Rowe Jr [Sat, 6 May 2000 15:02:13 +0000 (15:02 +0000)]
  First crack at getting Apache to build with pcre in Win32.
  Cleans up all the gen_ projects to strip off garbage files,
  as well, and follows the same pattern for dftables.

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

24 years agoserious bug fix:
Jeff Trawick [Sat, 6 May 2000 13:41:59 +0000 (13:41 +0000)]
serious bug fix:
  htdigest didn't init the first parm to ap_open(), so ap_open()
  segfaults thinking it was passed valid storage
build portability:
  make most src/lib/apr/test/Makefile.in compatible with OS/390
  make (no -o outfile after infile specified)
MD5 translation support:
  when APR_HAS_XLATE, low-level routines allow translation handle
  to be specified

  when CHARSET_EBCDIC, password-specific routines always translate,
  but client app must set handle before using

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

24 years agoinitial .cvsignore for PCRE-in-Apache
Jeff Trawick [Sat, 6 May 2000 12:21:20 +0000 (12:21 +0000)]
initial .cvsignore for PCRE-in-Apache

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

24 years agoInitial revision
Ryan Bloom [Fri, 5 May 2000 23:28:20 +0000 (23:28 +0000)]
Initial revision

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

24 years agoReplace hsregex with PCRE. The PCRE library is always used in 2.0,
Ryan Bloom [Fri, 5 May 2000 23:17:54 +0000 (23:17 +0000)]
Replace hsregex with PCRE.  The PCRE library is always used in 2.0,
regardless of what system we are on.  Currently, we are using the POSIX
wrappers that PCRE provides.

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

24 years agoFix a stupid mistake in apxs.in.
Ryan Bloom [Fri, 5 May 2000 21:11:06 +0000 (21:11 +0000)]
Fix a stupid mistake in apxs.in.
Submitted by: Greg Stein

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

24 years agoI forgot to update the alpha information with the last alpha release.
Ryan Bloom [Fri, 5 May 2000 20:19:25 +0000 (20:19 +0000)]
I forgot to update the alpha information with the last alpha release.

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

24 years agoMake apxs mostly work for 2.0. It doesn't add the module to the config
Ryan Bloom [Fri, 5 May 2000 20:10:33 +0000 (20:10 +0000)]
Make apxs mostly work for 2.0.  It doesn't add the module to the config
file yet, but that should be trivial to add back in.

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

24 years ago Ahem... the newsgroups seem unruly over the explicit
William A. Rowe Jr [Fri, 5 May 2000 02:38:29 +0000 (02:38 +0000)]
  Ahem... the newsgroups seem unruly over the explicit
  reference to the other half of Wintel.  This seems like
  a more accurate statement

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

24 years agoInstall os.h and os-inline.c from src/os/$(OSDIR) to $(prefix)/include
Ryan Bloom [Thu, 4 May 2000 23:34:44 +0000 (23:34 +0000)]
Install os.h and os-inline.c from src/os/$(OSDIR) to $(prefix)/include

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

24 years agoMove the generating empty deps stuff into fastgen.sh. The .deps files
Sascha Schumann [Thu, 4 May 2000 20:17:22 +0000 (20:17 +0000)]
Move the generating empty deps stuff into fastgen.sh. The .deps files
are only used by Makefiles which are created by fastgen.sh, so fastgen
is the natural place to create them.

The "portable dirname" regex has been changed to remove any number of
trailing slashes. Just in case. :)

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

24 years agoBack out an inadvertant change to apxs.
Ryan Bloom [Thu, 4 May 2000 19:56:41 +0000 (19:56 +0000)]
Back out an inadvertant change to apxs.

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

24 years agoPort reliable piped logs to mpmt_pthread and dexter. Also a couple of small
Ryan Bloom [Thu, 4 May 2000 19:42:57 +0000 (19:42 +0000)]
Port reliable piped logs to mpmt_pthread and dexter.  Also a couple of small
cleanups for reliable piped logs.

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

24 years agoMake reliable piped logs work on 2.0.
Ryan Bloom [Thu, 4 May 2000 04:02:37 +0000 (04:02 +0000)]
Make reliable piped logs work on 2.0.

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

24 years agoGet rid of warning by including crypt.h when available.
Roy T. Fielding [Thu, 4 May 2000 00:46:51 +0000 (00:46 +0000)]
Get rid of warning by including crypt.h when available.
Make tmpnam stuff less complex.

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

24 years ago Use our own buffer for tmpnam() if the platform seems to know
Ken Coar [Wed, 3 May 2000 17:55:38 +0000 (17:55 +0000)]
Use our own buffer for tmpnam() if the platform seems to know
about it.  Avoids threading and reentrancy problems.

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

24 years agoWin32: Fix some bugs in the restart logic. This is still rather adhoc. A more rigoro...
Bill Stoddard [Wed, 3 May 2000 16:28:04 +0000 (16:28 +0000)]
Win32: Fix some bugs in the restart logic.  This is still rather adhoc. A more rigorous solution
is to maintain a list of overlapped io structures in the child_main control thread
and use HasOverLappedIoCompleted() to manage the connections and pending io.

We must resort to maintaining a list of pending io (i.e. overlapped structures) should
we ever begin using AcceptEx to receive data. Why? We need to be able to detect when
a connection is received but no data is being sent over that connection. There is a
Win32 function (whose name I forget at the moment) to handle this. Why can't Win32
just timeout the connection using setopt??? It would make life so much easier if AcceptEx
just returned TIMEOUT in this condition rather than requiring the application to
explicitly poll the socket to see if data is available.

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

24 years ago Be more expliciti in our error messages if the tmpnam() call fails,
Ken Coar [Wed, 3 May 2000 10:32:45 +0000 (10:32 +0000)]
Be more expliciti in our error messages if the tmpnam() call fails,
or we have trouble opening the filename it returns.

PR: Not a solution, but will help debug several

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

24 years agoThe 'portable dirname' shouldn't leave a trailing / on the directory name
Brian Havard [Wed, 3 May 2000 02:42:18 +0000 (02:42 +0000)]
The 'portable dirname' shouldn't leave a trailing / on the directory name
as it causes double trailing / in some places which confuses some programs.

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

24 years agoConfigure creates config.nice now containing your configure options.
Sascha Schumann [Wed, 3 May 2000 02:02:54 +0000 (02:02 +0000)]
Configure creates config.nice now containing your configure options.
Syntax: ./config.nice [--more-options]

Obtained from: PHP

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

24 years agoBlurf. Move the preload down a bit to
Jim Jagielski [Wed, 3 May 2000 00:48:54 +0000 (00:48 +0000)]
Blurf. Move the preload down a bit to
ensure that the location of config.guess is set :)

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

24 years agoAnd preload from the top.
Jim Jagielski [Wed, 3 May 2000 00:09:05 +0000 (00:09 +0000)]
And preload from the top.

Next on the list: using hints.m4 to set whether to use HSregex and
 to select the "default" mpm for each OS type.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years ago- checking for thread options is mature
Sascha Schumann [Mon, 1 May 2000 21:52:18 +0000 (21:52 +0000)]
- checking for thread options is mature

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

24 years agoCleanup the STATUS file a bit.
Ryan Bloom [Mon, 1 May 2000 21:46:19 +0000 (21:46 +0000)]
Cleanup the STATUS file a bit.
    --  Configuration modules have been rejected
    --  make install works already.

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

24 years ago Final .dsp changes to produce the lightest weight builds
William A. Rowe Jr [Mon, 1 May 2000 16:51:24 +0000 (16:51 +0000)]
  Final .dsp changes to produce the lightest weight builds
  without precompiled headers or source browse files under
  Win32.  Enabling these is straightforward, if that's what
  the user desires.  Also correct minor errors, and reset
  some project defaults to their current config.

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

24 years agoadd missing ';' in non-ASCII path
Jeff Trawick [Mon, 1 May 2000 15:56:26 +0000 (15:56 +0000)]
add missing ';' in non-ASCII path

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

24 years ago Just a last few files to ignore in the installed Win32 tree.
William A. Rowe Jr [Mon, 1 May 2000 15:47:31 +0000 (15:47 +0000)]
  Just a last few files to ignore in the installed Win32 tree.

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

24 years ago Significantly shorten the Win32 build and shrink symbol tables
William A. Rowe Jr [Mon, 1 May 2000 14:40:03 +0000 (14:40 +0000)]
  Significantly shorten the Win32 build and shrink symbol tables
  for precompiled headers and debugging by eliminating large chunks
  of the windows.h declarations, especially the graphical user
  interface declarations.

  Also eliminates redundant inclusion of winsock and windows headers.
  As the GUI sections can be included by adding the windows.h include
  prior to any apr headers, these includes now imply something
  completely different.

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

24 years agoMake install target work on AIX.
Sascha Schumann [Sun, 30 Apr 2000 22:30:23 +0000 (22:30 +0000)]
Make install target work on AIX.

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

24 years agoUse F_SETFL for setting the O_NONBLOCK status flag. F_SETFD is for setting
Sascha Schumann [Sun, 30 Apr 2000 21:42:46 +0000 (21:42 +0000)]
Use F_SETFL for setting the O_NONBLOCK status flag. F_SETFD is for setting
file descriptor flags (like FD_CLOEXEC).

PR: #47

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

24 years agoMake piped logs work again in 2.0. The next step is reliable piped logs.
Ryan Bloom [Sun, 30 Apr 2000 21:21:51 +0000 (21:21 +0000)]
Make piped logs work again in 2.0.  The next step is reliable piped logs.

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

24 years agoAdd VPATH support to Apache:
Sascha Schumann [Sun, 30 Apr 2000 18:27:18 +0000 (18:27 +0000)]
Add VPATH support to Apache:

  os/$(OS_DIR) is now equivalent to the old $(OS_DIR)

  Necessary include paths are added only in VPATH mode.

  Dependencies are stored in the build directory now.
  They contain paths which depend on the current build,
  and therefore they are not general.

  Fixed two dependencies in main/Makefile.in.

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

24 years agoMost of the support programs are created during the build, so we can expect
Sascha Schumann [Sun, 30 Apr 2000 15:51:37 +0000 (15:51 +0000)]
Most of the support programs are created during the build, so we can expect
them to be in $(builddir).

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

24 years agoAlways create the target directory, if it does not exist. Also use the
Sascha Schumann [Sun, 30 Apr 2000 15:50:42 +0000 (15:50 +0000)]
Always create the target directory, if it does not exist. Also use the
Makefile template from the source tree.

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

24 years agoWe want to build in the build dir, not the src dir.
Sascha Schumann [Sun, 30 Apr 2000 15:49:32 +0000 (15:49 +0000)]
We want to build in the build dir, not the src dir.

s/top_srcdir/top_builddir/

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

24 years agoAllow for help messages for modules.
Jim Jagielski [Sun, 30 Apr 2000 15:19:30 +0000 (15:19 +0000)]
Allow for help messages for modules.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoWork around the non-working pthread.h detection on OpenBSD.
Sascha Schumann [Sun, 30 Apr 2000 02:31:07 +0000 (02:31 +0000)]
Work around the non-working pthread.h detection on OpenBSD.

We can savely assume that pthread.h exists on every system which
supports Pthreads.

PR: #29

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

24 years agoGet rid of last relative include path in our Makefiles
Sascha Schumann [Sun, 30 Apr 2000 02:28:14 +0000 (02:28 +0000)]
Get rid of last relative include path in our Makefiles

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

24 years agoOverall UNIX build system improvements:
Sascha Schumann [Sun, 30 Apr 2000 00:06:07 +0000 (00:06 +0000)]
Overall UNIX build system improvements:

* Makefile header is now completely dynamic
* Absolute paths everywhere
  (fixes Tru64 support)
* Get rid of LTLIBRARY_SHARED_NAME rule in library.mk
  (fixes Irix support, untested)
* VPATH does not contain variables anymore
  (fixes UnixWare support)
* Remove inclusion of program.mk in support/Makefile.in
  (PROGRAM_NAME is empty => breaks Irix and others)
* Call REENTRANCY_FLAGS earlier, so that flags are passed to header checks
  (might fix OpenBSD pthread.h-detection, untested)

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

24 years agoAdd ap_sigwait() to support old-style sigwait().
Sascha Schumann [Sat, 29 Apr 2000 23:57:54 +0000 (23:57 +0000)]
Add ap_sigwait() to support old-style sigwait().

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

24 years agoUpdate some docs.
Ryan Bloom [Sat, 29 Apr 2000 19:06:35 +0000 (19:06 +0000)]
Update some docs.

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

24 years agoPR:
William A. Rowe Jr [Sat, 29 Apr 2000 16:23:46 +0000 (16:23 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Sorry I missed one.  I -really- believe now that ap.h can now be safely swept
  out to the attic, but I will leave for someone in unix to test and confirm.

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

24 years agoPR:
William A. Rowe Jr [Sat, 29 Apr 2000 16:16:18 +0000 (16:16 +0000)]
PR:
Obtained from:
Submitted by: William Rowe
Reviewed by:

  With this change, I believe that ap.h can now be safely swept out to
  the attic, but I will leave for at least one other to confirm.

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

24 years agoPR:
William A. Rowe Jr [Sat, 29 Apr 2000 16:00:33 +0000 (16:00 +0000)]
PR:
Obtained from:
Submitted by: William Rowe
Reviewed by:

  Created ap_base64.h to extract those declarations for clarity from ap.h

  CORE_PRIVATE, httpd.h do not belong in library functions, removed from ap.lib

  Use apr headers for declarations in ap.lib stuff, kill AP_LONG from ap_sha1.h

  Move credit to lib/apr/lib/ap_snprintf.c from ap.h for authorship

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