]> granicus.if.org Git - apache/log
apache
22 years ago This baffled .mak exported build targets for mod_ssl/abs. They will
William A. Rowe Jr [Wed, 27 Feb 2002 17:41:34 +0000 (17:41 +0000)]
  This baffled .mak exported build targets for mod_ssl/abs.  They will
  recognize their output only as .\Release|Debug\mod_ssl.so, etc.  Without
  the leading .\ kept getting 'dunno how to make ... target'

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

22 years ago Must admit, my use case was focused on services. It seems that if we
William A. Rowe Jr [Wed, 27 Feb 2002 17:38:20 +0000 (17:38 +0000)]
  Must admit, my use case was focused on services.  It seems that if we
  had a console, we weren't reassigning stdhandles with AllocConsole().
  Open the conin/conout very explicitly, and clean up some other cruft.

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

22 years agoFix --sysconfdir and --localstatedir, which were being ignored.
Aaron Bannert [Wed, 27 Feb 2002 17:16:29 +0000 (17:16 +0000)]
Fix --sysconfdir and --localstatedir, which were being ignored.
Fix --enable-layout to work.

showstoppers--

Note: As far as we can tell, autoconf will not let us override our layout
settings from paramers like --prefix, etc. This is unfortunate, but
we will not let this get in the way of --enable-layout working. This
will be made clear in the docs.

PR: 9124, 9873, 9885, 9888

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

22 years agoWhen we fix this, make sure to close 9963 as this is that problem.
Justin Erenkrantz [Wed, 27 Feb 2002 17:06:35 +0000 (17:06 +0000)]
When we fix this, make sure to close 9963 as this is that problem.

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

22 years agoFix --enable-layout to work again.
Aaron Bannert [Wed, 27 Feb 2002 17:06:33 +0000 (17:06 +0000)]
Fix --enable-layout to work again.
Fix bug where --sysconfdir and --localstatedir were being ignored by APR.

Caution: When specifying --enable-layout, common arguments like --prefix,
--exec-prefix, etc. will be ignored and the settings from the layout
will be used instead.

PR: 9124, 9888, 9873, 9885
Submitted by: Thom May <thom@planetarytramp.net>, Aaron Bannert
Reviewed by:    Justin Erenkrantz

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

22 years agoAdd the ProxyRemoteMatch directive to the mod_proxy
Jim Jagielski [Wed, 27 Feb 2002 15:49:01 +0000 (15:49 +0000)]
Add the ProxyRemoteMatch directive to the mod_proxy
code. Doccos to be done soon

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

22 years agodocument the ctx parameter to the add-input-filter functions
Jeff Trawick [Wed, 27 Feb 2002 15:36:23 +0000 (15:36 +0000)]
document the ctx parameter to the add-input-filter functions

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

22 years agomention some graceful restart breakage with worker
Jeff Trawick [Wed, 27 Feb 2002 12:25:55 +0000 (12:25 +0000)]
mention some graceful restart breakage with worker

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

22 years agoNo releases until these two are addressed. It doesn't make sense to
Justin Erenkrantz [Wed, 27 Feb 2002 08:24:42 +0000 (08:24 +0000)]
No releases until these two are addressed.  It doesn't make sense to
release a new build if our top two filed issues aren't addressed.

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

22 years agoI just tried to do a graceful restart while pounding my box with worker
Justin Erenkrantz [Wed, 27 Feb 2002 04:53:58 +0000 (04:53 +0000)]
I just tried to do a graceful restart while pounding my box with worker
MPM and no segfaults.  Am I missing something or were these fixed with
Jeff's latest fixes?

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

22 years agoap_calc_scoreboard_size() needs to be exported for win32
Doug MacEachern [Wed, 27 Feb 2002 04:10:19 +0000 (04:10 +0000)]
ap_calc_scoreboard_size() needs to be exported for win32

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

22 years ago Clarity on a snowy night in Illinois.
William A. Rowe Jr [Wed, 27 Feb 2002 04:00:47 +0000 (04:00 +0000)]
  Clarity on a snowy night in Illinois.

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

22 years agoDon't set bytes_sent to be 0 when r->assbackwards since this screws up
Justin Erenkrantz [Wed, 27 Feb 2002 03:55:31 +0000 (03:55 +0000)]
Don't set bytes_sent to be 0 when r->assbackwards since this screws up
logging.

The content length filter seems to track bytes_sent properly regardless
of HTTP version.  The HTTP header filter knows not to send C-L (or any
headers) to this client.

showstoppers--;

(Also fix typo of my last name in CHANGES...)

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

22 years ago Whoh boy that's rough... We sometimes like to answer SIGHUP in the
William A. Rowe Jr [Wed, 27 Feb 2002 03:52:20 +0000 (03:52 +0000)]
  Whoh boy that's rough... We sometimes like to answer SIGHUP in the
  parent process, don't we?

  This -was- post-fork() in 1.3, but with the massive restructuring,
  we inadvertantly now whack the parent process.

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

22 years agochange builtin passphrase prompt to use stdout rather than stderr.
Doug MacEachern [Wed, 27 Feb 2002 03:33:38 +0000 (03:33 +0000)]
change builtin passphrase prompt to use stdout rather than stderr.
and switch to using apr_file api for portability.
stderr has already been redirected to the error_log.
rather than attempting to temporarily rehook it to the terminal,
we print the prompt to stdout before EVP_read_pw_string turns
off tty echo.  which is also more portable.

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

22 years agochanging mod_ssl to do a full startup/teardown on each restart rather
Doug MacEachern [Wed, 27 Feb 2002 03:21:09 +0000 (03:21 +0000)]
changing mod_ssl to do a full startup/teardown on each restart rather
than hack to only read passphrase on 1st round startup.  this change:
- fixes current segv on restarts (SHARED_MODULE is not defined)
- allows LoadModule ssl_module to be added to httpd.conf on restart
  (was core dumping previously)
- allows certs/keys to be changed on restart provided key is not
  encrypted or SSLPassPhraseDialog is exec.  if key is encrypted and
  SSLPassPhraseDialog is builtin, existing private keys will be reused
  on restart (which happens currently for any type of key/dialog).

note: mod_ssl currently leaks on restart; leaks more with this change.
      fixes to come.

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

22 years agoAll the work on the lock APIs probably deserves a little note, and besides
Aaron Bannert [Wed, 27 Feb 2002 03:17:26 +0000 (03:17 +0000)]
All the work on the lock APIs probably deserves a little note, and besides
the module authors will appreciate the note directing them to the new
APIs.

showstoppers--

Also, fast_redirect is lame, toss it.

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

22 years agoUse the empty string, not NUL. I should have read my code more closely.
Ryan Bloom [Wed, 27 Feb 2002 00:58:17 +0000 (00:58 +0000)]
Use the empty string, not NUL.  I should have read my code more closely.

Thanks Cliff for slapping me in the head.

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

22 years agoGrrrrr..... We should really use the correct line endings on all
Ryan Bloom [Wed, 27 Feb 2002 00:39:01 +0000 (00:39 +0000)]
Grrrrr.....  We should really use the correct line endings on all
platforms.

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

22 years agofix some problems with variables in config_vars.mk
Jeff Trawick [Tue, 26 Feb 2002 21:31:45 +0000 (21:31 +0000)]
fix some problems with variables in config_vars.mk

Submitted by: Aaron Bannert
Tested by: Jeff Trawick

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

22 years agoCommit the transformations from the xml docs.
Joshua Slive [Tue, 26 Feb 2002 19:02:35 +0000 (19:02 +0000)]
Commit the transformations from the xml docs.

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

22 years agoStart converting the mpm documentation.
Joshua Slive [Tue, 26 Feb 2002 19:00:40 +0000 (19:00 +0000)]
Start converting the mpm documentation.

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

22 years agoChanges necessary to document MPMs.
Joshua Slive [Tue, 26 Feb 2002 19:00:01 +0000 (19:00 +0000)]
Changes necessary to document MPMs.

In particular, we use an mpm_common file for directives shared between
mpms.  These changes allow for an

<directivesynopsis location="mpm_common">
<name>Listen</name>
</directivesynopsis>

to be included in mpm documentation files.  Also, I added the option
of a <modulelist>, which is used in documenting directives inside
mpm_common.

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

22 years agoThese variables need to be delimited with {} or they will conflict with
Aaron Bannert [Tue, 26 Feb 2002 18:41:58 +0000 (18:41 +0000)]
These variables need to be delimited with {} or they will conflict with
other variables in the same namespace with a shorter prefix substring.
How did this ever work before? I ran into this while testing some of
the recent layout-fixing patches.

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

22 years agoFix segfault if content_type is NULL.
Justin Erenkrantz [Tue, 26 Feb 2002 04:04:54 +0000 (04:04 +0000)]
Fix segfault if content_type is NULL.

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

22 years agoFix some formatting. No function change.
Bill Stoddard [Mon, 25 Feb 2002 19:10:05 +0000 (19:10 +0000)]
Fix some formatting. No function change.

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

22 years agoI learned about AP_MODE_EXHAUSTIVE while reading some of the new filter
Ryan Bloom [Mon, 25 Feb 2002 06:54:40 +0000 (06:54 +0000)]
I learned about AP_MODE_EXHAUSTIVE while reading some of the new filter
code earlier today.  With this mode, the Perchild MPM can finally be
fixed to work with filters.  I have changed a comment in the core to make
it clear that this mode is required, but I have mentioned how dangerous
this mode is.  Also add a comment to STATUS about my plans.

Hopefully I'll have some time this week to hack through the MPM.

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

22 years agoForward port of changes in mod_ssl for Apache 1.3 up through mod_ssl
Cliff Woolley [Mon, 25 Feb 2002 04:23:03 +0000 (04:23 +0000)]
Forward port of changes in mod_ssl for Apache 1.3 up through mod_ssl
version 2.8.7-1.3.23.

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

22 years agoremove a tab
Cliff Woolley [Mon, 25 Feb 2002 02:10:52 +0000 (02:10 +0000)]
remove a tab

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

22 years agorestart fixes for worker:
Jeff Trawick [Sun, 24 Feb 2002 20:53:26 +0000 (20:53 +0000)]
restart fixes for worker:

fix a segfault and a window in which we could miss joining
newly-created threads

we can't try to signal workers if the worker queue hasn't
been initialized (or we segfault)

make sure the start thread is done creating threads before
we try to join; otherwise we can just miss some of them and
not be able to clean them up properly

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

22 years agodon't wait nearly so long for child processes to go away
Jeff Trawick [Sun, 24 Feb 2002 20:41:19 +0000 (20:41 +0000)]
don't wait nearly so long for child processes to go away

the adjustment of the wait time was done too soon

now the code should be consistent with 1.3 behavior

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

22 years agoI prefer to remove stuff :(
Jeff Trawick [Sun, 24 Feb 2002 16:20:01 +0000 (16:20 +0000)]
I prefer to remove stuff :(

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

22 years agoRemoved unixd_set_lock_perms(apr_lock_t *), which is no longer
Brian Pane [Sun, 24 Feb 2002 08:33:56 +0000 (08:33 +0000)]
Removed unixd_set_lock_perms(apr_lock_t *), which is no longer
used by any of the MPMs.  (This is another step toward eliminating
the httpd's dependencies on the old lock API.)

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

22 years agoFix for the code that handles SSI tokens that span multiple
Brian Pane [Sun, 24 Feb 2002 07:40:05 +0000 (07:40 +0000)]
Fix for the code that handles SSI tokens that span multiple
buckets: if a brigade containing an incomplete "<!--#" token
has been set aside in ctx->ssi_tag_brigade, we need to retrieve
and output the contents of that brigade if the next bucket (in
the next brigade) doesn't actually complete the "<!--#".

As part of this commit, I've commented out the recent changes
to detect flush buckets in the brigade, due to segfaults.  (I
think the fix may be to add some checks for sentinels and EOS
when advancing to the next bucket after the flush bucket.)

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

22 years agonotes need to be 'set' at the main requests pool
Ian Holsman [Sun, 24 Feb 2002 04:47:22 +0000 (04:47 +0000)]
notes need to be 'set' at the main requests pool
not the 'sub-request' as notes live in the parent's request
lifetime.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agobaby steps
Ian Holsman [Sun, 24 Feb 2002 00:34:14 +0000 (00:34 +0000)]
baby steps
this fixes the case where we have a SSI start tag split up
over multiple buckets.

BTW
HTTPD-test is failing.
but it was failing on 2.0.32 version of mod-include as well

PR:
Obtained from:
Submitted by: Brian Pane
Reviewed by: Ian Holsman

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

22 years agoFix to avoid a segfault in mod_bucketeer if content_type is unset
Brian Pane [Sat, 23 Feb 2002 21:18:34 +0000 (21:18 +0000)]
Fix to avoid a segfault in mod_bucketeer if content_type is unset

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

22 years agomake it work with flushes
Ian Holsman [Sat, 23 Feb 2002 20:56:36 +0000 (20:56 +0000)]
make it work with flushes
make the false alarm not as generic
PR:
Obtained from:
Submitted by:
Reviewed by:  Ian, Brian, Justin

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

22 years agoFix problem with expiry date being set in the past.
Bill Stoddard [Sat, 23 Feb 2002 19:44:31 +0000 (19:44 +0000)]
Fix problem with expiry date being set in the past.

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

22 years agoFix problem where expiry time was being set in the past when the cache was
Bill Stoddard [Sat, 23 Feb 2002 19:31:02 +0000 (19:31 +0000)]
Fix problem where expiry time was being set in the past when the cache was
loaded.

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

22 years agopass a brigade
Ian Holsman [Sat, 23 Feb 2002 19:21:18 +0000 (19:21 +0000)]
pass a brigade
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoremove stale comment
Ian Holsman [Sat, 23 Feb 2002 16:12:37 +0000 (16:12 +0000)]
remove stale comment
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoWhen firing up a new child process, wipe clean the set of worker_score records
Brian Havard [Sat, 23 Feb 2002 11:52:14 +0000 (11:52 +0000)]
When firing up a new child process, wipe clean the set of worker_score records
we're going to use as they could contain leftovers from a previous child.
This solves a problem where a non-graceful restart followed by a graceful
restart would leave previous generation children stuck waiting for non-existant
worker threads to terminate.

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

22 years agoHandle shift of restart_time into scoreboard.
Brian Havard [Sat, 23 Feb 2002 11:25:57 +0000 (11:25 +0000)]
Handle shift of restart_time into scoreboard.

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

22 years agointroducing the bucketeer
Ian Holsman [Sat, 23 Feb 2002 06:43:25 +0000 (06:43 +0000)]
introducing the bucketeer
it lets you set up boundry test conditions for things like
mod-include
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoforgot the ap-declare's
Ian Holsman [Sat, 23 Feb 2002 03:58:05 +0000 (03:58 +0000)]
forgot the ap-declare's
the're needed for win32

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

22 years agoAdded ap_get_input_filter_handle() and ap_get_output_filter_handle()
Brian Pane [Sat, 23 Feb 2002 03:12:31 +0000 (03:12 +0000)]
Added ap_get_input_filter_handle() and ap_get_output_filter_handle()
Submitted by: Ryan Morgan
Reviewed by: Brian Pane

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

22 years agomention a new showstopper introduced after 2.0.32
Jeff Trawick [Fri, 22 Feb 2002 21:22:44 +0000 (21:22 +0000)]
mention a new showstopper introduced after 2.0.32

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

22 years agoneed to copy mod_log_config over for custom-loggers
Ian Holsman [Fri, 22 Feb 2002 20:09:25 +0000 (20:09 +0000)]
need to copy mod_log_config over for custom-loggers
Obtained from: Steve Linde

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

22 years agoSmall typo fix.
Joshua Slive [Fri, 22 Feb 2002 14:45:23 +0000 (14:45 +0000)]
Small typo fix.

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

22 years agoFix double proxy listing.
Joshua Slive [Fri, 22 Feb 2002 14:35:45 +0000 (14:35 +0000)]
Fix double proxy listing.

PR: 9910

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

22 years ago Good things for beta testers to know have been fixed.
William A. Rowe Jr [Fri, 22 Feb 2002 05:51:44 +0000 (05:51 +0000)]
  Good things for beta testers to know have been fixed.

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

22 years agoMention the -DNO_DETACH changes (to implement apr_proc_detach prototype
Aaron Bannert [Thu, 21 Feb 2002 18:56:15 +0000 (18:56 +0000)]
Mention the -DNO_DETACH changes (to implement apr_proc_detach prototype
change).

This removes a non-showstopper "nice-to-have". :)

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

22 years agoImplement apr_proc_detach changes and allow -DNO_DETACH in the multi-process
Aaron Bannert [Thu, 21 Feb 2002 18:52:28 +0000 (18:52 +0000)]
Implement apr_proc_detach changes and allow -DNO_DETACH in the multi-process
mode to not "daemonize" while detaching from the controlling terminal.
This is necessary for Apache to work with process-management tools like
AIX's "System Resource Controller" as well as Dan Bernstein's "daemontools".

What this means is apache must _NOT_ be a process group leader if called
with the -DNO_DETACH flag.

Submitted from:     Jos Backus <josb@cncdsl.com>
Edited/Reviewed by: Aaron Bannert

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

22 years ago This code should be a noop today. But I did not feel comfortable about
William A. Rowe Jr [Thu, 21 Feb 2002 17:20:26 +0000 (17:20 +0000)]
  This code should be a noop today.  But I did not feel comfortable about
  reusing/recopying each bucket -after- inserting it into the brigade.
  Also, copying bucket c from b from a seemed obtuse.

  This patch creates the single bucket, makes a copy of it for each
  sendfile chunk we are about to add to the brigade, and finally consumes
  that initial bucket as the final file bucket of the brigade.

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

22 years agoConvert mod_auth_digest to use the new apr_global_mutex_t type.
Aaron Bannert [Thu, 21 Feb 2002 17:00:50 +0000 (17:00 +0000)]
Convert mod_auth_digest to use the new apr_global_mutex_t type.

Added some comments that will help us make this more portable.
tmpnam() is not portable to platforms that will not inhereit
the process, so we need to pull the lock filename from somewhere
shared, like a configuration directive.

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

22 years agofix problem where a unmatched tag was not sent if it was at the
Ian Holsman [Thu, 21 Feb 2002 16:18:11 +0000 (16:18 +0000)]
fix problem where a unmatched tag was not sent if it was at the
end of a bucket

Obtained from: Alla Teper noticed it
Submitted by:
Reviewed by: Cliff/Justin

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

22 years agoConvert the ap_queue_foo routines to return apr_status_t as appropriate.
Jeff Trawick [Thu, 21 Feb 2002 14:22:05 +0000 (14:22 +0000)]
Convert the ap_queue_foo routines to return apr_status_t as appropriate.

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

22 years agofix the linkage of and add a prototype for ap_proxy_table_unmerge()
Jeff Trawick [Thu, 21 Feb 2002 11:42:03 +0000 (11:42 +0000)]
fix the linkage of and add a prototype for ap_proxy_table_unmerge()

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

22 years agozap an incorrect comment
Jeff Trawick [Thu, 21 Feb 2002 11:20:01 +0000 (11:20 +0000)]
zap an incorrect comment

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

22 years agoSome browsers ignore cookies that have been merged into a
Graham Leggett [Thu, 21 Feb 2002 06:06:31 +0000 (06:06 +0000)]
Some browsers ignore cookies that have been merged into a
single Set-Cookie header. Set-Cookie and Set-Cookie2 headers
are now unmerged in the http proxy before being sent to the
client.
Fix a problem with proxy where each entry of a duplicated
header such as Set-Cookie would overwrite and obliterate the
previous value of the header, resulting in multiple header
values (like cookies) going missing.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agobump bumpty bump
Ian Holsman [Thu, 21 Feb 2002 04:05:21 +0000 (04:05 +0000)]
bump bumpty bump
Placing the thread-limit and server-limit values, those which define the
size of internal structures in the scoreboard, actually into the
scoreboard allow third-party applications to access those structures.

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

22 years ago Fix the close-on-sendfile bug where Win32 would transmit a single
William A. Rowe Jr [Thu, 21 Feb 2002 02:19:39 +0000 (02:19 +0000)]
  Fix the close-on-sendfile bug where Win32 would transmit a single
  sendfile bucket and then lose it's socket, and fix a comment.

Submitted by:  Ryan Morgan <rmorgan@covalent.net>

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

22 years agoPlacing the thread-limit and server-limit values, those which define the
Aaron Bannert [Thu, 21 Feb 2002 01:30:06 +0000 (01:30 +0000)]
Placing the thread-limit and server-limit values, those which define the
size of internal structures in the scoreboard, actually into the
scoreboard allow third-party applications to access those structures.

Submitted by: Adam Sussman <myddryn@vishnu.vidya.com>
Reviewed by: Aaron Bannert

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

22 years agoFix segfault in proxy
Ian Holsman [Wed, 20 Feb 2002 20:27:19 +0000 (20:27 +0000)]
Fix segfault in proxy
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agosend a 'bad-gateway'
Ian Holsman [Wed, 20 Feb 2002 20:25:15 +0000 (20:25 +0000)]
send a 'bad-gateway'
when a invaild response flys in

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

22 years agoon OS/390, instdso.sh should just use libtool, since libtool for
Jeff Trawick [Wed, 20 Feb 2002 20:11:32 +0000 (20:11 +0000)]
on OS/390, instdso.sh should just use libtool, since libtool for
OS/390 is very Apache-friendly and doesn't play with the names
of DSO files

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

22 years agoRemember AddOutputFilterByType.
Justin Erenkrantz [Wed, 20 Feb 2002 17:41:18 +0000 (17:41 +0000)]
Remember AddOutputFilterByType.

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

22 years ago Some info messages mean something to only three people in this world,
William A. Rowe Jr [Wed, 20 Feb 2002 17:32:36 +0000 (17:32 +0000)]
  Some info messages mean something to only three people in this world,
  let's start dropping some to debug until we have the essentials of
  parent -> create child -> child running -> parent shutting down
    -> child exiting -> child quit -> parent exited  at APLOG_INFO level.

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

22 years ago Seems Terminal Server flavors were failing global_mutex_init, but it was
William A. Rowe Jr [Wed, 20 Feb 2002 17:18:05 +0000 (17:18 +0000)]
  Seems Terminal Server flavors were failing global_mutex_init, but it was
  somewhat hard to tell, seeing as we never log any status until we can't
  obtain the mutex.  Lots more rv checking is required in here, would
  appreciate if new/touched code grew the appropriate tests.

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

22 years agoadd a comment about the gzip-only-text/html note
Ian Holsman [Wed, 20 Feb 2002 16:50:40 +0000 (16:50 +0000)]
add a comment about the gzip-only-text/html note
and how most browsers can't handle compressing everything

PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoAnother xml comversion.
Joshua Slive [Wed, 20 Feb 2002 16:17:40 +0000 (16:17 +0000)]
Another xml comversion.

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

22 years agoAdd xml-ized mod_auth_anon. I had to change directives.html because this module
Joshua Slive [Wed, 20 Feb 2002 15:58:40 +0000 (15:58 +0000)]
Add xml-ized mod_auth_anon.  I had to change directives.html because this module
used a non-standard format for anchors that won't work now.

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

22 years agorefer to background information on filters and mod_deflate where
Jeff Trawick [Wed, 20 Feb 2002 15:28:37 +0000 (15:28 +0000)]
refer to background information on filters and mod_deflate where
appropriate

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

22 years agofix the short description for mod_deflate
Jeff Trawick [Wed, 20 Feb 2002 15:27:44 +0000 (15:27 +0000)]
fix the short description for mod_deflate

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

22 years agofix a broken link to the SetOutputFilter description
Jeff Trawick [Wed, 20 Feb 2002 15:20:32 +0000 (15:20 +0000)]
fix a broken link to the SetOutputFilter description

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

22 years agoadd an example to the mod_deflate documentation
Jeff Trawick [Wed, 20 Feb 2002 15:18:11 +0000 (15:18 +0000)]
add an example to the mod_deflate documentation

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

22 years agoAdd some messages. Be a bit smarter about detecting if a write has started
Bill Stoddard [Tue, 19 Feb 2002 23:20:13 +0000 (23:20 +0000)]
Add some messages.  Be a bit smarter about detecting if a write has started

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

22 years agoWin32: Migrate mpm_winnt away from the deprecated apr_lock API
Bill Stoddard [Tue, 19 Feb 2002 23:01:23 +0000 (23:01 +0000)]
Win32: Migrate mpm_winnt away from the deprecated apr_lock API

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

22 years agoMore info for folks searching the CHANGES file
Bill Stoddard [Tue, 19 Feb 2002 21:42:33 +0000 (21:42 +0000)]
More info for folks searching the CHANGES file

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

22 years agoThis fixes a bug in mod_status on Windows where restart time was not
Bill Stoddard [Tue, 19 Feb 2002 21:09:27 +0000 (21:09 +0000)]
This fixes a bug in mod_status on Windows where restart time was not
properly initialized.

Move ap_restart_time into the scoreboard global area so the child process
on non-forking platforms can have access to it.

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

22 years agoHere goes: now committing the transformed version of the xml docs. This is
Joshua Slive [Tue, 19 Feb 2002 18:37:19 +0000 (18:37 +0000)]
Here goes: now committing the transformed version of the xml docs.  This is
necessary to avoid having to keep the two in sync while we convert.

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

22 years agoMake sure the "do not edit" comment gets passed through.
Joshua Slive [Tue, 19 Feb 2002 18:33:00 +0000 (18:33 +0000)]
Make sure the "do not edit" comment gets passed through.

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

22 years agoWoops... Not allowed to break a line there.
Joshua Slive [Tue, 19 Feb 2002 18:22:30 +0000 (18:22 +0000)]
Woops... Not allowed to break a line there.

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

22 years agoA couple small changes and a little reformatting to try to make it more
Joshua Slive [Tue, 19 Feb 2002 18:15:45 +0000 (18:15 +0000)]
A couple small changes and a little reformatting to try to make it more
understandable.

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

22 years agoXML version of core directives.
Joshua Slive [Tue, 19 Feb 2002 18:15:15 +0000 (18:15 +0000)]
XML version of core directives.

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

22 years agoAdd IPv6 notes to the documentation for the NameVirtualHost
Jeff Trawick [Tue, 19 Feb 2002 16:23:05 +0000 (16:23 +0000)]
Add IPv6 notes to the documentation for the NameVirtualHost
directive.

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

22 years agofix a v4-specific INADDR_ANY check that kept name-based virtual hosts
Jeff Trawick [Tue, 19 Feb 2002 16:17:24 +0000 (16:17 +0000)]
fix a v4-specific INADDR_ANY check that kept name-based virtual hosts
from working with IPv6

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

22 years ago<example> is not (by default) a <pre>formatted environment.
Joshua Slive [Tue, 19 Feb 2002 15:42:28 +0000 (15:42 +0000)]
<example> is not (by default) a <pre>formatted environment.

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

22 years agoDescribe IPv6 syntax for Listen, Allow from, and <VirtualHost >.
Jeff Trawick [Tue, 19 Feb 2002 14:29:51 +0000 (14:29 +0000)]
Describe IPv6 syntax for Listen, Allow from, and <VirtualHost >.

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

22 years agoIntroduce AddOutputFilterByType directive.
Justin Erenkrantz [Tue, 19 Feb 2002 04:45:53 +0000 (04:45 +0000)]
Introduce AddOutputFilterByType directive.

AddOutputFilterByType DEFLATE text/html

(I will add docco soon, I promise.  If someone beats me to it, cool...)

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

22 years agoRoy has a new employer
Roy T. Fielding [Tue, 19 Feb 2002 02:08:45 +0000 (02:08 +0000)]
Roy has a new employer

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

22 years agoConversion to xml
Rich Bowen [Tue, 19 Feb 2002 01:21:56 +0000 (01:21 +0000)]
Conversion to xml

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

22 years agoUpdate.
Lars Eilebrecht [Mon, 18 Feb 2002 22:45:09 +0000 (22:45 +0000)]
Update.

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

22 years agoone step closer to happiness on ebcdic boxes
Greg Ames [Mon, 18 Feb 2002 18:19:06 +0000 (18:19 +0000)]
one step closer to happiness on ebcdic boxes

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

22 years agoclose a nearly-impossible leak in dummy_connection (the copy of the
Jeff Trawick [Mon, 18 Feb 2002 16:24:51 +0000 (16:24 +0000)]
close a nearly-impossible leak in dummy_connection (the copy of the
code used by worker MPM)

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

22 years agoclose an extremely unlikely file descriptor leak in
Jeff Trawick [Mon, 18 Feb 2002 16:18:10 +0000 (16:18 +0000)]
close an extremely unlikely file descriptor leak in
dummy_connection()

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

22 years agoWoops. I meant <note>, not <example>.
Joshua Slive [Mon, 18 Feb 2002 15:54:13 +0000 (15:54 +0000)]
Woops.  I meant <note>, not <example>.

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

22 years agoA couple tiny updates to use <directive> and <note>.
Joshua Slive [Mon, 18 Feb 2002 15:50:05 +0000 (15:50 +0000)]
A couple tiny updates to use <directive> and <note>.

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

22 years agoThree xsl changes:
Joshua Slive [Mon, 18 Feb 2002 15:43:15 +0000 (15:43 +0000)]
Three xsl changes:

1. If there are no directives for a module, print "This module provides
no directives."

2. Add the type="section" parameter for <directive> and
<directivesynopsis>.  The < and > should not be included.  They will
be added by the transformation.

3. All fragment anchors (internal page links) go to lowercase.

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