]> granicus.if.org Git - apache/log
apache
22 years agovote on .32
Greg Ames [Fri, 15 Feb 2002 21:47:19 +0000 (21:47 +0000)]
vote on .32

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

22 years agoChange the verbage on the ScoreBoardFile in our default configs.
Aaron Bannert [Fri, 15 Feb 2002 21:14:30 +0000 (21:14 +0000)]
Change the verbage on the ScoreBoardFile in our default configs.
Also change the default to be commented out (unspecified) so we
get anonymous shared memory by default.

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

22 years agoFix a nice-to-have non-showstopper -- change the semantics for how
Aaron Bannert [Fri, 15 Feb 2002 20:54:17 +0000 (20:54 +0000)]
Fix a nice-to-have non-showstopper -- change the semantics for how
we create a scoreboard from the ScoreBoardFile directive.

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

22 years agoinitial (rough) docs for mod_deflate
Jeff Trawick [Fri, 15 Feb 2002 20:52:52 +0000 (20:52 +0000)]
initial (rough) docs for mod_deflate

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

22 years agoImplement new ScoreBoardFile directive logic. This affects how we
Aaron Bannert [Fri, 15 Feb 2002 20:48:19 +0000 (20:48 +0000)]
Implement new ScoreBoardFile directive logic. This affects how we
create the scoreboard's shared memory segment. We now have the best of
both worlds:

if config specifies ScoreBoardFile
  create name-based shared memory, errors are fatal
else /* we get to choose */
  create anonymous shared memory
  if ENOTIMPL
    create name-based shared memory from DEFAULT_SCOREBOARD
  else
    errors are fatal

This gives us the flexibility to have anonymous shared memory (on platforms
that support it) as well as name-based shared memory when third-party
programs want access to our scoreboard.

The ap_scoreboard_fname static variable is now owned by the scoreboard.c
file, and no longer by the MPMs. The MPMs MUST NOT set ap_scoreboard_fname
to a default, since that will override the default creation logic and
only allow name-based segments.

Submitted by: Aaron Bannert
Reviewed by: Justin Erenkrantz

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

22 years agoI'm happy now
Ian Holsman [Fri, 15 Feb 2002 19:44:25 +0000 (19:44 +0000)]
I'm happy now
gzip-only-text/html environment variable present

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

22 years agoI don't have a window, so how could I know the weather?
Joshua Slive [Fri, 15 Feb 2002 18:56:56 +0000 (18:56 +0000)]
I don't have a window, so how could I know the weather?

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

22 years agoMake the <summary> optional and change the header on nested sections.
Joshua Slive [Fri, 15 Feb 2002 18:04:53 +0000 (18:04 +0000)]
Make the <summary> optional and change the header on nested sections.

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

22 years agoConvert three more modules to the xml format.
Joshua Slive [Fri, 15 Feb 2002 18:02:19 +0000 (18:02 +0000)]
Convert three more modules to the xml format.

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

22 years agoCliff weighs in.
Justin Erenkrantz [Fri, 15 Feb 2002 17:16:54 +0000 (17:16 +0000)]
Cliff weighs in.
(It seems no one has time to update STATUS themselves!)

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

22 years ago- Unset content-length in mod_deflate so that the network-layer filters are
Justin Erenkrantz [Fri, 15 Feb 2002 16:33:33 +0000 (16:33 +0000)]
- Unset content-length in mod_deflate so that the network-layer filters are
free to do what they want and that no C-L is improperly returned.
- Allow non-GET requests and non-html responses to be compressed.

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

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

22 years agoChange the format slightly so that each "context" get's its own tag in
Joshua Slive [Fri, 15 Feb 2002 16:07:28 +0000 (16:07 +0000)]
Change the format slightly so that each "context" get's its own tag in
a <contextlist>.  This should make it easier to, for example, generate
an index of all the directives available in a certain context.

Also, add a css stylesheet, turn off link underlining, and turn all the
directive and module names green.  Further refinement necessary for sure.

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

22 years agoFix ap_directory_walk() per-dir merge bug seen when no <Directory /> is
Justin Erenkrantz [Fri, 15 Feb 2002 07:43:20 +0000 (07:43 +0000)]
Fix ap_directory_walk() per-dir merge bug seen when no <Directory /> is
present.

showstoppers--

Kudos to Jeff for finding it.
Kudos to BrianP for leading us in the right direction.
Kudos to OtherBill for pointing out the right way to fix this.

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

22 years agoAnother +1 for .32 beta (from Ian)
Justin Erenkrantz [Fri, 15 Feb 2002 05:22:16 +0000 (05:22 +0000)]
Another +1 for .32 beta (from Ian)

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

22 years agoFix a nasty little bug that could be hosing mod_mem_cache as well as mod_disk_cache
Bill Stoddard [Fri, 15 Feb 2002 03:54:47 +0000 (03:54 +0000)]
Fix a nasty little bug that could be hosing mod_mem_cache as well as mod_disk_cache

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

22 years agoJust toss these debug messages since so many people use httpd with
Justin Erenkrantz [Fri, 15 Feb 2002 01:17:53 +0000 (01:17 +0000)]
Just toss these debug messages since so many people use httpd with
LogLevel 'debug' and complain if they see anything that says "error"
in it.  This case isn't even interesting unless you are hard-core.

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

22 years agoThis is a bug or two away from working... Open both the header and data
Bill Stoddard [Thu, 14 Feb 2002 23:04:43 +0000 (23:04 +0000)]
This is a bug or two away from working...  Open both the header and data
files in the open_entity call. Need to be a bit smarter in managing the
cache_info structure

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

22 years agoPer <005b01c1b55f$dcd917a0$50381b09@sashimi>, FirstBill is +1 for beta.
Justin Erenkrantz [Thu, 14 Feb 2002 16:10:37 +0000 (16:10 +0000)]
Per <005b01c1b55f$dcd917a0$50381b09@sashimi>, FirstBill is +1 for beta.

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

22 years agothe last one I missed, hopefully ...
Lars Eilebrecht [Thu, 14 Feb 2002 14:38:15 +0000 (14:38 +0000)]
the last one I missed, hopefully ...

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

22 years agomissed this one...
Lars Eilebrecht [Thu, 14 Feb 2002 14:14:40 +0000 (14:14 +0000)]
missed this one...

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

22 years agoSome cosmetic changes.
Lars Eilebrecht [Thu, 14 Feb 2002 14:12:15 +0000 (14:12 +0000)]
Some cosmetic changes.
Submitted by:
Reviewed by:

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

22 years ago.32 has been rolled and placed in /dist/httpd
Justin Erenkrantz [Thu, 14 Feb 2002 08:22:32 +0000 (08:22 +0000)]
.32 has been rolled and placed in /dist/httpd

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

22 years agoSince we had 3 +1s for JRE_1 to become .32, so it is. Tarballs are on
Justin Erenkrantz [Thu, 14 Feb 2002 07:40:13 +0000 (07:40 +0000)]
Since we had 3 +1s for JRE_1 to become .32, so it is.  Tarballs are on
the way.

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

22 years agoWelcome to .33-dev.
Justin Erenkrantz [Thu, 14 Feb 2002 07:32:51 +0000 (07:32 +0000)]
Welcome to .33-dev.

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

22 years agoBump for .32
Justin Erenkrantz [Thu, 14 Feb 2002 07:31:55 +0000 (07:31 +0000)]
Bump for .32

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

22 years agoTemporarily remove changes that aren't in JRE_1 (aka .32) tag.
Justin Erenkrantz [Thu, 14 Feb 2002 07:29:38 +0000 (07:29 +0000)]
Temporarily remove changes that aren't in JRE_1 (aka .32) tag.

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

22 years ago Another thought.
William A. Rowe Jr [Thu, 14 Feb 2002 05:21:45 +0000 (05:21 +0000)]
  Another thought.

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

22 years agoStuff is getting put in the cache. Still not serving out of the cache though.
Bill Stoddard [Thu, 14 Feb 2002 03:27:10 +0000 (03:27 +0000)]
Stuff is getting put in the cache. Still not serving out of the cache though.

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

22 years agoTake care of a couple quickies -- mod_cgid shutdown and signals in
Aaron Bannert [Thu, 14 Feb 2002 03:15:42 +0000 (03:15 +0000)]
Take care of a couple quickies -- mod_cgid shutdown and signals in
the worker MPM (one_process case).

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

22 years agoSet some meaningful defaults on dirlevels and dirlength. Getting closer...
Bill Stoddard [Thu, 14 Feb 2002 03:08:23 +0000 (03:08 +0000)]
Set some meaningful defaults on dirlevels and dirlength. Getting closer...

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

22 years agoFix other_child logic that would cause the mod_cgid process not
Aaron Bannert [Thu, 14 Feb 2002 02:49:07 +0000 (02:49 +0000)]
Fix other_child logic that would cause the mod_cgid process not
to properly die when the parent process shuts down.

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

22 years agoRetain signal handling in the worker MPM for the one_process case
Aaron Bannert [Thu, 14 Feb 2002 02:48:19 +0000 (02:48 +0000)]
Retain signal handling in the worker MPM for the one_process case
(httpd with -DDEBUG, -X, or -DONE_PROCESS).

Fix -X, -DNO_DETACH, -DONE_PROCESS, etc. flags.

Tested on solaris w/ start/stop, restart, graceful, and with the
above debugging flags.

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

22 years agotime to go buy hershey's kisses
Jeff Trawick [Thu, 14 Feb 2002 02:42:10 +0000 (02:42 +0000)]
time to go buy hershey's kisses

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

22 years ago Good work Mr. RM :)
William A. Rowe Jr [Thu, 14 Feb 2002 02:38:41 +0000 (02:38 +0000)]
  Good work Mr. RM :)

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

22 years agoAdd the first xml doc.
Joshua Slive [Thu, 14 Feb 2002 00:48:39 +0000 (00:48 +0000)]
Add the first xml doc.

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

22 years agoAdd the parts for the xml to html transformation system for the module
Joshua Slive [Thu, 14 Feb 2002 00:48:04 +0000 (00:48 +0000)]
Add the parts for the xml to html transformation system for the module
docs.  Details will be at
http://httpd.apache.org/docs-project/docsformat.html
shortly.

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

22 years agoCreate a new pool allocator for each worker thread
Bradley Nicholes [Wed, 13 Feb 2002 22:56:10 +0000 (22:56 +0000)]
Create a new pool allocator for each worker thread

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

22 years agoChange httpd.conf default UseCanonicalName to off to make the server
Joshua Slive [Wed, 13 Feb 2002 19:58:21 +0000 (19:58 +0000)]
Change httpd.conf default UseCanonicalName to off to make the server
more idiot proof.

Also, move UseCanonicalName to directly under ServerName to make the
connection clearer, and clean up the comments.

I removed the http://123.123.123.231/ example, because it just makes it
too tempting for people to use
ServerName http://123.23.23.23/

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

22 years agoMore APR'izing and general cleanup. Need to handle the temp file correctly...
Bill Stoddard [Wed, 13 Feb 2002 19:16:08 +0000 (19:16 +0000)]
More APR'izing and general cleanup. Need to handle the temp file correctly...

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

22 years agoAPR'ize some codepaths. Implement mkdir_structure. General cleanup...
Bill Stoddard [Wed, 13 Feb 2002 18:46:13 +0000 (18:46 +0000)]
APR'ize some codepaths. Implement mkdir_structure. General cleanup...
It's getting closer to working but still a ways off.

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

22 years ago These files cannot be distributed at present - Justin, update your RC.32
William A. Rowe Jr [Wed, 13 Feb 2002 17:17:50 +0000 (17:17 +0000)]
  These files cannot be distributed at present - Justin, update your RC.32

  Win32 is not escaping or rejecting ANY hazerdous shell command strings
  in Apache 2.0 at present.  These would include the pipe character (|)
  which allows the user to construct malicious request strings.

  This needs consideration in code and configuration before we reintroduce
  a batch-file based example.

  Reported by: Ory Segal <ORY.SEGAL@SANCTUMINC.COM>  13 Feb 2002

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

22 years agoA final (hopefully) roll of JRE_1 has been made.
Justin Erenkrantz [Wed, 13 Feb 2002 16:03:21 +0000 (16:03 +0000)]
A final (hopefully) roll of JRE_1 has been made.
*Please* test.

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

22 years agoSet some defaults...
Bill Stoddard [Wed, 13 Feb 2002 15:59:39 +0000 (15:59 +0000)]
Set some defaults...

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

22 years agoMove mod_disk_cache specific fields out of the cache_obj and into the
Bill Stoddard [Wed, 13 Feb 2002 15:25:39 +0000 (15:25 +0000)]
Move mod_disk_cache specific fields out of the cache_obj and into the
disk_cache_object_t.

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

22 years agoJust a heads up to let people know what I'm working on. I ran into
Aaron Bannert [Wed, 13 Feb 2002 06:09:02 +0000 (06:09 +0000)]
Just a heads up to let people know what I'm working on. I ran into
some problems with the new POD code in the worker MPM, and although
I'm almost finished I didn't want people rolling a tarball without
knowing of these problems first.

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

22 years agoPerformance optimization: updated the worker MPM to recycle
Brian Pane [Wed, 13 Feb 2002 04:49:55 +0000 (04:49 +0000)]
Performance optimization: updated the worker MPM to recycle
per-transaction pools instead of destroying them.  Based on
Ian's benchmark testing, this reduces CPU utilization by
about 1% on Solaris.

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

22 years ago The final commit to achieve a quality release. We cannot use CreateThread
William A. Rowe Jr [Wed, 13 Feb 2002 03:33:34 +0000 (03:33 +0000)]
  The final commit to achieve a quality release.  We cannot use CreateThread
  on Win32 when using the clib; msvcrt has its own initialization and
  destruction, so it needs its own turn.  _createthreadex is the same but
  different - it's implemented by msvcrt and causes all the appropriate
  setup and teardown to occur.

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

22 years ago Spell out some changes
William A. Rowe Jr [Wed, 13 Feb 2002 03:08:10 +0000 (03:08 +0000)]
  Spell out some changes

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

22 years ago Address the issue raised on list that users with a LanguagePriority
William A. Rowe Jr [Wed, 13 Feb 2002 02:55:17 +0000 (02:55 +0000)]
  Address the issue raised on list that users with a LanguagePriority
  directive alone expect 'ForceLanguagePriority Prefer' behavior even
  if that directive is omitted.

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

22 years agoGrammar police coming through.
Justin Erenkrantz [Tue, 12 Feb 2002 23:52:52 +0000 (23:52 +0000)]
Grammar police coming through.

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

22 years ago What happened? 0.9.6b built just dandy without the flags... 0.9.6c won't
William A. Rowe Jr [Tue, 12 Feb 2002 23:19:32 +0000 (23:19 +0000)]
  What happened?  0.9.6b built just dandy without the flags... 0.9.6c won't
  build for jack without these changes.  Of course they don't harm 0.9.6b
  builders either, unless they are outside of the states/EU/AU and find
  themselves free to ignore IP considerations.

  I'd really like to know _why_ 0.9.6c doesn't configure itself rationally.

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

22 years agoanother race condition.
Ian Holsman [Tue, 12 Feb 2002 23:13:53 +0000 (23:13 +0000)]
another race condition.
also.. changed the logic slightly.
it will remove the name retrieved, not what the object has.

sorry for the spam.

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

22 years agoonce more with feeling
Ian Holsman [Tue, 12 Feb 2002 22:54:16 +0000 (22:54 +0000)]
once more with feeling

obj was set before the mutex so someone could have came and updated h->cache_obj
between us setting obj, and useing it.
running now for 10 minutes without core (a record!)

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

22 years agofix a race condition.
Ian Holsman [Tue, 12 Feb 2002 22:11:30 +0000 (22:11 +0000)]
fix a race condition.
2 threads both trying to remove the same URL at the same time.

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

22 years agoClose a few unclosed tags.
Joshua Slive [Tue, 12 Feb 2002 20:17:57 +0000 (20:17 +0000)]
Close a few unclosed tags.

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

22 years agoToo many people are wasting time trying to make these things work.
Joshua Slive [Tue, 12 Feb 2002 18:13:58 +0000 (18:13 +0000)]
Too many people are wasting time trying to make these things work.

By the way, it seems many people are considering moving to 2.0 just to get
"integrated ldap support".  I guess they will be disappointed.

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

22 years agoOut foul tabs. No function change.
Bill Stoddard [Tue, 12 Feb 2002 17:41:35 +0000 (17:41 +0000)]
Out foul tabs. No function change.

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

22 years ago After hours of debugging, the answer was -trivial-, but extremely
William A. Rowe Jr [Tue, 12 Feb 2002 17:32:06 +0000 (17:32 +0000)]
  After hours of debugging, the answer was -trivial-, but extremely
  obscure and difficult to trace.  This should do away with the handle
  corruption we experienced.  If anyone cares to walk the crt (source
  is installed in vc\src\crt if you install it w/ Visual C++/Studio)
  it's worth understanding why this occured.

  This patch

    1. creates the pipe non-inherited, and dups the write end
       for inheritence with limited permissions.
    2. sets the STD_ERROR_HANDLE _after_ we fixup the FILE *stderr and fd 2.
    3. Splits the signal_monitor event in two, service_init/service_term
       for clarity and correctness.

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

22 years agoCorrect ordering.
Joshua Slive [Tue, 12 Feb 2002 17:16:24 +0000 (17:16 +0000)]
Correct ordering.

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

22 years agoClarify what <IfModule> means in the world of mod_so.
Joshua Slive [Tue, 12 Feb 2002 17:13:09 +0000 (17:13 +0000)]
Clarify what <IfModule> means in the world of mod_so.

PR: 9787

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

22 years ago Perform a serious scrubbing of the child process, before we report that
William A. Rowe Jr [Tue, 12 Feb 2002 00:14:47 +0000 (00:14 +0000)]
  Perform a serious scrubbing of the child process, before we report that
  we failed to create the child.  Cleans up CloseHandle() destruction to
  match all created handles - and postpone populating the *child_exit_event
  until we succeed.

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

22 years ago This code seriously misassumed (and may yet) that stderr was a valid file.
William A. Rowe Jr [Tue, 12 Feb 2002 00:11:34 +0000 (00:11 +0000)]
  This code seriously misassumed (and may yet) that stderr was a valid file.
  It also has some bogus non-apr code that probably does great evil to win32
  services.  This must be bumped into .32, code review is incomplete still.

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

22 years ago Move the sleep until after we have duplicated the simple handles. We must
William A. Rowe Jr [Mon, 11 Feb 2002 23:34:10 +0000 (23:34 +0000)]
  Move the sleep until after we have duplicated the simple handles.  We must
  still pause and reflect on the Child's startup before WSADuplicateHandle()

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

22 years agoif a child detects a resource shortage on accept(), limit the rate of fork()s
Greg Ames [Mon, 11 Feb 2002 23:20:16 +0000 (23:20 +0000)]
if a child detects a resource shortage on accept(), limit the rate of fork()s
to 1 per second until the situation clears up.

Inspired by: Martin Kraemer

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

22 years ago Never close the handle, if it is the StdError psuedohandle.
William A. Rowe Jr [Mon, 11 Feb 2002 20:32:04 +0000 (20:32 +0000)]
  Never close the handle, if it is the StdError psuedohandle.

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

22 years agostyle/spelling tweaks
Jeff Trawick [Mon, 11 Feb 2002 15:53:39 +0000 (15:53 +0000)]
style/spelling tweaks

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

22 years agoWin32: Handles returned by GetStdHandle are psuedo handles and should never be
Bill Stoddard [Mon, 11 Feb 2002 15:46:44 +0000 (15:46 +0000)]
Win32: Handles returned by GetStdHandle are psuedo handles and should never be
passed to a CloseHandle call.

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

22 years agoMake apache -k shutdown an alias for apache -k stop. "shutdown" maintained
Bill Stoddard [Mon, 11 Feb 2002 15:40:07 +0000 (15:40 +0000)]
Make apache -k shutdown an alias for apache -k stop. "shutdown" maintained
for backward compatability.

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

22 years agoGet apache -k restart -n apache2 working reliabily again.
Bill Stoddard [Mon, 11 Feb 2002 15:24:46 +0000 (15:24 +0000)]
Get apache -k restart -n apache2 working reliabily again.

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

22 years agoRemove all signal handling from the worker MPM's child processes. Instead,
Ryan Bloom [Mon, 11 Feb 2002 04:56:10 +0000 (04:56 +0000)]
Remove all signal handling from the worker MPM's child processes.  Instead,
we use the pipe of death for all communication between parent and child.

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

22 years agoaccept() error handling should be OK now.
Greg Ames [Sun, 10 Feb 2002 21:16:25 +0000 (21:16 +0000)]
accept() error handling should be OK now.

I don't have a strong opinion on what we should do if the parent dies, now
that we don't have a real life example of that any more.  It was a little
confusing at first, but OTOH it kept serving requests.

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

22 years agoprefork shouldn't be killing its parent if a child runs out of resources.
Greg Ames [Sun, 10 Feb 2002 14:21:44 +0000 (14:21 +0000)]
prefork shouldn't be killing its parent if a child runs out of resources.

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

22 years agoCopied changes that have been made recently to the 1.3 documentation.
Rich Bowen [Sat, 9 Feb 2002 21:15:55 +0000 (21:15 +0000)]
Copied changes that have been made recently to the 1.3 documentation.
Primarily additional explanation and examples.

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

22 years agoWindows should not hold up an otherwise excellent release.
Bill Stoddard [Sat, 9 Feb 2002 14:24:36 +0000 (14:24 +0000)]
Windows should not hold up an otherwise excellent release.

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

22 years agoit's cold outside
Jeff Trawick [Sat, 9 Feb 2002 13:44:07 +0000 (13:44 +0000)]
it's cold outside

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

22 years agoI say the input filtering change are as complete as it will be for 2.0,
Justin Erenkrantz [Sat, 9 Feb 2002 06:20:53 +0000 (06:20 +0000)]
I say the input filtering change are as complete as it will be for 2.0,
so remove the note in STATUS.

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

22 years agoPoint at the JRE_1 tag if anyone is interested.
Justin Erenkrantz [Sat, 9 Feb 2002 06:15:01 +0000 (06:15 +0000)]
Point at the JRE_1 tag if anyone is interested.
IMHO, v31 is dead.

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

22 years agoGet rid of the DAVParam support. That was a concept to help out
Greg Stein [Sat, 9 Feb 2002 01:57:38 +0000 (01:57 +0000)]
Get rid of the DAVParam support. That was a concept to help out
mod_dav providers in the 1.0.x series. Nowadays, the providers are
full-fledged Apache modules and can define their own directives and
set up per-server and per-directory parameters. (for example,
mod_dav_fs and the DAVLockDB directive)

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

22 years agohmmm... not so sure anymore
Jeff Trawick [Fri, 8 Feb 2002 23:35:21 +0000 (23:35 +0000)]
hmmm... not so sure anymore

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

22 years agoFixed an alignment problem between httpd and aprlib
Bradley Nicholes [Fri, 8 Feb 2002 22:07:03 +0000 (22:07 +0000)]
Fixed an alignment problem between httpd and aprlib

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

22 years agoadd another log message showing when we server a cached file (as info not debug)
Ian Holsman [Fri, 8 Feb 2002 19:58:26 +0000 (19:58 +0000)]
add another log message showing when we server a cached file (as info not debug)

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

22 years ago Some considerable fixes in sending log messages out to the event log.
William A. Rowe Jr [Fri, 8 Feb 2002 19:37:47 +0000 (19:37 +0000)]
  Some considerable fixes in sending log messages out to the event log.

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

22 years ago Drawing attention to the timing problem; push the wait up so we do about
William A. Rowe Jr [Fri, 8 Feb 2002 19:37:02 +0000 (19:37 +0000)]
  Drawing attention to the timing problem; push the wait up so we do about
  nothing until WinNT initializes the app.

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

22 years agoRenamed the internal environment variable reference from NDK to LIBC
Bradley Nicholes [Fri, 8 Feb 2002 19:17:58 +0000 (19:17 +0000)]
Renamed the internal environment variable reference from NDK to LIBC

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

22 years agoAdded the renaming of apr_ldap.hnw to the prebuild precessing
Bradley Nicholes [Fri, 8 Feb 2002 19:17:26 +0000 (19:17 +0000)]
Added the renaming of apr_ldap.hnw to the prebuild precessing

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

22 years agoUpdated to use the newer locking API's. This file should probably be moved
Bradley Nicholes [Fri, 8 Feb 2002 18:32:50 +0000 (18:32 +0000)]
Updated to use the newer locking API's.  This file should probably be moved
to the httpd-ldap with the rest of the auth_ldap stuff.

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

22 years agoAdded .def files for build on NetWare
Bradley Nicholes [Fri, 8 Feb 2002 18:31:32 +0000 (18:31 +0000)]
Added .def files for build on NetWare

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

22 years agoUpdated to use the newer locking APIs
Bradley Nicholes [Fri, 8 Feb 2002 18:29:17 +0000 (18:29 +0000)]
Updated to use the newer locking APIs

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

22 years agowhy are the skies cloudy all day?
Jeff Trawick [Fri, 8 Feb 2002 18:00:58 +0000 (18:00 +0000)]
why are the skies cloudy all day?

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

22 years agoExplain why I'm sitting on .32.
Justin Erenkrantz [Fri, 8 Feb 2002 17:15:01 +0000 (17:15 +0000)]
Explain why I'm sitting on .32.

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

22 years agoupdate CHANGES for an input side seg fault fix.
Greg Ames [Fri, 8 Feb 2002 14:47:10 +0000 (14:47 +0000)]
update CHANGES for an input side seg fault fix.

also, get rid of a mainframe term that somehow leaked into a comment which
might confuse people.

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

22 years agostyle police
Ian Holsman [Fri, 8 Feb 2002 06:09:34 +0000 (06:09 +0000)]
style police
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoensure that ap_rgetline allocates storage for the request line each time it is
Greg Ames [Fri, 8 Feb 2002 02:25:42 +0000 (02:25 +0000)]
ensure that ap_rgetline allocates storage for the request line each time it is
called.

This fixes a number of segfaults on daedalus where the first line is
empty (i.e. \r\n followed by a bunch of garbage)

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

22 years agoAllow statically linked support binaries with the new
Aaron Bannert [Thu, 7 Feb 2002 23:01:47 +0000 (23:01 +0000)]
Allow statically linked support binaries with the new
--enable-static-support flag, and enable this behavior in
the binbuild script. Also add a new --enable-static-htdbm
flag.

BTW, this takes care of 7/8th of a showstopper.

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

22 years agoThat check is superfluous since we must have savename defined
Justin Erenkrantz [Thu, 7 Feb 2002 06:50:52 +0000 (06:50 +0000)]
That check is superfluous since we must have savename defined
(otherwise, we'd get APR_INCOMPLETE on apr_dir_read).

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

22 years agoAllow mod_autoindex to serve symlinks if permitted and optimize our stats
Justin Erenkrantz [Thu, 7 Feb 2002 06:37:09 +0000 (06:37 +0000)]
Allow mod_autoindex to serve symlinks if permitted and optimize our stats
so that only one stat() is needed.

If we get APR_FINFO_MIN bits, lookup_dirent won't do a repeated stat()
call.  So, let's do it here.  Also, if we see a symlink, expand it.
(Technically, we don't *have* to expand the symlinks - the resolve_symlink
fix handles that, but we can't really assume that.)  Since we know that
dirent will be rr->finfo anyway, go back to relying on dirent only for
APR_DIR checks.

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

22 years agoFix resolve_symlink to save the original symlink name if known.
Justin Erenkrantz [Thu, 7 Feb 2002 06:29:57 +0000 (06:29 +0000)]
Fix resolve_symlink to save the original symlink name if known.

We would previously receive APR_INCOMPLETE on symlinks if wanted has
FINFO_NAME set because it isn't supported via apr_stat().  Furthermore, we
don't care what the real name is anyway (even if it apr_stat returned
.name) - we want to call it by the name the symlink says it is.

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

22 years ago Eliminate tons o cruft - we are in another thread - and these can all
William A. Rowe Jr [Thu, 7 Feb 2002 06:28:45 +0000 (06:28 +0000)]
  Eliminate tons o cruft - we are in another thread - and these can all
  be longlived malloced regions, or sit upon the stack.  No need to mess
  with pool conflicts.

  The remaining pool accesses are still a problem to resolve.

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

22 years ago Upon advice of the FirstBill, I began looking for exceptions that occur
William A. Rowe Jr [Thu, 7 Feb 2002 00:24:12 +0000 (00:24 +0000)]
  Upon advice of the FirstBill, I began looking for exceptions that occur
  only in the service-mode.  SetServiceDescription was borked, now fixed.
  Since we don't use the posix/libc style stderr, I've also pitched that
  code, which was causing an exception.

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

22 years agobit foggy
Ian Holsman [Wed, 6 Feb 2002 22:52:15 +0000 (22:52 +0000)]
bit foggy
PR:
Obtained from:
Submitted by:
Reviewed by:

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