1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-23 22:49:01 +03:00
Commit Graph

1755 Commits

Author SHA1 Message Date
Ryan Bloom
fcc4d8c669 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
2000-05-04 19:42:57 +00:00
Ryan Bloom
8c385f0dbd 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
2000-05-04 04:02:37 +00:00
Roy T. Fielding
66c90f61ef 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
2000-05-04 00:46:51 +00:00
Ken Coar
597b2a381b 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
2000-05-03 17:55:38 +00:00
Bill Stoddard
3512abd7b4 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
2000-05-03 16:28:04 +00:00
Ken Coar
9452b0d2a6 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
2000-05-03 10:32:45 +00:00
Brian Havard
b6d1cf01a2 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
2000-05-03 02:42:18 +00:00
Sascha Schumann
afb48ffe10 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
2000-05-03 02:02:54 +00:00
Jim Jagielski
a7315d1bd1 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
2000-05-03 00:48:54 +00:00
Jim Jagielski
56faece2ad 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
2000-05-03 00:09:05 +00:00
Sascha Schumann
b9de469821 - checking for thread options is mature
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85124 13f79535-47bb-0310-9956-ffa450edef68
2000-05-01 21:52:18 +00:00
Ryan Bloom
54b4528cc6 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
2000-05-01 21:46:19 +00:00
William A. Rowe Jr
85a9f216b6 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
2000-05-01 16:51:24 +00:00
Jeff Trawick
607d91d897 add missing ';' in non-ASCII path
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85120 13f79535-47bb-0310-9956-ffa450edef68
2000-05-01 15:56:26 +00:00
William A. Rowe Jr
624a66585b 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
2000-05-01 15:47:31 +00:00
William A. Rowe Jr
6d9adaf3a8 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
2000-05-01 14:40:03 +00:00
Sascha Schumann
f8e8de348f Make install target work on AIX.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85116 13f79535-47bb-0310-9956-ffa450edef68
2000-04-30 22:30:23 +00:00
Sascha Schumann
5c5d265c73 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
2000-04-30 21:42:46 +00:00
Ryan Bloom
0a29229315 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
2000-04-30 21:21:51 +00:00
Sascha Schumann
6a0e55e698 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
2000-04-30 18:27:18 +00:00
Sascha Schumann
998b29182f 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
2000-04-30 15:51:37 +00:00
Sascha Schumann
6c2a300d10 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
2000-04-30 15:50:42 +00:00
Sascha Schumann
88fdb2fda3 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
2000-04-30 15:49:32 +00:00
Jim Jagielski
0ce9111af4 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
2000-04-30 15:19:30 +00:00
Sascha Schumann
bb5807c705 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
2000-04-30 02:31:07 +00:00
Sascha Schumann
110f9d862d 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
2000-04-30 02:28:14 +00:00
Sascha Schumann
99fa11cb5f 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
2000-04-30 00:06:07 +00:00
Sascha Schumann
0cfb1d0be3 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
2000-04-29 23:57:54 +00:00
Ryan Bloom
d2892da2e6 Update some docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85100 13f79535-47bb-0310-9956-ffa450edef68
2000-04-29 19:06:35 +00:00
William A. Rowe Jr
716eb6da71 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
2000-04-29 16:23:46 +00:00
William A. Rowe Jr
c922c0d50d 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
2000-04-29 16:16:18 +00:00
William A. Rowe Jr
85845c9bcb 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
2000-04-29 16:00:33 +00:00
Sascha Schumann
0a3f836975 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
2000-04-29 14:43:10 +00:00
William A. Rowe Jr
603a6eca53 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
2000-04-28 20:42:28 +00:00
William A. Rowe Jr
e5954e618f 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
2000-04-28 20:40:01 +00:00
William A. Rowe Jr
42f60d5e0d 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
2000-04-28 20:10:09 +00:00
William A. Rowe Jr
7d4602b4ae 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
2000-04-28 19:58:06 +00:00
Ryan Bloom
de87338df2 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
2000-04-28 19:03:15 +00:00
Ryan Bloom
78b0a254fd Update version information for 3rd alpha.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85084 13f79535-47bb-0310-9956-ffa450edef68
2000-04-28 18:41:53 +00:00
Ryan Bloom
b2308e9d99 Update announcement for 3rd alpha.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85082 13f79535-47bb-0310-9956-ffa450edef68
2000-04-28 18:38:13 +00:00
Doug MacEachern
2f45db7e82 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
2000-04-28 18:27:55 +00:00
Jeff Trawick
6bb2ecf9c8 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
2000-04-28 18:25:02 +00:00
Ryan Bloom
9e9da6ede9 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
2000-04-28 15:32:50 +00:00
William A. Rowe Jr
0c524dfc2d 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
2000-04-28 15:24:18 +00:00
Bill Stoddard
37ed753f42 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
2000-04-28 15:10:38 +00:00
William A. Rowe Jr
3f99179c6d 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
2000-04-28 08:30:19 +00:00
William A. Rowe Jr
0f976d4673 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
2000-04-28 07:56:06 +00:00
Doug MacEachern
f3a4cf49be prefix TRUE,FALSE with APR_
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85074 13f79535-47bb-0310-9956-ffa450edef68
2000-04-28 06:49:53 +00:00
Brian Havard
fd9c9ad74d 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
2000-04-28 06:15:53 +00:00
William A. Rowe Jr
76ad4e31f9 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
2000-04-28 05:59:32 +00:00