]> granicus.if.org Git - apache/log
apache
23 years agoAdd the worker MPM. The name is probably horrible, but I couldn't come
Ryan Bloom [Mon, 30 Jul 2001 05:02:53 +0000 (05:02 +0000)]
Add the worker MPM.  The name is probably horrible, but I couldn't come
up with anything better.  This is a multiple-worker/single listener MPM.
This MPM is definately not complete, but it is a first step in the
right direction.

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

23 years ago Coexist within the XHTML changes to http_protocol.c
William A. Rowe Jr [Mon, 30 Jul 2001 04:38:02 +0000 (04:38 +0000)]
  Coexist within the XHTML changes to http_protocol.c

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

23 years ago A bit of Saturday a.m. XHTML Transitional 1.0 compatibility changes.
William A. Rowe Jr [Mon, 30 Jul 2001 04:19:57 +0000 (04:19 +0000)]
  A bit of Saturday a.m. XHTML Transitional 1.0 compatibility changes.

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

23 years ago That's all I'm changing... time to simply bring the 1.3 file over.
William A. Rowe Jr [Mon, 30 Jul 2001 04:12:50 +0000 (04:12 +0000)]
  That's all I'm changing... time to simply bring the 1.3 file over.

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

23 years ago Fix some brokenness.
William A. Rowe Jr [Mon, 30 Jul 2001 03:39:49 +0000 (03:39 +0000)]
  Fix some brokenness.

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

23 years agoInstall all build/*.mk when we install Apache. This is the first step
Ryan Bloom [Mon, 30 Jul 2001 02:55:55 +0000 (02:55 +0000)]
Install all build/*.mk when we install Apache.  This is the first step
to getting apxs to use the same makefiles as Apache.

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

23 years agoNo such thing as /usr/local/bin/perl5 on icarus...
Cliff Woolley [Sun, 29 Jul 2001 22:54:22 +0000 (22:54 +0000)]
No such thing as /usr/local/bin/perl5 on icarus...

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

23 years agoNope, changed my mind. With this hack, the build only works right the first
Cliff Woolley [Sun, 29 Jul 2001 22:27:30 +0000 (22:27 +0000)]
Nope, changed my mind.  With this hack, the build only works right the first
time... a make clean will rm test_char.h.  If Solaris 7 is broken, it's broken.

There's got to be a better way.  But not for 2.0.22.

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

23 years agoThis is an awful hack to work around a bug in Solaris 7's native make,
Cliff Woolley [Sun, 29 Jul 2001 22:23:30 +0000 (22:23 +0000)]
This is an awful hack to work around a bug in Solaris 7's native make,
which blows up when you have a dependency on a not-yet-existent file.
The way around this is to have a zero-byte version of the file around before
running make, which will be older than gen_test_char after that gets
built, so the blank test_char.h will get overwritten by a valid one.

If somebody has a better way around this lack of lazy bindings on Solaris 7,
please feel free to cvs rm this intentionally blank file and fix it a better
way.

Submitted by: Justin Erenkrantz
Reviewed by: Cliff Woolley

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

23 years ago Throw back in the newline, just for source legibility.
William A. Rowe Jr [Sun, 29 Jul 2001 21:26:52 +0000 (21:26 +0000)]
  Throw back in the newline, just for source legibility.

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

23 years ago Correct a subtle reflow problem (evident in Mozilla Gecko/20010505) that
William A. Rowe Jr [Sun, 29 Jul 2001 21:24:51 +0000 (21:24 +0000)]
  Correct a subtle reflow problem (evident in Mozilla Gecko/20010505) that
  <hr>'s within <pre> tags (entirely illegal in the first place :) are not
  adjusted on window resize.  By moving the second <hr /> into the <pre>
  block, at least the two rules are consistent.

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

23 years agoTypo.
Joshua Slive [Sun, 29 Jul 2001 18:47:54 +0000 (18:47 +0000)]
Typo.

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

23 years agoFix a problem where the threaded MPM stalls after restarts or segfaults.
Greg Ames [Sat, 28 Jul 2001 23:39:07 +0000 (23:39 +0000)]
Fix a problem where the threaded MPM stalls after restarts or segfaults.

Also prevent multiple active processes from using the same scoreboard slot.

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

23 years ago Now that the version is bumped... time to log some new efforts.
William A. Rowe Jr [Sat, 28 Jul 2001 15:28:26 +0000 (15:28 +0000)]
  Now that the version is bumped... time to log some new efforts.

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

23 years agoBump to 2.0.23-dev after tag update
Cliff Woolley [Sat, 28 Jul 2001 03:27:16 +0000 (03:27 +0000)]
Bump to 2.0.23-dev after tag update

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

23 years agoBump for 2.0.22
Cliff Woolley [Sat, 28 Jul 2001 03:22:56 +0000 (03:22 +0000)]
Bump for 2.0.22

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

23 years ago Uh... whats with that -dev?
William A. Rowe Jr [Sat, 28 Jul 2001 02:25:04 +0000 (02:25 +0000)]
  Uh... whats with that -dev?

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

23 years ago That's it for that version...
William A. Rowe Jr [Sat, 28 Jul 2001 02:23:31 +0000 (02:23 +0000)]
  That's it for that version...

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

23 years ago Minor quibble, <li> can and should be a balanced tag
William A. Rowe Jr [Sat, 28 Jul 2001 01:33:10 +0000 (01:33 +0000)]
  Minor quibble, <li> can and should be a balanced tag

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

23 years ago Final pedantic HTML 3.2/4.01 Transitional + XHTML 1.0 Transitional
William A. Rowe Jr [Sat, 28 Jul 2001 01:29:41 +0000 (01:29 +0000)]
  Final pedantic HTML 3.2/4.01 Transitional + XHTML 1.0 Transitional
  compliance changes.  Note I've left alone the <P> tags, since they
  are abused, misused, potentially unsalvageable and certainly more
  effort than I care to expend in my quest for brainless end of week
  keyboard exercise.

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

23 years ago More pendantic changes for HTML 3.2/4.01 Transitional compliance, and
William A. Rowe Jr [Sat, 28 Jul 2001 01:25:24 +0000 (01:25 +0000)]
  More pendantic changes for HTML 3.2/4.01 Transitional compliance, and
  XHTML 1.0 legibility.  One XHTML issue remains, <td nowrap>, which has
  an issue that "attribute minimization is not supported in XML".  Since
  ?notables drops that thorny issue, I'm ignoring this for now.

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

23 years ago More pedantic changes to create HTML 3.2/4.01 Transitional and
William A. Rowe Jr [Sat, 28 Jul 2001 01:17:37 +0000 (01:17 +0000)]
  More pedantic changes to create HTML 3.2/4.01 Transitional and
  XHTML 1.0 Transitional - compliant output.  Note that this model
  is forever broken, since <hr> and <img> tags within a <pre> block
  are, by definition, invalid.  This is sort of mute since we need
  to start creating a table-based autoindex, mostly for utf-8 names
  that map in R-t-L order comixed with L-t-R formatting.

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

23 years ago More obsessive changes to meet HTML 3.2, HTML 4.01 Transitional and
William A. Rowe Jr [Sat, 28 Jul 2001 00:46:49 +0000 (00:46 +0000)]
  More obsessive changes to meet HTML 3.2, HTML 4.01 Transitional and
  XHTML 1.0 Transitional

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

23 years ago Doc formatting fixes
William A. Rowe Jr [Fri, 27 Jul 2001 21:01:16 +0000 (21:01 +0000)]
  Doc formatting fixes

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

23 years ago Proper doc style
William A. Rowe Jr [Fri, 27 Jul 2001 20:59:20 +0000 (20:59 +0000)]
  Proper doc style

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

23 years agoReplace ap_send_fd invocation with bucket brigade calls. Send an eos down
Bill Stoddard [Fri, 27 Jul 2001 19:58:15 +0000 (19:58 +0000)]
Replace ap_send_fd invocation with bucket brigade calls.  Send an eos down
the chain and let the brigade close the file descriptor when the network
i/o is done.

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

23 years agoOS/2: Fix 'make install' handling of EXEs.
Brian Havard [Fri, 27 Jul 2001 11:22:43 +0000 (11:22 +0000)]
OS/2: Fix 'make install' handling of EXEs.

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

23 years agoOS/2: set a decent size stack. Default is only 32k which runs out in some
Brian Havard [Fri, 27 Jul 2001 11:21:11 +0000 (11:21 +0000)]
OS/2: set a decent size stack. Default is only 32k which runs out in some
configurations.

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

23 years ago Something useful. Update the server description string.
William A. Rowe Jr [Fri, 27 Jul 2001 03:48:11 +0000 (03:48 +0000)]
  Something useful.  Update the server description string.

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

23 years ago Hmmm... this is cmd (or command) ... not sh :)
William A. Rowe Jr [Thu, 26 Jul 2001 19:29:33 +0000 (19:29 +0000)]
  Hmmm... this is cmd (or command) ... not sh :)

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

23 years ago Add some logic that gets us over the hump of a missing awk (copying the
William A. Rowe Jr [Thu, 26 Jul 2001 19:26:23 +0000 (19:26 +0000)]
  Add some logic that gets us over the hump of a missing awk (copying the
  files with no editing whatsoever.)  Also sets up the shebang for
  printenv.pl, and drops in the test-cgi.bat script.

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

23 years agoIt's monsoon season in VA today...
Cliff Woolley [Thu, 26 Jul 2001 19:08:01 +0000 (19:08 +0000)]
It's monsoon season in VA today...

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

23 years ago Provide a Win32 batch file example cgi
William A. Rowe Jr [Thu, 26 Jul 2001 19:03:19 +0000 (19:03 +0000)]
  Provide a Win32 batch file example cgi

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

23 years agoBump mmn for 2.0.22-dev
Cliff Woolley [Thu, 26 Jul 2001 19:02:56 +0000 (19:02 +0000)]
Bump mmn for 2.0.22-dev

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

23 years agoFix printf() warnings related to long->apr_off_t swap
Cliff Woolley [Thu, 26 Jul 2001 18:40:27 +0000 (18:40 +0000)]
Fix printf() warnings related to long->apr_off_t swap

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

23 years ago An itty-bitty hint about what's gone wrong :)
William A. Rowe Jr [Thu, 26 Jul 2001 18:28:06 +0000 (18:28 +0000)]
  An itty-bitty hint about what's gone wrong :)

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

23 years agowaitpid doesn't seem to be doing what it's supposed to, so in an attempt
David Reid [Thu, 26 Jul 2001 18:24:58 +0000 (18:24 +0000)]
waitpid doesn't seem to be doing what it's supposed to, so in an attempt
to allow the beos mpm to kill off it's workers and respawn them we'll
now have them ask for a restart when exiting.  This was suggested by
Bruno G Albuquerque <bga@bug-br.org.br>.

Submitted by: Bruno G Albuquerque <bga@bug-br.org.br>
Reviewed by: David Reid <dreid@apache.org>

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

23 years agoFix a segfault in threaded.c caused by passing uninitialized
Jeff Trawick [Thu, 26 Jul 2001 18:11:53 +0000 (18:11 +0000)]
Fix a segfault in threaded.c caused by passing uninitialized
apr_thread_t * to apr_thread_join().  Now we clear the array
of apr_thread_t * initially so we can track which threads we
actually created.

Other changes:

don't clobber storage by passing bogus array entry as 1st
parameter to apr_thread_create() to create the start_threads()
thread

join up with the start_threads() thread at termination so that
it is cleaned up and so that no worker threads are still being
created

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

23 years ago Update make file for win32
William A. Rowe Jr [Thu, 26 Jul 2001 17:27:10 +0000 (17:27 +0000)]
  Update make file for win32

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

23 years ago Something that needs looking at, all our long (unsigned long) body
William A. Rowe Jr [Thu, 26 Jul 2001 17:12:29 +0000 (17:12 +0000)]
  Something that needs looking at, all our long (unsigned long) body
  lengths need to become apr_off_t.

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

23 years ago That's it. There are no further emits for signedness or size conversion
William A. Rowe Jr [Thu, 26 Jul 2001 16:37:56 +0000 (16:37 +0000)]
  That's it.  There are no further emits for signedness or size conversion
  in MSVC 5.x.  Enough for 2.0.22, I'll revisit under -w4 (msvc's -wall)
  and attack the other modules in 2.0.23-dev.

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

23 years ago Terniaries are broken under MSVC, they never did resolve how to resolve
William A. Rowe Jr [Thu, 26 Jul 2001 16:36:40 +0000 (16:36 +0000)]
  Terniaries are broken under MSVC, they never did resolve how to resolve
  the type of an obvious conversion like this one.  Even casting the const
  to an apr_port_t doesn't solve it.

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

23 years ago Flush the off_t compiler emits from mod_isapi
William A. Rowe Jr [Thu, 26 Jul 2001 16:27:42 +0000 (16:27 +0000)]
  Flush the off_t compiler emits from mod_isapi

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

23 years ago This patch should address input buffering, requesting only as much from
William A. Rowe Jr [Thu, 26 Jul 2001 16:05:36 +0000 (16:05 +0000)]
  This patch should address input buffering, requesting only as much from
  the client as the ap_get_client_block() buffer is prepared to accept.

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

23 years ago Change the length of the content args to apr_off_t identifiers, and fix
William A. Rowe Jr [Thu, 26 Jul 2001 15:53:15 +0000 (15:53 +0000)]
  Change the length of the content args to apr_off_t identifiers, and fix
  mod_negotation to treat a size of -1 and indeterminate, instead of 0.

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

23 years agoInclude the fingerprint for my public key in
Cliff Woolley [Thu, 26 Jul 2001 02:30:13 +0000 (02:30 +0000)]
Include the fingerprint for my public key in
addition to the key itself as suggested by Dw

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

23 years ago Cliff's most sane advise :-)
William A. Rowe Jr [Wed, 25 Jul 2001 22:38:21 +0000 (22:38 +0000)]
  Cliff's most sane advise :-)

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

23 years ago Reviewing my own commit logs ... dang did this look silly.
William A. Rowe Jr [Wed, 25 Jul 2001 22:20:09 +0000 (22:20 +0000)]
  Reviewing my own commit logs ... dang did this look silly.

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

23 years ago Safe casts - we are assured that len_read is positive, but it must be
William A. Rowe Jr [Wed, 25 Jul 2001 22:02:54 +0000 (22:02 +0000)]
  Safe casts - we are assured that len_read is positive, but it must be
  stored as an int to initially check the ap_get_client_block() result.

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

23 years ago Same fix for largefile support as core.c
William A. Rowe Jr [Wed, 25 Jul 2001 21:55:27 +0000 (21:55 +0000)]
  Same fix for largefile support as core.c

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

23 years ago More signedness fixes
William A. Rowe Jr [Wed, 25 Jul 2001 21:47:20 +0000 (21:47 +0000)]
  More signedness fixes

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

23 years ago This same patch is needed in mod_asis and others, I'm testing the waters
William A. Rowe Jr [Wed, 25 Jul 2001 21:41:44 +0000 (21:41 +0000)]
  This same patch is needed in mod_asis and others, I'm testing the waters
  for this solution.  I'm easily convinced to choose AP_MAX_SENDFILE based
  on any reasonable argument, provided it's smaller than 2^30 :-)

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

23 years ago Change over to apr_strfsize() for apr_off_t file size formatting.
William A. Rowe Jr [Wed, 25 Jul 2001 21:34:15 +0000 (21:34 +0000)]
  Change over to apr_strfsize() for apr_off_t file size formatting.

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

23 years ago Some cast magic for intentional float/int transformations, but I have
William A. Rowe Jr [Wed, 25 Jul 2001 21:15:54 +0000 (21:15 +0000)]
  Some cast magic for intentional float/int transformations, but I have
  no idea what exactly this computation was trying to accomplish...

    req_time = (long)(((ws_record.stop_time - ws_record.start_time) * 1000)
    + ((ws_record.stop_time - ws_record.start_time) / 1000));

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

23 years ago Some cast magic for intentional float/int transformations.
William A. Rowe Jr [Wed, 25 Jul 2001 21:12:45 +0000 (21:12 +0000)]
  Some cast magic for intentional float/int transformations.

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

23 years agofix the "server seems busy" message so that it really logs
Jeff Trawick [Wed, 25 Jul 2001 20:48:53 +0000 (20:48 +0000)]
fix the "server seems busy" message so that it really logs
the number of children we're about to spawn

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

23 years agofix some typos, add a comment
Jeff Trawick [Wed, 25 Jul 2001 20:34:02 +0000 (20:34 +0000)]
fix some typos, add a comment

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

23 years agoPR:
Cliff Woolley [Wed, 25 Jul 2001 17:59:37 +0000 (17:59 +0000)]
PR:

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

23 years agoAvoid uninitialized variable due to still disabled code
Ralf S. Engelschall [Wed, 25 Jul 2001 10:23:03 +0000 (10:23 +0000)]
Avoid uninitialized variable due to still disabled code

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

23 years agoSorting things out
Chuck Murcko [Wed, 25 Jul 2001 07:12:19 +0000 (07:12 +0000)]
Sorting things out
Reviewed by:

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

23 years agoOS/2: get canonical filename functions exported from the core.
Brian Havard [Wed, 25 Jul 2001 02:14:39 +0000 (02:14 +0000)]
OS/2: get canonical filename functions exported from the core.

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

23 years agoAnother of the long term issues cleared up. BeOS can now run
David Reid [Wed, 25 Jul 2001 00:49:36 +0000 (00:49 +0000)]
Another of the long term issues cleared up.  BeOS can now run
perl and other CGI's that rely on .so's for their operation.

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

23 years agoAdd my PGP key
Cliff Woolley [Tue, 24 Jul 2001 23:34:24 +0000 (23:34 +0000)]
Add my PGP key

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

23 years agoReduce CPU consumption in conv_10 function, used to format "%d" by apr_*printf
Greg Ames [Tue, 24 Jul 2001 22:55:29 +0000 (22:55 +0000)]
Reduce CPU consumption in conv_10 function, used to format "%d" by apr_*printf

This includes two changes to APR:
  * new functions apr_itoa, apr_ltoa, and apr_off_t_toa
    that provide itoa-type functionality based on pools
  * Inline code in inet_ntop4 to replace sprintf for converting
    binary IP addresses into dotted-decimal format

and two changes to Apache:
  * use the apr_itoa functions in setting the content length,
    in place of apr_psprintf
  * use the apr_itoa functions to replace frequent uses of
    'sprintf("%d",...)' in mod_log_config.

Submitted by: Brian Pane
Reviewed by:  Dean Gaudet, Greg Ames

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

23 years agofix warning
Chuck Murcko [Tue, 24 Jul 2001 21:50:21 +0000 (21:50 +0000)]
fix warning

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

23 years agoA couple of optimizations to the content_length filter.
Bill Stoddard [Tue, 24 Jul 2001 21:33:44 +0000 (21:33 +0000)]
A couple of optimizations to the content_length filter.

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

23 years ago Changes to respect the new apr bucket and brigade length types (either
William A. Rowe Jr [Tue, 24 Jul 2001 20:38:01 +0000 (20:38 +0000)]
  Changes to respect the new apr bucket and brigade length types (either
  apr_size_t for bucket lengths, or apr_off_t for aggregate brigade lengths.)

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

23 years ago It's a nit, but since I'm searching for "win32" it ought to be there :)
William A. Rowe Jr [Tue, 24 Jul 2001 20:20:46 +0000 (20:20 +0000)]
  It's a nit, but since I'm searching for "win32" it ought to be there :)

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

23 years agobandaid for segv in ssl_io_filter_Output
Doug MacEachern [Tue, 24 Jul 2001 19:00:12 +0000 (19:00 +0000)]
bandaid for segv in ssl_io_filter_Output

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

23 years agozero the SSLStateMachine in case of early error, else SSLStateMachine_free segvs
Doug MacEachern [Tue, 24 Jul 2001 18:17:06 +0000 (18:17 +0000)]
zero the SSLStateMachine in case of early error, else SSLStateMachine_free segvs

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

23 years agoFix problem with the previous patch to handle HEAD requests. Now, the
Bill Stoddard [Tue, 24 Jul 2001 17:24:05 +0000 (17:24 +0000)]
Fix problem with the previous patch to handle HEAD requests.  Now, the
header_filter will stay installed in the filter chain when processing
HEAD requests to intercept and discard content bodys sent by poorly
written handlers. This work also points out the need for an optimization
in the content_length filter to not split the brigade if the next bucket
in the brigade is an EOS.

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

23 years agoFix problem reported by Taketo Kabe <kabe@sra-tohoku.co.jp>
Bill Stoddard [Tue, 24 Jul 2001 14:36:29 +0000 (14:36 +0000)]
Fix problem reported by Taketo Kabe <kabe@sra-tohoku.co.jp>
where HEAD response headers were being repeated twice for
files greater than 32K bytes (4*AP_MIN_BYTES_TO_WRITE). This
problem in the http_header filter was exposed by the recent rewrite
of the content_length filter.
[Taketo Kabe, Bill Stoddard]

PR: 8037

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

23 years ago Change the worker_function implementations to accept both parameters,
William A. Rowe Jr [Tue, 24 Jul 2001 05:19:47 +0000 (05:19 +0000)]
  Change the worker_function implementations to accept both parameters,
  the apr private data (apr_thread_t*) and the application private data
  (void*), for the last update to APR.

Submitted by: Aaron Bannert <aaron@ebuilt.com>
Reviewed by: Will Rowe

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

23 years agoDocument and future-proof the dependency between apr_read_type_e and
Cliff Woolley [Tue, 24 Jul 2001 00:10:26 +0000 (00:10 +0000)]
Document and future-proof the dependency between apr_read_type_e and
ap_input_mode_t.  It's now safe(r) to cast from ap_read_type_e to
ap_input_mode_t.

Submitted by: Justin Erenkrantz, Sander Striker

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

23 years ago The original answer was evil, return NULL if the file name has no path!
William A. Rowe Jr [Mon, 23 Jul 2001 19:52:41 +0000 (19:52 +0000)]
  The original answer was evil, return NULL if the file name has no path!

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

23 years ago Some odd XXX fixups that are closed (or unneeded)
William A. Rowe Jr [Mon, 23 Jul 2001 19:33:03 +0000 (19:33 +0000)]
  Some odd XXX fixups that are closed (or unneeded)

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

23 years ago Downgrade non-stopper from XXX->###
William A. Rowe Jr [Mon, 23 Jul 2001 19:02:03 +0000 (19:02 +0000)]
  Downgrade non-stopper from XXX->###

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

23 years ago More XXX replacement
William A. Rowe Jr [Mon, 23 Jul 2001 18:54:32 +0000 (18:54 +0000)]
  More XXX replacement

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

23 years ago XXX is disallowed except as a to-do note
William A. Rowe Jr [Mon, 23 Jul 2001 18:53:04 +0000 (18:53 +0000)]
  XXX is disallowed except as a to-do note

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

23 years agocommit CHANGES file for patch to server/scoreboard.c
Greg Ames [Mon, 23 Jul 2001 18:49:11 +0000 (18:49 +0000)]
commit CHANGES file for patch to server/scoreboard.c

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

23 years agoprevent seg faults in mod_status with ExtendedStatus enabled, after
Greg Ames [Mon, 23 Jul 2001 18:17:16 +0000 (18:17 +0000)]
prevent seg faults in mod_status with ExtendedStatus enabled, after
a restart.  A pointer to the previous generation's vhost server_rec
could be left in the worker_score under certain conditions.

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

23 years ago cvs up kept this in :(
William A. Rowe Jr [Mon, 23 Jul 2001 18:07:21 +0000 (18:07 +0000)]
  cvs up kept this in :(

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

23 years ago Focusing my thoughts
William A. Rowe Jr [Mon, 23 Jul 2001 18:00:16 +0000 (18:00 +0000)]
  Focusing my thoughts

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

23 years ago Lots o' changes to re-review.
William A. Rowe Jr [Mon, 23 Jul 2001 17:24:47 +0000 (17:24 +0000)]
  Lots o' changes to re-review.

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

23 years agoFix a couple of compiler warnings, since these are macros, not functions.
Victor J. Orlikowski [Mon, 23 Jul 2001 16:16:29 +0000 (16:16 +0000)]
Fix a couple of compiler warnings, since these are macros, not functions.

Submitted by: Justin Erenkrantz <jerenkrantz@ebuilt.com>
Reviewed by: Victor Orlikowski <orlikowski@apache.org>

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

23 years agoSome doc updates realted to ssi.
Joshua Slive [Mon, 23 Jul 2001 15:50:47 +0000 (15:50 +0000)]
Some doc updates realted to ssi.

1. Add info on how to activate ssi to upgrading.html.

2. Remove mention of the ssi magic mime-types, since they no
longer work.

3. Place a warning on xbithack that it doesn't currently work,
and reference the bug report.

4. Add a warning about mod_include parsing non-html content.

5. Misc little fixups.

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

23 years agoThe bucket should be created with the size of the data NOT including a null
Cliff Woolley [Mon, 23 Jul 2001 13:45:44 +0000 (13:45 +0000)]
The bucket should be created with the size of the data NOT including a null
terminator as its length.  Otherwise, the bucket length value is wrong (too big
by one).

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

23 years agotweak make_exports.awk so it works with nawk on Solaris
Jeff Trawick [Mon, 23 Jul 2001 12:40:40 +0000 (12:40 +0000)]
tweak make_exports.awk so it works with nawk on Solaris

Submitted by: Sander Striker

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

23 years agofix a typo (duplicate return statement)
Jeff Trawick [Mon, 23 Jul 2001 11:50:11 +0000 (11:50 +0000)]
fix a typo (duplicate return statement)

Submitted by: Justin Erenkrantz

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

23 years agoFix a cosmetic problem with mod_include. Non-existant SSI vars
Ryan Bloom [Sun, 22 Jul 2001 23:00:52 +0000 (23:00 +0000)]
Fix a cosmetic problem with mod_include.  Non-existant SSI vars
used to appear as '(none', without the closing paren.
Submitted by: G�nter Knauf <eflash@gmx.net>

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

23 years agoSander says:
Brian Havard [Sat, 21 Jul 2001 13:33:31 +0000 (13:33 +0000)]
Sander says:

  I missed the hook declarations in my previous
  script. This is added by the patch below.

  The patch also removes unneeded ; that slipped
  in because I use c a lot more than awk :)

  I moved a rule around so removal of leading
  whitespace could go into one rule
  (see AP[RU]?_DECLARE).

  Also removed the additional idx variable in
  favor of checking the return value of the
  index function.

Submitted by: Sander Striker <striker@apache.org>
Reviewed by: Brian Havard <brianh@kheldar.apana.org.au>

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

23 years agoAPR now uses the correct gethostbyname_r when available, so this has
Ryan Bloom [Sat, 21 Jul 2001 06:47:58 +0000 (06:47 +0000)]
APR now uses the correct gethostbyname_r when available, so this has
effectively been solved.
Submitted by: Justin Erenkrantz <jerenkrantz@ebuilt.com>

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

23 years agoThese two files aren't used anymore, so we can get rid of them now.
Ryan Bloom [Sat, 21 Jul 2001 06:40:14 +0000 (06:40 +0000)]
These two files aren't used anymore, so we can get rid of them now.

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

23 years agoImprove the exports generating awk script. In the past, we had
Ryan Bloom [Sat, 21 Jul 2001 06:34:54 +0000 (06:34 +0000)]
Improve the exports generating awk script.  In the past, we had
work around problems in the awk script by avoiding some #if and
#ifdefs.  This has bitten us many times in generating the exports.c
file.  This improvement allows corrects the header file parsing.

Submitted by: Sander Striker <striker@apache.org>

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

23 years ago Do we hear any objections?
William A. Rowe Jr [Fri, 20 Jul 2001 20:39:30 +0000 (20:39 +0000)]
  Do we hear any objections?

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

23 years ago Update for latest structure changes for 2.0.21
William A. Rowe Jr [Fri, 20 Jul 2001 20:00:50 +0000 (20:00 +0000)]
  Update for latest structure changes for 2.0.21

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

23 years ago Clean up unnecessary duplicate references to pcre (they fall out of
William A. Rowe Jr [Fri, 20 Jul 2001 19:48:02 +0000 (19:48 +0000)]
  Clean up unnecessary duplicate references to pcre (they fall out of
  libhttpd as our own ap_regexec()) and force InstallBin as the default
  project by moving it to the head of the list, so the first access of
  this .dsp will take InstallBin.dsp as the active project.

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

23 years ago APR_FINFO_TYPE is all we really needed here.
William A. Rowe Jr [Fri, 20 Jul 2001 19:19:39 +0000 (19:19 +0000)]
  APR_FINFO_TYPE is all we really needed here.

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

23 years ago A pool is a REQUIRED ARGUMENT, never optional (NULL).
William A. Rowe Jr [Fri, 20 Jul 2001 19:13:44 +0000 (19:13 +0000)]
  A pool is a REQUIRED ARGUMENT, never optional (NULL).
  This is why Mladen observed that htpasswd was still broken.

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

23 years agoGet ONE_PROCESS working again for beos.
David Reid [Fri, 20 Jul 2001 10:09:43 +0000 (10:09 +0000)]
Get ONE_PROCESS working again for beos.

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