]> granicus.if.org Git - apache/log
apache
22 years agoFailed to mentionthe PR in the first pass. This just adds the PR number
Paul J. Reder [Wed, 1 May 2002 20:03:14 +0000 (20:03 +0000)]
Failed to mentionthe PR in the first pass. This just adds the PR number
to the CHANGES file. (PR 8320)

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

22 years agoFix a case where an invalid pass phrase is entered and an
Paul J. Reder [Wed, 1 May 2002 19:28:52 +0000 (19:28 +0000)]
Fix a case where an invalid pass phrase is entered and an
error message is given, but the prompt is not shown again.
This left the user in an ambiguous state.

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

22 years agowait for worker threads to exit even in graceless termination
Jeff Trawick [Wed, 1 May 2002 16:05:59 +0000 (16:05 +0000)]
wait for worker threads to exit even in graceless termination
(we already have code to make them exit sooner now)

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

22 years ago Always build this experimental module (which has no library dependencies).
William A. Rowe Jr [Wed, 1 May 2002 15:23:13 +0000 (15:23 +0000)]
  Always build this experimental module (which has no library dependencies).
  Build failure reported by Jerry Baker to dev@httpd

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

22 years agoDefer starting the listener until we have at least tried to start all the worker
Bill Stoddard [Wed, 1 May 2002 15:06:44 +0000 (15:06 +0000)]
Defer starting the listener until we have at least tried to start all the worker
threads.  We want to get the workers in the pool of available threads ASAP
to keep perform_idle_server_maintenance from thrashing and starting too
many processes prematurely.  The code before this patch would dribble workers
into the worker pool over an extended period of time and this prevented
perform_idle_server_maintenance from accurately deciding when new processes
were needed.

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

22 years agoUpdate prior to bumping the tag
Sander Striker [Wed, 1 May 2002 10:37:42 +0000 (10:37 +0000)]
Update prior to bumping the tag

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

22 years agoClose sockets on worker MPM when doing a graceless restart. This should
Justin Erenkrantz [Wed, 1 May 2002 07:15:39 +0000 (07:15 +0000)]
Close sockets on worker MPM when doing a graceless restart.  This should
resolve some segfaults see when doing such restarts.

(Justin tweaked the palloc/memset in favor of calloc.)

Submitted by: Aaron Bannert
Reviewed by: Greg Ames, Sander Striker, Justin Erenkrantz

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

22 years agoEliminate some sprintf calls
Brian Pane [Wed, 1 May 2002 06:41:36 +0000 (06:41 +0000)]
Eliminate some sprintf calls

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

22 years agoNetWare make files for building experimental module mod_cache and its
Bradley Nicholes [Tue, 30 Apr 2002 22:16:51 +0000 (22:16 +0000)]
NetWare make files for building experimental module mod_cache and its
associated support modules.

Submitted by: Jean-Jacques Clar [jjclar@novell.com]

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

22 years agoNetWare make files for building experimental modules mod_deflate,
Bradley Nicholes [Tue, 30 Apr 2002 21:54:53 +0000 (21:54 +0000)]
NetWare make files for building experimental modules mod_deflate,
mod_example and support utilities ab, htdbm and logresolve

Submitted by: Guenter Knauf [eflash@gmx.net]

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

22 years agodefault_handler: move the code to handle unusual methods out of the middle
Greg Ames [Tue, 30 Apr 2002 20:12:26 +0000 (20:12 +0000)]
default_handler: move the code to handle unusual methods out of the middle
of the hot path without using goto.

suggested by: Roy Fielding

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

22 years agoRevert optimization from circa 2.0.34 that caused very long vhost id's
Cliff Woolley [Tue, 30 Apr 2002 17:10:12 +0000 (17:10 +0000)]
Revert optimization from circa 2.0.34 that caused very long vhost id's
to be unusable with mod_ssl.

PR: 8572

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

22 years agoReadjusting how the bucket alloc is done for each worker thread. Allocate
Bradley Nicholes [Tue, 30 Apr 2002 14:32:07 +0000 (14:32 +0000)]
Readjusting how the bucket alloc is done for each worker thread.  Allocate
the bucket once per thread rather than on every request.  This change
increases our performance significantly.

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

22 years agoFix the link to the description of the CoredumpDirectory
Jeff Trawick [Tue, 30 Apr 2002 14:20:29 +0000 (14:20 +0000)]
Fix the link to the description of the CoredumpDirectory
directive in the server-wide document.

PR:          8643

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

22 years agonote a desirable goal
Cliff Woolley [Tue, 30 Apr 2002 06:57:22 +0000 (06:57 +0000)]
note a desirable goal

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

22 years agoSHMCB should not have been using apr_rmm -- it was doing so incorrectly,
Cliff Woolley [Tue, 30 Apr 2002 06:48:45 +0000 (06:48 +0000)]
SHMCB should not have been using apr_rmm -- it was doing so incorrectly,
for one thing.  But it just plain doesn't need it.  Rip it out to avoid
segfaulting.

Submitted by:  Aaron Bannert

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

22 years ago- Sync with modssl 2.8.8-1.3.24
Cliff Woolley [Tue, 30 Apr 2002 03:47:31 +0000 (03:47 +0000)]
- Sync with modssl 2.8.8-1.3.24
- Also a minor change to add more useful error
  logging for shmcb startup failures

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

22 years agomod_cache doc update (note this is still very primitive)
Bill Stoddard [Tue, 30 Apr 2002 03:41:45 +0000 (03:41 +0000)]
mod_cache doc update (note this is still very primitive)

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

22 years agoEnable mod_mem_cache to be configured to cache open file handle using new
Bill Stoddard [Tue, 30 Apr 2002 03:25:12 +0000 (03:25 +0000)]
Enable mod_mem_cache to be configured to cache open file handle using new
directive option: CacheEnable fd / will enable caching fds. If for some
reason the fd cannot be cached, the directive will effectively morph into
CacheEnable mem /

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

22 years agoRemove APR_WANT_SIGNAL from apr_want.h because code must include
Roy T. Fielding [Tue, 30 Apr 2002 01:29:11 +0000 (01:29 +0000)]
Remove APR_WANT_SIGNAL from apr_want.h because code must include
apr_signal.h in order to get consistent definitions.

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

22 years agoremove_entity should only work on complete cache_objects
Bill Stoddard [Tue, 30 Apr 2002 00:06:16 +0000 (00:06 +0000)]
remove_entity should only work on complete cache_objects

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

22 years ago Please, Win32 hackers, review this doc!!! Talk about out of date and
William A. Rowe Jr [Mon, 29 Apr 2002 21:42:52 +0000 (21:42 +0000)]
  Please, Win32 hackers, review this doc!!!  Talk about out of date and
  horribly stale.  A dry run report would be a great thing for feedback.

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

22 years ago Worth noting, I guess
William A. Rowe Jr [Mon, 29 Apr 2002 19:55:49 +0000 (19:55 +0000)]
  Worth noting, I guess

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

22 years ago Should correctly build mod_ext_filter, mod_deflate dependant upon zlib,
William A. Rowe Jr [Mon, 29 Apr 2002 19:53:55 +0000 (19:53 +0000)]
  Should correctly build mod_ext_filter, mod_deflate dependant upon zlib,
  and change the license-add code for openssl+zlib based on the newest
  changes to a global LICENSE for all bundled components.

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

22 years agoForget to update the error messages
Bill Stoddard [Mon, 29 Apr 2002 19:44:47 +0000 (19:44 +0000)]
Forget to update the error messages

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

22 years agoName space protect mod_mem_cache config directives
Bill Stoddard [Mon, 29 Apr 2002 19:09:20 +0000 (19:09 +0000)]
Name space protect mod_mem_cache config directives

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

22 years agofinish getting apxs to work with a binary build
Jeff Trawick [Mon, 29 Apr 2002 18:09:02 +0000 (18:09 +0000)]
finish getting apxs to work with a binary build

it now picks up any necessary ld environment variables from
the envvars file when invoking "httpd -l" to verify that
mod_so was included in the build

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

22 years agoFixing up the distribution and install section of the NetWare make files
Bradley Nicholes [Mon, 29 Apr 2002 15:10:20 +0000 (15:10 +0000)]
Fixing up the distribution and install section of the NetWare make files

Submitted by: Guenter Knauf

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

22 years agoAdded some missing export to the proxy module
Bradley Nicholes [Mon, 29 Apr 2002 14:35:48 +0000 (14:35 +0000)]
Added some missing export to the proxy module

Submitted by: Guenter Knauf

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

22 years ago Demote to a minor bump for .36 - those affected by API changes should
William A. Rowe Jr [Mon, 29 Apr 2002 12:51:31 +0000 (12:51 +0000)]
  Demote to a minor bump for .36 - those affected by API changes should
  be a very small subset of modules.  Here are the afflicted types & fns;

apr_explode_time      -> apr_time_exp_tz
apr_explode_localtime -> apr_time_exp_lt
apr_get_groupname     -> apr_group_name_get

deprecated apr_lock_t, apr_os_lock_t and fns, but the warnings
have been there a while so no sympathy.

added dav_hooks_search_t and DASL Search functions.

added apr_cmdtype_e *type arg to mod_cgi opt fn ap_cgi_build_command.

added proxy_fixups hook and ap_proxy_ssl_disable, and
optional fn ssl_engine_disable.

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

22 years ago Attach a bugz number
William A. Rowe Jr [Mon, 29 Apr 2002 12:30:42 +0000 (12:30 +0000)]
  Attach a bugz number

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

22 years agoUpdate prior to bumping the tag
Sander Striker [Mon, 29 Apr 2002 08:35:47 +0000 (08:35 +0000)]
Update prior to bumping the tag

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

22 years agoReplaced a sprintf("%d") with itoa
Brian Pane [Mon, 29 Apr 2002 08:05:37 +0000 (08:05 +0000)]
Replaced a sprintf("%d") with itoa

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

22 years agoShort-circuit out of mod_userdir's translation handler faster on
Brian Pane [Mon, 29 Apr 2002 07:45:43 +0000 (07:45 +0000)]
Short-circuit out of mod_userdir's translation handler faster on
non "/~*" requests

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

22 years agoUpdated ap_getword_white() to use the same coding style
Brian Pane [Mon, 29 Apr 2002 07:20:46 +0000 (07:20 +0000)]
Updated ap_getword_white() to use the same coding style
(and optimizations) as ap_getword()

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

22 years agoUpdating my vote on the worker MPM
Brian Pane [Mon, 29 Apr 2002 06:59:20 +0000 (06:59 +0000)]
Updating my vote on the worker MPM

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

22 years agoDocument this weekend's worker MPM changes
Brian Pane [Mon, 29 Apr 2002 06:56:44 +0000 (06:56 +0000)]
Document this weekend's worker MPM changes

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

22 years agoFix spelling/typo
Bill Stoddard [Mon, 29 Apr 2002 02:36:10 +0000 (02:36 +0000)]
Fix spelling/typo

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

22 years agoRemoved some code from the mutex-protected block in ap_queue_pop().
Brian Pane [Mon, 29 Apr 2002 01:57:39 +0000 (01:57 +0000)]
Removed some code from the mutex-protected block in ap_queue_pop().
If the worker thread synchronization is working properly, it's not
necessary to set these fields to NULL after removing an element from
the queue, and it's IMO more important to have a shorter code path
leading up to the mutex_unlock.  I left in support for NULLing the
fields when debugging, though.

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

22 years agoBecause mod_imap's handler runs on every request in the default
Brian Pane [Mon, 29 Apr 2002 01:03:17 +0000 (01:03 +0000)]
Because mod_imap's handler runs on every request in the default
configuration, rearrange the code to keep it from allocating a few
pages worth of local variables on the stack on requests that don't
use imagemaps

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

22 years agoWhat did I do today?
Aaron Bannert [Sun, 28 Apr 2002 23:44:13 +0000 (23:44 +0000)]
What did I do today?

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

22 years agoDon't install *.in config files.
Aaron Bannert [Sun, 28 Apr 2002 23:41:25 +0000 (23:41 +0000)]
Don't install *.in config files.

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

22 years agoRename the worker_stack_interrupt_all() function as worker_stack_terminate().
Aaron Bannert [Sun, 28 Apr 2002 23:28:52 +0000 (23:28 +0000)]
Rename the worker_stack_interrupt_all() function as worker_stack_terminate().
Also, broadcast a signal after we set the terminate flag on the worker stack.

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

22 years agoRemoved the "not_full" condition variable and associated conditional
Brian Pane [Sun, 28 Apr 2002 23:12:35 +0000 (23:12 +0000)]
Removed the "not_full" condition variable and associated conditional
logic from the file descriptor queue, now that we can rely on the
idle worker reference count to keep the listener from trying to
push connections into a full queue
Reviewed by: Aaron Bannert (concept)

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

22 years agoRemove unused variable.
Aaron Bannert [Sun, 28 Apr 2002 23:10:26 +0000 (23:10 +0000)]
Remove unused variable.

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

22 years agoSome more threadpool MPM changes:
Aaron Bannert [Sun, 28 Apr 2002 23:05:15 +0000 (23:05 +0000)]
Some more threadpool MPM changes:

- Add a "state" variable to the worker_wakeup_info struct. This is
  used to make sure that we act on the correct signal, and to know when
  to shut down a worker thread.
- Fix the call when the worker thread waits for a connection to use
  the new state variable and use mutexes around the cond_wait() call.
- Change the interrupt_all() call to set the WORKER_TERMINATED state.
- Add two AP_DEBUG_ASSERT() to make sure that we aren't waking up
  a worker thread before it is idle.

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

22 years agoClarify an incorrect statement about why we're purposfully putting
Aaron Bannert [Sun, 28 Apr 2002 22:32:17 +0000 (22:32 +0000)]
Clarify an incorrect statement about why we're purposfully putting
the signal inside of a mutex.

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

22 years agoSome threadpool fixes:
Aaron Bannert [Sun, 28 Apr 2002 22:25:16 +0000 (22:25 +0000)]
Some threadpool fixes:

- We don't need the listener_blocked flag, just check if the element
  we're adding makes the stack non-empty.
- When we are terminated, return APR_EOF; catch this event in the
  worker thread and the listener thread.
- When shutting down, always signal a potential listener thread.
- Wait to signal the listener thread until after we add the worker
  element to the stack.

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

22 years agoDetect APR_EINTR from ap_queue_pop() and avoid calling
Aaron Bannert [Sun, 28 Apr 2002 22:13:32 +0000 (22:13 +0000)]
Detect APR_EINTR from ap_queue_pop() and avoid calling
ap_queue_info_set_idle() more than once at a time per worker thread.
This fixes an assert coredump.

Submitted by: Aaron Bannert
Reviewed by: Brian Pane

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

22 years agoWhen we signal a condition variable, we need to own the lock that
Aaron Bannert [Sun, 28 Apr 2002 21:35:12 +0000 (21:35 +0000)]
When we signal a condition variable, we need to own the lock that
is associated with that condition variable. This isn't necessary
for Solaris, but for Posix it is.

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

22 years agoFix a bug in the mod_status display caused by some uninitialized fields.
Bill Stoddard [Sun, 28 Apr 2002 21:09:36 +0000 (21:09 +0000)]
Fix a bug in the mod_status display caused by some uninitialized fields.
Prep for taking mpm_winnt to multi-process...

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

22 years agoStyle cleanup (remove tabs, fix alignment).
Aaron Bannert [Sun, 28 Apr 2002 20:26:09 +0000 (20:26 +0000)]
Style cleanup (remove tabs, fix alignment).

Submitted by: Thom May <thom@planetarytramp.net>

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

22 years agoTypo fix.
Joshua Slive [Sun, 28 Apr 2002 16:40:57 +0000 (16:40 +0000)]
Typo fix.

Submitted by: Phil Forrest <forrest@physics.auburn.edu>

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

22 years agokill a warning on Darwin for NONCE_LEN becoming a long int by math.
Roy T. Fielding [Sun, 28 Apr 2002 09:02:19 +0000 (09:02 +0000)]
kill a warning on Darwin for NONCE_LEN becoming a long int by math.

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

22 years agoIf a subreq added a filter (say INCLUDES) and the subreq was promoted via
Justin Erenkrantz [Sun, 28 Apr 2002 06:41:35 +0000 (06:41 +0000)]
If a subreq added a filter (say INCLUDES) and the subreq was promoted via
fast_redirect, the filter would still point at the subreq - rather than
the original r.  So, we must update any filters pointing at rr to be r.

This would cause lots of problems with mod_include with mod_dir requests
such as seen in PR 7966.  mod_include would be unsetting the headers_out
of rr instead of r.  But, we disassociate rr->headers_out and r->headers_out.
Therefore, the C-L header in r->headers_out would remain - even though it
bears no relation to what we will be outputting - causing problems.

This also now permits chunked-encoding of mod_dir/mod_include requests
which could never happen before and fixes the content-length problem
seen in PR 7966.

As hinted at in PR 7966, there is a race condition - if for some reason
the server stalls reading an included file (or even better, placing a
sleep in the cgi-bin script!), the invalid C-L may get propogated to the
client.

(Note that internal_internal_redirect has this same code fragment.)

PR: 7966

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

22 years agoSimplify this little chunk of code since r is set to f->r earlier.
Justin Erenkrantz [Sun, 28 Apr 2002 06:24:53 +0000 (06:24 +0000)]
Simplify this little chunk of code since r is set to f->r earlier.

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

22 years agoMoved the recycled pool list from the queue to the queue_info structure.
Brian Pane [Sun, 28 Apr 2002 05:28:18 +0000 (05:28 +0000)]
Moved the recycled pool list from the queue to the queue_info structure.
The advantage of doing this is that it enables us to guarantee that the
number of ptrans pools in existence at once is no greater than the
number of worker threads, and that we'll never have to delete ptrans
pools.

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

22 years agoAdded a missing pool deletion case and simplified the conditionals
Brian Pane [Sun, 28 Apr 2002 04:48:43 +0000 (04:48 +0000)]
Added a missing pool deletion case and simplified the conditionals
for the error-case return (thanks to Justin for suggesting the
latter)

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

22 years agoMove a potentially expensive pool cleanup operation outside
Brian Pane [Sun, 28 Apr 2002 03:32:10 +0000 (03:32 +0000)]
Move a potentially expensive pool cleanup operation outside
the mutex-protected critical path of ap_queue_pop()

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

22 years agoPreserve the original error, or if the unlock fails then use that
Aaron Bannert [Sun, 28 Apr 2002 03:20:06 +0000 (03:20 +0000)]
Preserve the original error, or if the unlock fails then use that
error instead.

Obtained from:  Justin Erenkrantz
Submitted by: Aaron Bannert

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

22 years agoRemoved creation of unused struct
Brian Pane [Sun, 28 Apr 2002 01:58:26 +0000 (01:58 +0000)]
Removed creation of unused struct

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

22 years agoModify the worker MPM to not accept() new connections until
Aaron Bannert [Sun, 28 Apr 2002 01:56:20 +0000 (01:56 +0000)]
Modify the worker MPM to not accept() new connections until
there is an available worker thread. This prevents queued
connections from starving for processing time while long-running
connections were hogging all the available threads.

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

22 years agoAdd a "queue_info" structure to the worker MPM. This is used to prevent
Aaron Bannert [Sun, 28 Apr 2002 01:45:00 +0000 (01:45 +0000)]
Add a "queue_info" structure to the worker MPM. This is used to prevent
the listener thread from accept()ing more connections than there are
available workers. This prevents long-running requests from starving
connections that have been accepted but not yet processed.

The queue_info is a simple counter, mutex, and condition variable. Only
the listener thread blocks on the condition, and only when there are no
idle workers. In the fast path there is a mutex lock, integer decrement,
and and unlock (among a few conditionals). The worker threads each notify
the queue_info when they are about to block on the normal worker_queue
waiting for some connection to process, which wakes up any sleeping
listener thread to go perform another accept() in parallel.

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

22 years agoFixed the creation of the worker threads' data structures
Brian Pane [Sun, 28 Apr 2002 00:34:49 +0000 (00:34 +0000)]
Fixed the creation of the worker threads' data structures

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

22 years agomy_generation is in the shared scoreboard now.
Bill Stoddard [Sat, 27 Apr 2002 21:01:20 +0000 (21:01 +0000)]
my_generation is in the shared scoreboard now.

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

22 years agoAdded a vote on MPMs
Brian Pane [Fri, 26 Apr 2002 22:45:47 +0000 (22:45 +0000)]
Added a vote on MPMs

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

22 years ago After review and testing against all of the PSDK examples (see
William A. Rowe Jr [Fri, 26 Apr 2002 22:23:06 +0000 (22:23 +0000)]
  After review and testing against all of the PSDK examples (see
  http://www.apache.org/~wrowe/ for commentary on building the
  examples and making them work) ... this disable-optimization
  should no longer be required.

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

22 years agoAdded a check to make sure that h_aliases is not NULL before we try to
Bradley Nicholes [Fri, 26 Apr 2002 21:55:41 +0000 (21:55 +0000)]
Added a check to make sure that h_aliases is not NULL before we try to
dereference it in the for(...) loop.  Attempting to dereference a NULL pointer
was causing a fault if there were no aliases found.

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

22 years agoApply a patch to compile cleanly again against changes to the shared memory
Graham Leggett [Fri, 26 Apr 2002 21:54:38 +0000 (21:54 +0000)]
Apply a patch to compile cleanly again against changes to the shared memory
implementation in APR.
PR:
Obtained from:
Submitted by: Eduardo Garcia Lopez <egarcia@stream18.com>
Reviewed by:

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

22 years agoget closer to having apxs work from a binary distribution
Jeff Trawick [Fri, 26 Apr 2002 18:56:16 +0000 (18:56 +0000)]
get closer to having apxs work from a binary distribution
we need to copy libtool and instdso.sh verbatim, and we
need to edit config_vars.mk and apxs

still broken: "httpd -l" as invoked by apxs can fail since
support libraries (apr, aprutil, etc.) are probably not
findable

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

22 years agoUpdate release info.
Justin Erenkrantz [Fri, 26 Apr 2002 17:43:30 +0000 (17:43 +0000)]
Update release info.

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

22 years agoEven though this is in APR, it is causing big problems in Apache.
Aaron Bannert [Fri, 26 Apr 2002 17:30:05 +0000 (17:30 +0000)]
Even though this is in APR, it is causing big problems in Apache.

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

22 years agoThe worker's fdqueue is now a queue again.
Aaron Bannert [Fri, 26 Apr 2002 17:17:42 +0000 (17:17 +0000)]
The worker's fdqueue is now a queue again.

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

22 years agoConvert the worker MPM's fdqueue from a LIFO back into a FIFO. Since
Aaron Bannert [Fri, 26 Apr 2002 17:13:51 +0000 (17:13 +0000)]
Convert the worker MPM's fdqueue from a LIFO back into a FIFO. Since
elements in the queue represent accept()ed connections, we want them
to be processed in the order that they were received.  (I erroneously
converted it to a LIFO quite awhile ago in the hopes that it would
improve cache efficiency.)

Remember to perform a make clean in the worker directory after this patch,
since this patch changes the size of the fd_queue_t object (which is
allocated in worker.c).

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

22 years agofix a compile break on EBCDIC machines
Jeff Trawick [Fri, 26 Apr 2002 14:43:18 +0000 (14:43 +0000)]
fix a compile break on EBCDIC machines

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

22 years agoget basic HTTP proxy working on EBCDIC machines
Jeff Trawick [Fri, 26 Apr 2002 12:29:38 +0000 (12:29 +0000)]
get basic HTTP proxy working on EBCDIC machines

(I would bet that there is more work to do throughout proxy, but at least
it can serve some pages now)

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

22 years agoSwitch back from atomic_cas to mutexes, based on all the current
Brian Pane [Fri, 26 Apr 2002 07:14:26 +0000 (07:14 +0000)]
Switch back from atomic_cas to mutexes, based on all the current
portability challenges with atomics

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

22 years agoSome of these worker bugs may or may not be showstoppers, but I'll let
Aaron Bannert [Fri, 26 Apr 2002 05:12:29 +0000 (05:12 +0000)]
Some of these worker bugs may or may not be showstoppers, but I'll let
Striker decide that. I hope to have the top two of these finished in
the next 24 hours, but the third I may need some help with.

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

22 years agoget mod_proxy to build on EBCDIC machines
Jeff Trawick [Thu, 25 Apr 2002 22:12:51 +0000 (22:12 +0000)]
get mod_proxy to build on EBCDIC machines

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

22 years agoremove a goto
Greg Ames [Thu, 25 Apr 2002 20:51:49 +0000 (20:51 +0000)]
remove a goto

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

22 years agoTypoed HTML tag. </ br> -> <br />
Rich Bowen [Thu, 25 Apr 2002 20:08:31 +0000 (20:08 +0000)]
Typoed HTML tag. </ br> -> <br />

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

22 years agoAdded example of the Redirect status syntax.
Rich Bowen [Thu, 25 Apr 2002 20:04:19 +0000 (20:04 +0000)]
Added example of the Redirect status syntax.

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

22 years agofix a compiler error with picky compilers that (correctly) don't let
Jeff Trawick [Thu, 25 Apr 2002 19:57:32 +0000 (19:57 +0000)]
fix a compiler error with picky compilers that (correctly) don't let
you add to void *

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

22 years agoCorrect SSI time format reference.
Joshua Slive [Thu, 25 Apr 2002 19:00:20 +0000 (19:00 +0000)]
Correct SSI time format reference.

Submitted by: masao@ulis.ac.jp (Masao Takaku)
PR: 8449

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

22 years agoAllow mod_unique_id to work on systems with no IPv4 address
Jeff Trawick [Thu, 25 Apr 2002 18:04:40 +0000 (18:04 +0000)]
Allow mod_unique_id to work on systems with no IPv4 address
corresponding to their host name.

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

22 years ago Trade one signedness mismatch for another, but choose the one that is
William A. Rowe Jr [Thu, 25 Apr 2002 18:03:41 +0000 (18:03 +0000)]
  Trade one signedness mismatch for another, but choose the one that is
  known to be a positive value.

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

22 years ago Not yet added to the default build, but curious if they build and run.
William A. Rowe Jr [Thu, 25 Apr 2002 18:01:44 +0000 (18:01 +0000)]
  Not yet added to the default build, but curious if they build and run.
  mod_deflate tested with both zlib 1.1.3/1.1.4, unpacked in srclib/zlib/.
  Zlib only seems to have .dll builds, not very efficient when a single
  binary is built against sources, so we compile the appropriate sources.
  Your mileage may vary.

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

22 years agoI just posted a few bug fixes that need to go into the worker MPM, so
Aaron Bannert [Thu, 25 Apr 2002 17:29:19 +0000 (17:29 +0000)]
I just posted a few bug fixes that need to go into the worker MPM, so
I'm -1 here until those are fixed. I also think we need to do a lot more
load/soak/burn testing on worker before we switch it to be the default.
(and maybe by that time we'll have a better candidate for the hybrid
MP/MT MPM).

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

22 years agoBrain dump and a vote
Bill Stoddard [Thu, 25 Apr 2002 17:20:59 +0000 (17:20 +0000)]
Brain dump and a vote

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

22 years agodemote the Content-Range/416/SSI problem to non-showstopper.
Greg Ames [Thu, 25 Apr 2002 17:05:56 +0000 (17:05 +0000)]
demote the Content-Range/416/SSI problem to non-showstopper.

It's been happening for ages, there are no PRs I'm aware of, and the core
dumps that happened as a side effect in 2.0.35 seem to be resolved.

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

22 years agoBump after the tag.
Sander Striker [Thu, 25 Apr 2002 12:15:53 +0000 (12:15 +0000)]
Bump after the tag.

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

22 years agoBump for the tag
Sander Striker [Thu, 25 Apr 2002 12:04:34 +0000 (12:04 +0000)]
Bump for the tag

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

22 years agoDuring the 1.3->2.0 migragrion; ab its #defined VERSION own string was replaced
Dirk-Willem van Gulik [Thu, 25 Apr 2002 08:31:13 +0000 (08:31 +0000)]
During the 1.3->2.0 migragrion; ab its #defined VERSION own string was replaced
by that of the base server distribution it sits in. Propably by accident.

This is propably not a good idea - as ideally one would like to be able to compare
ab runs as much as possible - even across releases of apache 2.0 - assuming ab or
the dependent APR has not changed (note to self: we do not track APR in our version
structure). This commit decouples the version strings for now. Though the actual
value may be nicely confusing.

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

22 years agoFix suexec invocations from userdir - the ~ was not being prepended to the
Justin Erenkrantz [Thu, 25 Apr 2002 07:18:40 +0000 (07:18 +0000)]
Fix suexec invocations from userdir - the ~ was not being prepended to the
uid per our convention.  Therefore, bad things would happen (like we
wouldn't cd to the right directory).

Add a flag to the ap_unix_identity_t structure to indicate if we are in
a userdir - if so, prefix the ~.

(Modified by Justin, but Colm's patch pointed me in the right direction.)

PR: 7810
Submitted by: Colm <colmmacc@redbrick.dcu.ie>
Reviewed by: Justin Erenkrantz

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

22 years agoSince UserDir is a raw argument, our config system allows it to be blank.
Justin Erenkrantz [Thu, 25 Apr 2002 06:16:06 +0000 (06:16 +0000)]
Since UserDir is a raw argument, our config system allows it to be blank.
To save us all the hassle, just flat out reject this silliness.  We could
treat blank as ".", but let the user shoot themselves in the foot
explicitly (and don't give them any ideas on how to do it).

PR: 8472

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

22 years agoWe must always use case-insensitive comparisons in mod_mime even if
Justin Erenkrantz [Thu, 25 Apr 2002 05:40:15 +0000 (05:40 +0000)]
We must always use case-insensitive comparisons in mod_mime even if
our platform is not "case-blind."  This matches 1.3 behavior and our
docs say that the extension argument is case-insensitive anyway.

This is case where the code fix is easier than the doc fix.  =)

PR: 8223

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

22 years agoGet proxy protocol modules to build on OS/2. This adds the mod_proxy dll's
Brian Havard [Thu, 25 Apr 2002 03:16:44 +0000 (03:16 +0000)]
Get proxy protocol modules to build on OS/2. This adds the mod_proxy dll's
import library to the link, making the public symbols in it available to the
protocol modules at build time.

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

22 years agoDocument the recent AB changes since they have the potential to change
Aaron Bannert [Wed, 24 Apr 2002 23:28:38 +0000 (23:28 +0000)]
Document the recent AB changes since they have the potential to change
the meaning of test results.

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

22 years agoOooops!
Graham Leggett [Wed, 24 Apr 2002 17:43:53 +0000 (17:43 +0000)]
Oooops!
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoAdd an intelligent error message should no proxy submodules be
Graham Leggett [Wed, 24 Apr 2002 17:40:48 +0000 (17:40 +0000)]
Add an intelligent error message should no proxy submodules be
valid to handle a request.
PR: 8407
Obtained from:
Submitted by:
Reviewed by:

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