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

24 years agoGet rid of NO_RECURSION. This was originally implemented for PHP and is not
Sascha Schumann [Sat, 29 Apr 2000 14:43:10 +0000 (14:43 +0000)]
Get rid of NO_RECURSION. This was originally implemented for PHP and is not
used by Apache (will soon be obsolete in PHP as well).

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

24 years agoPR:
William A. Rowe Jr [Fri, 28 Apr 2000 20:42:28 +0000 (20:42 +0000)]
PR:
Obtained from:
Submitted by: William Rowe
Reviewed by:

  Sorry, trying to watch for those no-newline edits... let one slip by.

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

24 years agoPR:
William A. Rowe Jr [Fri, 28 Apr 2000 20:40:01 +0000 (20:40 +0000)]
PR:
Obtained from:
Submitted by: William Rowe
Reviewed by:

  Second round of changes to assure Win32 droppings don't infect the tree.

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

24 years agoPR:
William A. Rowe Jr [Fri, 28 Apr 2000 20:10:09 +0000 (20:10 +0000)]
PR:
Obtained from:
Submitted by: William Rowe
Reviewed by:

  Not good... can't be adding to the makefile.win list of files to copy
  without adding to the list of projects to build :-|

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

24 years agoPR:
William A. Rowe Jr [Fri, 28 Apr 2000 19:58:06 +0000 (19:58 +0000)]
PR:
Obtained from:
Submitted by: William Rowe
Reviewed by:

  First round of .cvsignore changes for Win32's droppings

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

24 years agoUpdate the version string for the current dev version.
Ryan Bloom [Fri, 28 Apr 2000 19:03:15 +0000 (19:03 +0000)]
Update the version string for the current dev version.

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

24 years agoUpdate version information for 3rd alpha.
Ryan Bloom [Fri, 28 Apr 2000 18:41:53 +0000 (18:41 +0000)]
Update version information for 3rd alpha.

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

24 years agoUpdate announcement for 3rd alpha.
Ryan Bloom [Fri, 28 Apr 2000 18:38:13 +0000 (18:38 +0000)]
Update announcement for 3rd alpha.

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

24 years agoback out APR_ prefix for TRUE,FALSE
Doug MacEachern [Fri, 28 Apr 2000 18:27:55 +0000 (18:27 +0000)]
back out APR_ prefix for TRUE,FALSE

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

24 years agoWin32:
Jeff Trawick [Fri, 28 Apr 2000 18:25:02 +0000 (18:25 +0000)]
Win32:
  install ab.exe
  fix dependency in Apache.dsw (ab is dependent on aprlib and ap)
  fix ab and htdigest projects so that they find all header files
  define ap_signal() in apr.hw - this is o.k. for casual use as with
    cmd-line programs
  use API_VAR_EXPORT as appropriate in getopt.c
general:
  ab doesn't need to declare ap_optarg/ap_optind; fix a warning
  htdigest needs to call ap_initialize() to avoid segfault at
    startup

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

24 years agoAdd back in the build before install step when using make install.
Ryan Bloom [Fri, 28 Apr 2000 15:32:50 +0000 (15:32 +0000)]
Add back in the build before install step when using make install.

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

24 years ago Dependency sequences appear to overrule other .dsp project sequences.
William A. Rowe Jr [Fri, 28 Apr 2000 15:24:18 +0000 (15:24 +0000)]
  Dependency sequences appear to overrule other .dsp project sequences.
  Also stripped out some nonsense - dependency loops may have caused
  some compiliations to always rebuild.

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

24 years agoBackout the APR_TRUE|FALSE patch for the Windows MPM.
Bill Stoddard [Fri, 28 Apr 2000 15:10:38 +0000 (15:10 +0000)]
Backout the APR_TRUE|FALSE patch for the Windows MPM.

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

24 years ago Clean up a few Win32 build oversights before the alpha.
William A. Rowe Jr [Fri, 28 Apr 2000 08:30:19 +0000 (08:30 +0000)]
  Clean up a few Win32 build oversights before the alpha.

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

24 years ago Following constructive advise of Ralf, and comments of JLW:
William A. Rowe Jr [Fri, 28 Apr 2000 07:56:06 +0000 (07:56 +0000)]
  Following constructive advise of Ralf, and comments of JLW:

  Consitify use of $(MAKE) directive, and add $(MAKEOPT) dependent
  on make tool used.  Clearly just a start twords bcc compatibility,
  but hopefully a good one.  In the process, we make the build just
  a little less noisy.

  Also a test to see if Manoj wrangled my cvs update mail list
  access to broadcast correctly.

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

24 years agoprefix TRUE,FALSE with APR_
Doug MacEachern [Fri, 28 Apr 2000 06:49:53 +0000 (06:49 +0000)]
prefix TRUE,FALSE with APR_

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

24 years agoRemove unnecessary rules for .S files which clash with the rules for .s file
Brian Havard [Fri, 28 Apr 2000 06:15:53 +0000 (06:15 +0000)]
Remove unnecessary rules for .S files which clash with the rules for .s file
(which we probably also don't need) on case insensitive systems like OS/2.

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

24 years ago Untangle Win32 build errors.
William A. Rowe Jr [Fri, 28 Apr 2000 05:59:32 +0000 (05:59 +0000)]
  Untangle Win32 build errors.

  #define str*casecmp as stricmp causes reinterpretation of
  str*casecmp function declarations.  This creates dozens of
  compiler emits.  Since there is no need, the HAVE_STRCASECMP
  macros wipe out the redeclaration.

  This is my second and last hack for the evening...
  spent way to much time fighting the windoze cvs/ssh
  learning curve!  Sorry for the previous nonsense docs of
  rev 1.22 - still fighting to use the editor for docs :-)

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

24 years ago Replace ERROR constant with TODO_ERROR to flag these for review.
William A. Rowe Jr [Fri, 28 Apr 2000 05:50:17 +0000 (05:50 +0000)]
  Replace ERROR constant with TODO_ERROR to flag these for review.

  ERROR is a Windows.h constant of 0, or success, and is unrelated
  to the error codes!

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

24 years ago Replace ERROR constant with TODO_ERROR to flag these for review.
William A. Rowe Jr [Fri, 28 Apr 2000 05:41:36 +0000 (05:41 +0000)]
  Replace ERROR constant with TODO_ERROR to flag these for review.

  ERROR is a Windows.h constant of 0, or success, and is unrelated
  to the error codes!

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

24 years agoextremely minor cleanup:
Jeff Trawick [Fri, 28 Apr 2000 02:35:40 +0000 (02:35 +0000)]
extremely minor cleanup:
apr_file_io.h: fix comment describing APR_OS_DEFAULT
sockets.c: use socklen_t instead of int to avoid compile
  warning on systems with unsigned sock len parms
dexter/.cvsignore: ignore .deps, .libs
errorcodes.c: get rid of some unused vars

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

24 years agoBuild ab on Win32.
Jeff Trawick [Fri, 28 Apr 2000 01:37:42 +0000 (01:37 +0000)]
Build ab on Win32.
Fix some minor ab APR-ization issues.

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

24 years agoThis stops Apache 2.0 from trying to compile the server when we run
Ryan Bloom [Fri, 28 Apr 2000 00:02:30 +0000 (00:02 +0000)]
This stops Apache 2.0 from trying to compile the server when we run
make install.  We never used to build the server when installing in
the 1.3 tree, so I'm going back to that behavior.

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

24 years agochange ap_hook_pre_connection from VOID to RUN_ALL
Doug MacEachern [Thu, 27 Apr 2000 23:44:16 +0000 (23:44 +0000)]
change ap_hook_pre_connection from VOID to RUN_ALL

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

24 years agoCleanup more files when make distclean is used. This should be all the
Ryan Bloom [Thu, 27 Apr 2000 23:30:57 +0000 (23:30 +0000)]
Cleanup more files when make distclean is used.  This should be all the
files that should be cleaned.

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

24 years agoMerge the htdigest.c file from the apr/test directory to the support
Ryan Bloom [Thu, 27 Apr 2000 20:35:41 +0000 (20:35 +0000)]
Merge the htdigest.c file from the apr/test directory to the support
directory.

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

24 years agoRepair ap_poll() on UNIX systems where APR's poll flags
Jeff Trawick [Thu, 27 Apr 2000 20:11:34 +0000 (20:11 +0000)]
Repair ap_poll() on UNIX systems where APR's poll flags
have different values than the system's poll flags (i.e.,
call get_revents() to translate flags before returning to
the caller; otherwise, they are quite meaningless :) ).

Fix ab's usage of the new ap_poll() and repair some APR-ization
breakage (e.g., not setting port prior to ap_connect()).

Uninteresting changes:

Change toascii to to_ascii in ab.c to avoid a conflict with MSVC++'s
toascii() (I enabled the NOT_ASCII logic in ab on Win32 recently to
verify that ap_xlate_X() returned the correct error codes and got
warnings on toascii.

get_revent() was reformatted unintentionally.  Sorry.

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

24 years agoRemove two items from the STATUS file. These are most definately not
Ryan Bloom [Thu, 27 Apr 2000 19:01:31 +0000 (19:01 +0000)]
Remove two items from the STATUS file.  These are most definately not
show-stoppers, and I don't think they belong in the status file at all.

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

24 years agoFix the parsing of a config file when the first item in either the
Ryan Bloom [Thu, 27 Apr 2000 18:54:14 +0000 (18:54 +0000)]
Fix the parsing of a config file when the first item in either the
config file or a container is a container.

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

24 years agoInstall the support binaries.
Ryan Bloom [Thu, 27 Apr 2000 18:14:47 +0000 (18:14 +0000)]
Install the support binaries.

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

24 years agoignore the .libs directory too.
Ryan Bloom [Thu, 27 Apr 2000 17:57:01 +0000 (17:57 +0000)]
ignore the .libs directory too.

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

24 years agoignore the intermediate build files.
Ryan Bloom [Thu, 27 Apr 2000 17:55:12 +0000 (17:55 +0000)]
ignore the intermediate build files.

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

24 years agoEliminate redundant calls to initialize the Winsock.
Bill Stoddard [Thu, 27 Apr 2000 14:59:50 +0000 (14:59 +0000)]
Eliminate redundant calls to initialize the Winsock.

Submitted by: Tim Costello

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

24 years agofix path to mm's configure.in
Jeff Trawick [Thu, 27 Apr 2000 11:30:35 +0000 (11:30 +0000)]
fix path to mm's configure.in
fix aclocal.m4's dependencies
Submitted by: Sascha Schumann <sascha@schumann.cx>
Reviewed by: Jeff Trawick

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

24 years agoI have merged the two ab files together, the one from src/support and
Ryan Bloom [Thu, 27 Apr 2000 05:56:41 +0000 (05:56 +0000)]
I have merged the two ab files together, the one from src/support and
src/lib/apr/test.  This means that the ab program in the support
directory is now portable using APR.  This has only gone through the
barest of testing, and needs to be tested much better.

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

24 years agoFix some compile breaks in the support directory. These have not been
Ryan Bloom [Thu, 27 Apr 2000 04:22:57 +0000 (04:22 +0000)]
Fix some compile breaks in the support directory.  These have not been
tested, but they do compile at least.

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

24 years agoAdd the support directory back into the build process.
Ryan Bloom [Thu, 27 Apr 2000 04:21:21 +0000 (04:21 +0000)]
Add the support directory back into the build process.

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

24 years agoreport dso_error if any
Doug MacEachern [Thu, 27 Apr 2000 04:15:48 +0000 (04:15 +0000)]
report dso_error if any

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

24 years agoA bit of mod_file_cache cleanup. Eliminate mmap_static specific code, etc,
Bill Stoddard [Thu, 27 Apr 2000 03:55:57 +0000 (03:55 +0000)]
A bit of mod_file_cache cleanup. Eliminate mmap_static specific code, etc,

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

24 years agoFix the progname stuff to work the same way the rest of the configure
Ryan Bloom [Wed, 26 Apr 2000 21:08:26 +0000 (21:08 +0000)]
Fix the progname stuff to work the same way the rest of the configure
scheme works.
Submitted by: Sascha Schumann
Reviewed by: Ryan Bloom

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

24 years agoSome windows tweaks to the default configuration, including providing
Bill Stoddard [Wed, 26 Apr 2000 20:02:11 +0000 (20:02 +0000)]
Some windows tweaks to the default configuration, including providing
a default ServerName of 127.0.0.1, including the new auth digest and
file cache module LoadModuleDirectives, et. al.

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

24 years agoIncrease the default NumSIG value from 32 to 33 on behalf of
Jeff Trawick [Wed, 26 Apr 2000 14:54:57 +0000 (14:54 +0000)]
Increase the default NumSIG value from 32 to 33 on behalf of
OS/390.  unix_siglist_init() will now blow up via ap_assert()
if NumSIG is too low.  (This is no fun to debug!)

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

24 years agoDefine HAVE_STRING_H, HAVE_STDLIB_H, HAVE_CTYPE_H, HAVE_LIMITS_H
Jeff Trawick [Wed, 26 Apr 2000 14:50:33 +0000 (14:50 +0000)]
Define HAVE_STRING_H, HAVE_STDLIB_H, HAVE_CTYPE_H, HAVE_LIMITS_H
at configure time.  Some of the modules use these.

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

24 years agoadd AP_ prefix to *HOOK* macros
Doug MacEachern [Wed, 26 Apr 2000 07:14:39 +0000 (07:14 +0000)]
add AP_ prefix to *HOOK* macros

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

24 years agoGet rid of ap_pool_t argument on ap_strerror
Bill Stoddard [Wed, 26 Apr 2000 02:36:38 +0000 (02:36 +0000)]
Get rid of ap_pool_t argument on ap_strerror

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

24 years agoWin32: Graceful restart is working again, and better than before.
Bill Stoddard [Wed, 26 Apr 2000 00:36:49 +0000 (00:36 +0000)]
Win32: Graceful restart is working again, and better than before.

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

24 years agoIf a developer uses --with-program-name=foo, the config files are renamed
Ryan Bloom [Tue, 25 Apr 2000 23:20:36 +0000 (23:20 +0000)]
If a developer uses --with-program-name=foo, the config files are renamed
to match the name of the executable.  In this example, httpd.conf will be
renamed to foo.conf.

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

24 years agoPort a 1.3 EBCDIC fix to 2.0:
Jeff Trawick [Tue, 25 Apr 2000 23:19:15 +0000 (23:19 +0000)]
Port a 1.3 EBCDIC fix to 2.0:

This is a port of my 1.3 patch which allows error response strings to be
translated from ebcdic to ascii.  This bug is triggered by trying to
access a non-existant .gif for example.  The content type starts out
being image/gif but is switched by error processing to text/html.
Without this patch, ap_checkconv() is called too early (before the error
processing), so the ebcdic conversion flag gets turned off and the
eventual "404 Not Found" error response is sent to the browser still in
ebcdic.  Not very pretty.

Submitted by: Greg Ames
Reviewed by: Jeff Trawick

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

24 years agoTell APR to truncate the httpd.pid file if it exists. Fix a bug in the
Bill Stoddard [Tue, 25 Apr 2000 23:15:46 +0000 (23:15 +0000)]
Tell APR to truncate the httpd.pid file if it exists. Fix a bug in the
Windows side of APR to correctly handle this flag. Also fix related bug
in ap_write.

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

24 years agoMore win32 shotgunary to the windows project files and to
Bill Stoddard [Tue, 25 Apr 2000 22:33:43 +0000 (22:33 +0000)]
More win32 shotgunary to the windows project files and to
eliminate compile warnings.

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

24 years agoWin32: Add htdigest
Bill Stoddard [Tue, 25 Apr 2000 22:13:16 +0000 (22:13 +0000)]
Win32: Add htdigest

Submitted by: William Rowe

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

24 years agoUpdate logresolve.dsp and add to Makefile.win
Bill Stoddard [Tue, 25 Apr 2000 22:08:23 +0000 (22:08 +0000)]
Update logresolve.dsp and add to Makefile.win

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

24 years agoAllow the Apache-2.0 executable name to be specified with the
Ryan Bloom [Tue, 25 Apr 2000 21:29:27 +0000 (21:29 +0000)]
Allow the Apache-2.0 executable name to be specified with the
--with-program-name command line argument to configure.  This does not
change the name of the config files or anything else, yet.

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

24 years agoSome Windows tweaks from William Rowe...
Bill Stoddard [Tue, 25 Apr 2000 21:18:04 +0000 (21:18 +0000)]
Some Windows tweaks from William Rowe...

Submitted by: William Rowe

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

24 years agoAdd the logresolve Windows project file
Bill Stoddard [Tue, 25 Apr 2000 19:43:57 +0000 (19:43 +0000)]
Add the logresolve Windows project file

Submitted by: William Rowe

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

24 years agoWe should be checking for apr_private.h.in and updating it from now on.
Ryan Bloom [Tue, 25 Apr 2000 19:16:36 +0000 (19:16 +0000)]
We should be checking for apr_private.h.in and updating it from now on.

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

24 years agoWin32: First cut at new shutdown/restart logic. The key new feature here is
Bill Stoddard [Mon, 24 Apr 2000 22:44:21 +0000 (22:44 +0000)]
Win32: First cut at new shutdown/restart logic. The key new feature here is
the use of CancelIo on the listen socket. Threads can only cancel
their own I/O. To enable use of this nifty feature, I needed to make
sure only one thread ever initiated async I/O. So, if the workers
detect that they need more completion contexts (async AcceptExes),
they set the maintenance_event, which directs the control thread to
do the work on behalf of the workers. Most of the other changes are
to support this end.

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

24 years agoRemove ServerType from the Windows config file
Ryan Bloom [Mon, 24 Apr 2000 20:13:35 +0000 (20:13 +0000)]
Remove ServerType from the Windows config file

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

24 years agoChange names of strnatcmp & strnatcasecmp to cpmply with APR naming
Bill Stoddard [Mon, 24 Apr 2000 14:57:54 +0000 (14:57 +0000)]
Change names of strnatcmp & strnatcasecmp to cpmply with APR naming
conventions

Submitted by: William Rowe

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

24 years agoFix compile break
Bill Stoddard [Mon, 24 Apr 2000 14:31:50 +0000 (14:31 +0000)]
Fix compile break

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

24 years agoInclude apr_md5.h rather than the deprecated ap_md5.h. Fixes compile break.
Bill Stoddard [Mon, 24 Apr 2000 14:14:02 +0000 (14:14 +0000)]
Include apr_md5.h rather than the deprecated ap_md5.h. Fixes compile break.

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

24 years agodrop the "container" param from ap_walk_config(). callers should simply
Greg Stein [Mon, 24 Apr 2000 12:27:02 +0000 (12:27 +0000)]
drop the "container" param from ap_walk_config(). callers should simply
    pass the first child, rather than expecting the walker to do it.
remove the nasty "static" variable inside ap_walk_config(). it now walks the
    tree provided with no worries about bumping up/down levels.
minor refactor between ap_walk_config() and ap_walk_config_sub() to clean up
    some logic and clarify the code.

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

24 years agoclean up cmd_parms: config_file is no longer valid; end_token is bogus;
Greg Stein [Mon, 24 Apr 2000 12:00:43 +0000 (12:00 +0000)]
clean up cmd_parms: config_file is no longer valid; end_token is bogus;
    add directive.
move configfile_t and functions from httpd.h to http_config.h
new signature for ap_build_config() (since config_file removed from cmd_parms)
add "data" to ap_directive_t for future use by modules. add filename.
syntax checking for section-close directives: a section-open must exist,
    the section-close must be </FOO>, and the open/close must match.
    the file as a whole must be properly balanced (issue errors for each
    unmatched section-open).
</FOO> command_rec structures are obsolete. Remove from http_core.c.
do not store </FOO> directives in the config tree.
clean out section-close logic from http_core.c (and old, related comments)
<Limit> and <LimitExcept> must walk their children.
new mechanism in ap_check_cmd_context() for testing enclosure in a
    Directory/Location/File: find_parent()
<IfModule> and <IfDefine> must pass cmd->context when walking the children
several places: we had a walk followed by ap_get_module_config(). that
    assumed the walk would create a config that we could fetch, which is not
    true -- it is possible that the children are all from other modules
    (e.g. the <Files> section in httpd.conf-dist has no "core" directives).
    using ap_set_config_vectors() ensures we get a structure, and it returns
    it to us.
    [ note: when we had </Directory> (and friends) in the tree, the config
      would get created; removing the directive removed the config; this
      was a bitch to track down :-) ]

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

24 years agohandle error messages during building and processing of the configuration.
Greg Stein [Mon, 24 Apr 2000 08:35:56 +0000 (08:35 +0000)]
handle error messages during building and processing of the configuration.
add missing return statements, wrap some lines, remove unused vars.
move syntax error reporting and exit(1) back to the right place (to be
    fixed in a future pass; the exit() is inappropriate for parsing
    .htaccess files).

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

24 years agoChange strncasecmp() definition to match Bill's prototype. Fixes compile
Brian Havard [Mon, 24 Apr 2000 06:51:22 +0000 (06:51 +0000)]
Change strncasecmp() definition to match Bill's prototype. Fixes compile
break on OS/2.

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

24 years agoAdd `IndexOptions +VersionSort', to nicely sort filenames
dgaudet [Mon, 24 Apr 2000 04:03:39 +0000 (04:03 +0000)]
Add `IndexOptions +VersionSort', to nicely sort filenames
containing version numbers.

Submitted by: Martin Pool <mbp@linuxcare.com.au>

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

24 years agoFirst cut at a file handle cache. It serves on Windows and should work on
Bill Stoddard [Sun, 23 Apr 2000 17:42:22 +0000 (17:42 +0000)]
First cut at a file handle cache. It serves on Windows and should work on
Unix systems that implement sendfile.

It is still very rough around the edges (compile warnings, does an unnecessary
stat, not completely Unix friendly, leftover mod_mmap_static code, etc.)

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

24 years agoFix some problems on systems where EAGAIN != EWOULDBLOCK (e.g., OS/390).
Jeff Trawick [Sun, 23 Apr 2000 13:22:08 +0000 (13:22 +0000)]
Fix some problems on systems where EAGAIN != EWOULDBLOCK (e.g., OS/390).
ap_canonical_errror() for Unix now maps EWOULDBLOCK to EAGAIN/APR_EAGAIN
when appropriate so that the changes here (as well as bjh's changes from a
few days ago) to call ap_canonical_error() before comparing with EWOULDBLOCK
will work on Unix as well.

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

24 years agoap_open(..,APR_OS_DEFAULT,..) uses perms 0666 instead of 0777 on
Jeff Trawick [Sun, 23 Apr 2000 12:24:10 +0000 (12:24 +0000)]
ap_open(..,APR_OS_DEFAULT,..) uses perms 0666 instead of 0777 on
Unix; access_log and error_log now created with these perms; non-
Unix is unaffected

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