]> granicus.if.org Git - apache/log
apache
24 years agosleep until the next second, rather than sleep for <current-time> seconds.
Greg Stein [Thu, 8 Jun 2000 02:56:27 +0000 (02:56 +0000)]
sleep until the next second, rather than sleep for <current-time> seconds.
fix typo on symbol (prevented compilation)

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

24 years agoFix some problems with the time commit. I guess mod_unique_id isn't turned
Ryan Bloom [Thu, 8 Jun 2000 01:47:21 +0000 (01:47 +0000)]
Fix some problems with the time commit.  I guess mod_unique_id isn't turned
on by default, which is why my last build's didn't catch this.  I'll be
more careful in the future.
Submitted by: Greg Stein

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

24 years agoRemove all occurances of gettimeofday. Replace it with ap_now which
Ryan Bloom [Thu, 8 Jun 2000 00:28:35 +0000 (00:28 +0000)]
Remove all occurances of gettimeofday.  Replace it with ap_now which
provides the same function but works cross-paltform.

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

24 years agoFix Win32 bug when pathname length exactly equals MAX_PATH.
Allan K. Edwards [Wed, 7 Jun 2000 22:50:15 +0000 (22:50 +0000)]
Fix Win32 bug when pathname length exactly equals MAX_PATH.
This bug caused directory index to be displayed rather than
returning an error.

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

24 years agoRemove the check for difftime, we aren't actually using it anywhere.
Ryan Bloom [Wed, 7 Jun 2000 22:14:58 +0000 (22:14 +0000)]
Remove the check for difftime, we aren't actually using it anywhere.

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

24 years ago Forgot to include when I committed the code change..
Ken Coar [Wed, 7 Jun 2000 16:23:46 +0000 (16:23 +0000)]
Forgot to include when I committed the code change..

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

24 years agoGreg Ames' mod_mmap_static fixes have been applied, so remove the
Jeff Trawick [Wed, 7 Jun 2000 13:47:20 +0000 (13:47 +0000)]
Greg Ames' mod_mmap_static fixes have been applied, so remove the
corresponding entry.

Fix typo in Greg Stein's note about gethostbyname_r().

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

24 years agoChange the mmap() feature test to check only for existence.
Jeff Trawick [Wed, 7 Jun 2000 12:36:51 +0000 (12:36 +0000)]
Change the mmap() feature test to check only for existence.
The autoconf-provided check used previously fails when the
platform doesn't support MAP_FIXED.  Apache doesn't use that
mmap() feature, so we don't want to require it.
Submitted by: Greg Ames

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

24 years agoFix some bad (1.3 style) parmlists to ap_log_error() which were introduced
Jeff Trawick [Wed, 7 Jun 2000 11:51:49 +0000 (11:51 +0000)]
Fix some bad (1.3 style) parmlists to ap_log_error() which were introduced
with the reintroduction of resource limiting logic.

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

24 years agocombine two entries because they just *cannot* be separated...
Greg Stein [Wed, 7 Jun 2000 02:06:49 +0000 (02:06 +0000)]
combine two entries because they just *cannot* be separated...

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

24 years agoFix a couple of bugs in mod_cgid:
Jeff Trawick [Tue, 6 Jun 2000 22:22:52 +0000 (22:22 +0000)]
Fix a couple of bugs in mod_cgid:

The cgi arguments were sometimes mangled because no terminating '\0' was
added to the arg string passed to the cgi daemon.

The len parm to accept() was not initialized, leading sometimes to an
endless loop of failed accept() calls on OS/390 and anywhere else that
failed the call if the len was negative.

Tweaks: Add some traces for failed socket calls at cgi daemon setup time
(most of which I hit while playing around).

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

24 years agolittle wooden boy.
Greg Stein [Tue, 6 Jun 2000 21:46:40 +0000 (21:46 +0000)]
little wooden boy.

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

24 years agoAdd the resource limiting code back to Apache 2.0. This only works on
Ryan Bloom [Tue, 6 Jun 2000 21:45:16 +0000 (21:45 +0000)]
Add the resource limiting code back to Apache 2.0.  This only works on
Unix because I can't find any other platforms with rlimit.  If there are
other platforms that need this code, then some of the code needs to move.
This has just barely been tested, so it could probably use some good
testing.

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

24 years agoOS/390: avoid unconditional -ldl and -export-dynamic (other
Jeff Trawick [Tue, 6 Jun 2000 21:27:54 +0000 (21:27 +0000)]
OS/390: avoid unconditional -ldl and -export-dynamic (other
platforms can add related logic to the case statement)

This is a stop-gap measure until the need for certain libraries
can be determined automatically.

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

24 years ago Bring forward a change from 1.3 (the ability to use SetEnvIf*
Ken Coar [Tue, 6 Jun 2000 20:41:45 +0000 (20:41 +0000)]
Bring forward a change from 1.3 (the ability to use SetEnvIf*
and BrowserMatch* in .htaccess files).

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

24 years ago Bring forward a fix from 1.3.
Ken Coar [Tue, 6 Jun 2000 20:39:50 +0000 (20:39 +0000)]
Bring forward a fix from 1.3.

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

24 years agoIncrease the size of the buffer passed to ap_strerror(); I saw
Jeff Trawick [Tue, 6 Jun 2000 14:51:06 +0000 (14:51 +0000)]
Increase the size of the buffer passed to ap_strerror(); I saw
truncation of a particularly long message on OS/390, and useful
info was past char 100.

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

24 years agoFix zombie process problem with mod_cgi. This problem was introduced
Jeff Trawick [Tue, 6 Jun 2000 05:58:16 +0000 (05:58 +0000)]
Fix zombie process problem with mod_cgi.  This problem was introduced
as part of the "Convert ap_proc_t to a complete type." enhancement.

mod_cgi previously declared a ptr to an ap_proc_t, storage was allocated
by ap_create_process() from the request pool, and the ap_proc_t address
was passed to ap_note_subprocess().

With the "Convert ap_proc_t to a complete type." change, ap_proc_t
lived in autodata, but the address was still passed to
ap_note_subprocess().  When the pool was cleaned up, the ap_proc_t
in autodata had been used for something else, so the contents were
garbage, but pool cleanup needed the contents, especially the os
pid to pass to waidpid().  Since this was garbage, we never reaped
status from the cgi child and thus the cgi child remained a zombie.

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

24 years agoPR:
William A. Rowe Jr [Tue, 6 Jun 2000 05:00:49 +0000 (05:00 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Fix a silly oversight.

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

24 years agoPR:
William A. Rowe Jr [Tue, 6 Jun 2000 04:11:08 +0000 (04:11 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Hmmm... exporting a hook, very interesting :-)

  But the win32 build believes hooks are pretty uninteresting, mostly
  static __cdecl calls, so pound this declaration into NONSTD.

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

24 years agoPR:
William A. Rowe Jr [Tue, 6 Jun 2000 01:55:44 +0000 (01:55 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Just two quick fixes for the ApacheCore/ApacheCoreDll.dsp project split.

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

24 years agoPort mod_mmap_static to 2.0. Make it go faster.
Jeff Trawick [Tue, 6 Jun 2000 01:49:30 +0000 (01:49 +0000)]
Port mod_mmap_static to 2.0.  Make it go faster.

core: Export core_translate() as ap_core_translate() for use by
      mod_mmap_static.
Submitted by: Greg Ames
Reviewed by: Jeff Trawick

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

24 years agoPR:
William A. Rowe Jr [Tue, 6 Jun 2000 01:20:04 +0000 (01:20 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Migrate the 'real' pre_config hook update from winnt.c to mpm_winnt.c
  and correct newly required symbols for http_main.c

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

24 years agoPR:
William A. Rowe Jr [Tue, 6 Jun 2000 01:15:05 +0000 (01:15 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Fixes 1) The htpasswd and ab binaries, by converting ApacheCore.dsp to
           a library MSVC project.

        2) Creates the ApacheCoreDll.dsp project to produce the dso
           version ApacheCore.dll

        3) Some misc fixups to the original http_main.c -> Apache.exe
           conversion that misses newly added symbols.

  Code fixes to follow in a seperate patch.

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

24 years agoFix typo in configure script when checking for mod_so. bash
Jeff Trawick [Tue, 6 Jun 2000 00:51:20 +0000 (00:51 +0000)]
Fix typo in configure script when checking for mod_so.  bash
doesn't seem to have a problem but /bin/sh on Solaris does.
Symptom: "./configure: test: unknown operator =="

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

24 years agoRemove some #ifdef'ed code that doesn't make much sense
Tony Finch [Mon, 5 Jun 2000 23:58:34 +0000 (23:58 +0000)]
Remove some #ifdef'ed code that doesn't make much sense
(what does the 2 signify?)

Reviewed by: Ryan Bloom

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

24 years agoRemove the ability to enable/disable DSO support in APR. The only current
Ryan Bloom [Mon, 5 Jun 2000 23:14:35 +0000 (23:14 +0000)]
Remove the ability to enable/disable DSO support in APR.  The only current
way to check for DSO support is to look for libdl.  Apache automatically
adds -ldl to it's LIBS flag from config.m4 in modules/standard.  Other
platforms will need to add the correct flag for their system.

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

24 years agoFix a warning and a bug from the server_token commit.
Ryan Bloom [Mon, 5 Jun 2000 22:57:20 +0000 (22:57 +0000)]
Fix a warning and a bug from the server_token commit.
Submitted by: Eric Cholet <cholet@logilune.com>

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

24 years agoPR:
William A. Rowe Jr [Mon, 5 Jun 2000 22:39:03 +0000 (22:39 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Unbind the old main_win32.c code and rebind to the new mpm logic
  in the modules/mpm/winnt directory.  Includes some simple cleanups.

  The old sources in os/win32 will disappear at the end of this week.

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

24 years agocleanup to cgid_init():
Jeff Trawick [Mon, 5 Jun 2000 22:28:07 +0000 (22:28 +0000)]
cleanup to cgid_init():
  axe unused var cgid_server_conf
  fix type of pid
  don't create the socket as a file here; it doesn't help anything

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

24 years agoMake the string in a log message unique so we know
Jeff Trawick [Mon, 5 Jun 2000 20:51:11 +0000 (20:51 +0000)]
Make the string in a log message unique so we know
what failed.  Before, "couldn't create child process: " was
used for a couple of different logs.

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

24 years agoMake a copy of getenv("PATH") before storing for later use. Some
Jeff Trawick [Mon, 5 Jun 2000 20:45:08 +0000 (20:45 +0000)]
Make a copy of getenv("PATH") before storing for later use.  Some
getenv() implementations use the same storage for successive calls.
CGIs on OS/390 had a bad PATH due to this.  (Believe it or not, ANSI
says getenv() can do this.)

Some similar getenv() usage was left alone as it was specific to a
certain platform, and I assume that getenv() doesn't have the "issue"
on those platforms.

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

24 years agoAdd server tokens back to 2.0. Also bring forward the change to allow
Ryan Bloom [Mon, 5 Jun 2000 19:44:02 +0000 (19:44 +0000)]
Add server tokens back to 2.0.  Also bring forward the change to allow
the PRODUCT_ONLY value for ServerTokens.  This is relatively clean,
all of the code lives in http_core, and when a module wants to add a token,
they just call ap_add_version_component from the post_config hook.  Actually
ap_add_version_component can be done anytime after the config has been
parsed, it just makes the most sense to do it in post_config IMHO.

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

24 years agoon a5 now.
Ask Bjørn Hansen [Mon, 5 Jun 2000 17:30:27 +0000 (17:30 +0000)]
on a5 now.

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

24 years ago2.0a4
Ask Bjørn Hansen [Mon, 5 Jun 2000 17:15:25 +0000 (17:15 +0000)]
2.0a4

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

24 years agoFix mod_so handling. Basically, if --enable-so or
Ryan Bloom [Mon, 5 Jun 2000 16:51:06 +0000 (16:51 +0000)]
Fix mod_so handling.  Basically, if --enable-so or
--enable-some-module=shared is specified on the ./configure line, then
mod_so is included in the build, -ldl is added to LIBS, and --enable-dso is
added to APR's configure line.  Otherwise, mod_so is turned off, -ldl is
not added, and APR is specifically told to build without DSO support.

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

24 years agoadd self
Ask Bjørn Hansen [Mon, 5 Jun 2000 15:46:05 +0000 (15:46 +0000)]
add self

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

24 years agocorrect some typos from the last commit.
Ask Bjørn Hansen [Mon, 5 Jun 2000 15:39:39 +0000 (15:39 +0000)]
correct some typos from the last commit.

add changes list

remove snippet about why the apache project was organized. I would think people
reading the annouement knows now.

try to remove a little more corporatespeak

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

24 years agoEBCDIC fixes:
Jeff Trawick [Mon, 5 Jun 2000 02:26:52 +0000 (02:26 +0000)]
EBCDIC fixes:
  getline(): pick up a couple of Martin's changes which were missed when
  the 1.3.x EBCDIC fixes to this funciton were merged into 2.0

  ap_setup_client_block(): fix the logic that, based on the mime type,
  can decide not to translate the request body

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

24 years agomod_cgid:
Jeff Trawick [Sun, 4 Jun 2000 19:46:22 +0000 (19:46 +0000)]
mod_cgid:

fix parmlist to ap_open() so that we can open the ScriptLog file o.k.

in log_script(), don't do anything with script_err parm if it is NULL
(for mod_cgid, it is always NULL; rather than simply ripping out such
logic I kept it in case somebody wants to factor out common parts of
mod_cgi.c and mod_cgid.c later)

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

24 years agomod_charset_lite:
Jeff Trawick [Sun, 4 Jun 2000 19:27:02 +0000 (19:27 +0000)]
mod_charset_lite:
  functional changes:
    setup input translation for PUT or POST
  other:
    bail out more quickly if our dir config says do nothing,
    tweak the debug trace,

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

24 years agoEBCDIC: Rearrange calls to ap_checkconv() so that most handlers
Jeff Trawick [Sat, 3 Jun 2000 22:41:01 +0000 (22:41 +0000)]
EBCDIC: Rearrange calls to ap_checkconv() so that most handlers
won't need to call it.
Submitted by: Greg Ames, Jeff Trawick

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

24 years agoa few changes that should be in the next announcement. I still think this is
Ask Bjørn Hansen [Sat, 3 Jun 2000 20:50:56 +0000 (20:50 +0000)]
a few changes that should be in the next announcement. I still think this is
waaaay too corporatespeakish and that we should add more information about
how to get involved  with development.

And is it true that we're still particularly less stable on Win32?

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

24 years agoBring mpmt_beos up to date and allow it play nice with mpm_common.
David Reid [Sat, 3 Jun 2000 16:58:08 +0000 (16:58 +0000)]
Bring mpmt_beos up to date and allow it play nice with mpm_common.

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

24 years agoModify the config order so that we read the config, process all EXEC_ON_READ
Ryan Bloom [Sat, 3 Jun 2000 16:27:03 +0000 (16:27 +0000)]
Modify the config order so that we read the config, process all EXEC_ON_READ
directives at the same time, run pre_config hook for all modules, and
then walk the tree.  This allows all modules to have a pre_config hook and
know that it will be called at a reasonable time.  I also made "Include"
an EXEC_ON_READ directive so that it is included in the tree properly.
This was required after the other changes that were made.

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

24 years agomod_cgi: Make ScriptLog directive work again by fixing the
Jeff Trawick [Sat, 3 Jun 2000 14:31:34 +0000 (14:31 +0000)]
mod_cgi: Make ScriptLog directive work again by fixing the
flags passed to ap_open().

TODO: Roll recent mod_cgi logging changes into mod_cgid.

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

24 years agoPR:
William A. Rowe Jr [Sat, 3 Jun 2000 06:59:57 +0000 (06:59 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Just a bit of cleanup to the 2.0 language before I crash here.

  This is exactly the reason the mpm service update isn't going into the
  alpha - big chunks of this must be rewritten first.

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

24 years agoPR:
William A. Rowe Jr [Sat, 3 Jun 2000 01:43:35 +0000 (01:43 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  More fair warning for Win32 alpha builders.

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

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

  Plaster some big fat warnings about alpha releases for win32 users.

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

24 years agoStart a "Common Problems" section in the mod_charset_lite
Jeff Trawick [Sat, 3 Jun 2000 00:17:19 +0000 (00:17 +0000)]
Start a "Common Problems" section in the mod_charset_lite
documentation.

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

24 years agoPR:
William A. Rowe Jr [Fri, 2 Jun 2000 19:45:40 +0000 (19:45 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Making his list... checking it twice...

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

24 years agoArgh, bhalfduplex is implemented, but it doesn't work for this case, so put
Ryan Bloom [Fri, 2 Jun 2000 18:40:44 +0000 (18:40 +0000)]
Argh, bhalfduplex is implemented, but it doesn't work for this case, so put
the TODO back in.

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

24 years agoRemove a TODO. Actually just putting back a call to ap_bhalfduplex now
Ryan Bloom [Fri, 2 Jun 2000 17:31:47 +0000 (17:31 +0000)]
Remove a TODO.  Actually just putting back a call to ap_bhalfduplex now
that the function exists again.

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

24 years agoAPACHE_XLATE, when doing translation that isn't single-byte-only
Jeff Trawick [Fri, 2 Jun 2000 15:55:20 +0000 (15:55 +0000)]
APACHE_XLATE, when doing translation that isn't single-byte-only

We must zap the Content-length header (if any).  Otherwise, the
browser will be seriously confused :)  The header is zapped in
ap_set_keepalive() right before we look for Content-length, transfer
encoding, HTTP level, etc. to decide, among other issues, whether or
not to turn on chunked encoding.  For HTTP 1.1, if we don't send
Content-length, we need to use chunked encoding, so we have to zap
the header before that decision.

Interestingly, in Russian Apache the Content-length header is
zapped after ap_set_keepalive() is called, so with HTTP 1.1 they
break the content-length-or-chunked rule.

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

24 years agoAdd pre_config hooks back in for all modules. This is important for the
Ryan Bloom [Fri, 2 Jun 2000 15:33:20 +0000 (15:33 +0000)]
Add pre_config hooks back in for all modules.  This is important for the
server tokens code that is coming soon.

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

24 years agofix missed change to comment
Jeff Trawick [Fri, 2 Jun 2000 13:38:04 +0000 (13:38 +0000)]
fix missed change to comment

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

24 years agoAdd something to the STATUS file.
Ryan Bloom [Thu, 1 Jun 2000 23:07:17 +0000 (23:07 +0000)]
Add something to the STATUS file.
Submitted by: John Travis <jtravis@covalent.net>

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

24 years agoFix a SIGSEGV in ap_md5digest() (bad parms to ap_seek()). This is used
Jeff Trawick [Thu, 1 Jun 2000 22:52:50 +0000 (22:52 +0000)]
Fix a SIGSEGV in ap_md5digest() (bad parms to ap_seek()).  This is used
when you have ContentDigest enabled and we can't/don't mmap the file.

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

24 years agoAdd support for the BeOS mpm. Also change some things to make it easier
David Reid [Thu, 1 Jun 2000 18:42:04 +0000 (18:42 +0000)]
Add support for the BeOS mpm.  Also change some things to make it easier
for future additions.

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

24 years agoFix DSO enabling logic. Basically if --enable-dso was specified on the
Ryan Bloom [Thu, 1 Jun 2000 15:45:18 +0000 (15:45 +0000)]
Fix DSO enabling logic.  Basically if --enable-dso was specified on the
command line but the cache had DSO off, we used to turn DSO off.  This has
been fixed with this patch.  Also, if we specify ANY Apache module as
being compiled shared, then we automatically turn on mod_so.

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

24 years agoPR:
William A. Rowe Jr [Thu, 1 Jun 2000 14:48:41 +0000 (14:48 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Ick.  A message to make one's head spin in infinite recursion.  Fixed.

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

24 years agodon't include apr_shmem.h when APR_HAS_SHARED_MEMORY is false, but instead set up...
Ronald Tschalar [Thu, 1 Jun 2000 06:59:31 +0000 (06:59 +0000)]
don't include apr_shmem.h when APR_HAS_SHARED_MEMORY is false, but instead set up our own dummies

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

24 years agoPR:
William A. Rowe Jr [Thu, 1 Jun 2000 03:20:09 +0000 (03:20 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Just a few error cleanups for tonight.

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

24 years agoFix building with DSO support. If any module is configured to be
Ryan Bloom [Thu, 1 Jun 2000 01:01:16 +0000 (01:01 +0000)]
Fix building with DSO support.  If any module is configured to be
compiled for shared support then APR_HAS_DSO is enabled and -ldl is
added to the LIBS variable.  -ldl may need to be modified based on
platform.  If no modules are designated as shared then APR_HAS_DSO is
disabled and nothing is added to LIBS.  In basic testing this compiled
without errors or warnings.

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

24 years agoRemove a warning when compiled with --use-maintainer-mode. Basically,
Ryan Bloom [Wed, 31 May 2000 22:06:33 +0000 (22:06 +0000)]
Remove a warning when compiled with --use-maintainer-mode.  Basically,
process_rec should just be storing argv the same way that getopt
expects it.

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

24 years agoPR:
William A. Rowe Jr [Wed, 31 May 2000 16:19:59 +0000 (16:19 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Fix my (very) minor nit with the .dsp's... not sure how I missed this
  when I first reworked these.  Echo a success message and suppress the
  cp output.

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

24 years agoPR:
William A. Rowe Jr [Wed, 31 May 2000 15:28:52 +0000 (15:28 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Quick patch to accomodate the mpm's rename to mpm_winnt.c/.h

  At least in the short term.

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

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

  First checkin of Win32 service control structure merged into the mpm.

  Project files to be updated with this 'experimental' implementation once
  peer review is complete and the module maintainer accepts the patch.

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

24 years agoRework DSO error reporting to be more flexible & informative.
Brian Havard [Wed, 31 May 2000 02:30:30 +0000 (02:30 +0000)]
Rework DSO error reporting to be more flexible & informative.
This patch covers os/2, unix & win32. Other platforms still need some
adjustment (BeOS, AIX).

Reviewed by: rbb, gstein

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

24 years agoAPACHE_XLATE: in ap_send_error_response(), move the setting
Jeff Trawick [Wed, 31 May 2000 01:35:46 +0000 (01:35 +0000)]
APACHE_XLATE: in ap_send_error_response(), move the setting
of the translation handle to before we process ErrorDocument
strings.  The previous placement of this logic only handled
the hard-coded response documents.

When ErrorDocument specifies a redirection, we don't get here.
When the error response is headers only, we don't need to set
the handle for content.  Thus, all paths through
ap_send_error_response() should be handled now.

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

24 years agoPR:
William A. Rowe Jr [Tue, 30 May 2000 22:56:36 +0000 (22:56 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Ugh, sorry bout that... reversing out the last dsp6->dsp5 commit.

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

24 years agoPR:
William A. Rowe Jr [Tue, 30 May 2000 22:54:31 +0000 (22:54 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  How, precisely, was Apache going to do anything with rewritten args ;-?
  +1 on my personal oh-duh tally for the weekend.

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

24 years agoForward fit a bug fix in the TAKE13 handling from 1.3 to 2.0
Ryan Bloom [Tue, 30 May 2000 15:56:18 +0000 (15:56 +0000)]
Forward fit a bug fix in the TAKE13 handling from 1.3 to 2.0
Submitted by: Jon Travis <jtravis@covalent.net>

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

24 years agoSaferead on Windows should have been fixed with the lastest patches to
Ryan Bloom [Tue, 30 May 2000 15:14:23 +0000 (15:14 +0000)]
Saferead on Windows should have been fixed with the lastest patches to
saferead.

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

24 years agoAn xlate configuration module shouldn't mess with BO_WXLATE;
Jeff Trawick [Tue, 30 May 2000 14:31:04 +0000 (14:31 +0000)]
An xlate configuration module shouldn't mess with BO_WXLATE;
ap_set_content_xlate() takes care of that detail.

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

24 years agoEnsure that the proper translation handle (if any) is used when
Jeff Trawick [Tue, 30 May 2000 14:20:46 +0000 (14:20 +0000)]
Ensure that the proper translation handle (if any) is used when
sending the canned response document to the client.  Otherwise, the
client may get garbage depending on the translation in effect.

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

24 years agoWe now report the correct line number for syntax errors in config
Jeff Trawick [Tue, 30 May 2000 02:43:29 +0000 (02:43 +0000)]
We now report the correct line number for syntax errors in config
files, so remove the associated status item.

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

24 years agoWe now report the correct line number for syntax errors in config
Jeff Trawick [Tue, 30 May 2000 02:42:32 +0000 (02:42 +0000)]
We now report the correct line number for syntax errors in config
files.

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

24 years agoMention the line number problem for config file errors and Greg
Jeff Trawick [Mon, 29 May 2000 11:54:11 +0000 (11:54 +0000)]
Mention the line number problem for config file errors and Greg
Ames' mod_mmap_static patch.

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

24 years agoAdd OS/2 todo items.
Brian Havard [Mon, 29 May 2000 09:41:57 +0000 (09:41 +0000)]
Add OS/2 todo items.

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

24 years agoBrought mod_auth_digest up to synch with 1.3, fixed ap_time_t-related
Ronald Tschalar [Mon, 29 May 2000 08:57:18 +0000 (08:57 +0000)]
Brought mod_auth_digest up to synch with 1.3, fixed ap_time_t-related
bugs, and changed shmem/locking to use apr API. Shared-mem is currently
disabled, however, because of problems with graceful restarts.

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

24 years agoPR:
William A. Rowe Jr [Mon, 29 May 2000 04:17:41 +0000 (04:17 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  One last precursor to the common code base for Win32 rewrite_args from
  it's MPM.  Since we need to walk the arg list... why maintain it in
  several places.  This patch adds the AP_SERVER_BASEARGS definition to
  the header, so any mpm (and mod_info, for example) can know what args
  are legitimate, even when they plan to ignore them.

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

24 years agoPR:
William A. Rowe Jr [Sun, 28 May 2000 17:52:19 +0000 (17:52 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Remove any possiblity of having multiple tags to correct as the version
  changes.  Split httpd.h's version into tokens.  Roll these tokens into
  registry.c

  TODO: Remove registry.c from the list of files to touch when rolling

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

24 years agoSwitch to APR's ap_probe_writable_fds() in spmt_os2 MPM.
Brian Havard [Sun, 28 May 2000 12:45:58 +0000 (12:45 +0000)]
Switch to APR's ap_probe_writable_fds() in spmt_os2 MPM.

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

24 years agoAdd an mpm.h for spmt_os2 MPM so that mpm_common.c will build.
Brian Havard [Sun, 28 May 2000 12:33:04 +0000 (12:33 +0000)]
Add an mpm.h for spmt_os2 MPM so that mpm_common.c will build.

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

24 years agoOnly compile ap_reclaim_child_processes() if a CHILD_INFO_TABLE is known.
Brian Havard [Sun, 28 May 2000 12:20:04 +0000 (12:20 +0000)]
Only compile ap_reclaim_child_processes() if a CHILD_INFO_TABLE is known.

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

24 years agoUse http://www.apache.org/httpd instead of http://www.apache.org/ as
Jeff Trawick [Sun, 28 May 2000 12:05:28 +0000 (12:05 +0000)]
Use http://www.apache.org/httpd instead of http://www.apache.org/ as
the link to Apache Web server.

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

24 years agomod_cgi: Restore logging of stderr from child process when ScriptLog
Jeff Trawick [Sun, 28 May 2000 11:48:24 +0000 (11:48 +0000)]
mod_cgi: Restore logging of stderr from child process when ScriptLog
isn't used (as in 1.3), except that on Unix it is now logged via
ap_log_rerror() instead of by the child having STDERR_FILENO refer
to the error log.
Submitted by: Greg Ames
Reviewed by: Jeff Trawick

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

24 years agoPR:
William A. Rowe Jr [Sun, 28 May 2000 04:16:09 +0000 (04:16 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Of course the build order changes without ap.dsp... so this should
  finish things off for tonight.

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

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

  Kill the Win32 library project ap.dsp and slide http_main.c from the
  ApacheCore.dsp into Apache.dsp - this is in prepartion of the real
  services update, which will move registry.c and service.c back into
  ApacheCore.dsp, kill both headers and incorporate their symbols into
  the mpm/winnt/winnt.h file.  main_win32.c will die as well, with it's
  few remaining functions moving into the mpm.

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

24 years agoPR:
William A. Rowe Jr [Sun, 28 May 2000 03:58:12 +0000 (03:58 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Simple change to make these consistent with the other Apache module
  build files.

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

24 years agoPR:
William A. Rowe Jr [Sun, 28 May 2000 03:55:45 +0000 (03:55 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Adjust the support binary build files for the change from AP_STATIC as
  a library to API_STATIC for the ApacheCore project.

  If we adopt AP_EXPORT_bleh for the ApacheCore, these will be flipped.

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

24 years agoPR:
William A. Rowe Jr [Sun, 28 May 2000 03:52:42 +0000 (03:52 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Finally a patch that can't (well, shouldn't :-) break any other platform.

  Open up the symbols defined for http_main.c to move main() from the core
  under Win32 (that's the real main(), not that apache_main() thing).

  Win32 Project file changes will follow in a seperate patch.

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

24 years ago Anchor tags aren't permitted to span elements like this.
Ken Coar [Sun, 28 May 2000 01:47:14 +0000 (01:47 +0000)]
Anchor tags aren't permitted to span elements like this.

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

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

  /D(efine) STATIC to suppress warnings since pcreposix is statically
  linked to pcre.  ApacheCore would have to be touched as well, except
  that we don't override pcre_malloc or pcre_free.  If we do so, the
  STATIC symbol is too broad, and aught to be changed in Apache's
  public src/include/pcre.h headers.

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

24 years agoPR:
William A. Rowe Jr [Sat, 27 May 2000 23:53:45 +0000 (23:53 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Document the lack of exports so http_main.c stays that way,
  as suggested by Greg Stein.

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

24 years agoPR:
William A. Rowe Jr [Sat, 27 May 2000 23:49:07 +0000 (23:49 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  One reason ap_config.h can be a problem.  Change VERSION->AB_VERSION to
  avoid ap_config.h #undef.

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

24 years agoPR:
William A. Rowe Jr [Sat, 27 May 2000 22:53:48 +0000 (22:53 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Reverse out additional linkage argument from DECLARE_HOOK
  and IMPLEMENT_HOOK macros.

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

24 years agoPR:
William A. Rowe Jr [Sat, 27 May 2000 22:40:44 +0000 (22:40 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:

  Reverse out all _EXPORT_VAR changes back to their original _VAR_EXPORT
  names for linkage (API_, CORE_, and MODULE_).

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

24 years agoAdd a showstopper for Windows.
Ryan Bloom [Sat, 27 May 2000 22:32:44 +0000 (22:32 +0000)]
Add a showstopper for Windows.

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