]> granicus.if.org Git - apache/log
apache
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

22 years agoMention my AB fixes.
Aaron Bannert [Wed, 24 Apr 2002 17:24:43 +0000 (17:24 +0000)]
Mention my AB fixes.

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

22 years agoMajor improvement in concurrent processing for AB:
Aaron Bannert [Wed, 24 Apr 2002 17:09:59 +0000 (17:09 +0000)]
Major improvement in concurrent processing for AB:
- Enable non-blocking connects.
- Prevent quasi-blocking mode apr_recv (which would prevent AB from
  multiplexing over the entire descriptor set).
- Catch other fatal apr_recv() errors.

[This patch is slightly different than the one posted to the dev list,
but regardless thanks to the many people who reviewed this.]

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

22 years agodefault_handler: short circuit the method checks. Move the code to deal
Greg Ames [Wed, 24 Apr 2002 14:31:28 +0000 (14:31 +0000)]
default_handler: short circuit the method checks.  Move the code to deal
with unusual methods to the end of function to reduce i-cache clutter.

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

22 years agoAdd a configuration block for the OS/2 MPM.
Brian Havard [Wed, 24 Apr 2002 14:24:35 +0000 (14:24 +0000)]
Add a configuration block for the OS/2 MPM.

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

22 years ago A nice end to a crazy day... laptop's fixed and life goes on.
William A. Rowe Jr [Wed, 24 Apr 2002 04:34:37 +0000 (04:34 +0000)]
  A nice end to a crazy day... laptop's fixed and life goes on.

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

22 years ago A bug affecting any platform that had pre-lstat'ed the file or directory
William A. Rowe Jr [Wed, 24 Apr 2002 04:20:10 +0000 (04:20 +0000)]
  A bug affecting any platform that had pre-lstat'ed the file or directory
  in question.  We neglected to clear the FINFO_LINK bit that told us this
  was lstat()ed, but also causes stat() to follow an lstat() approach.
  This is part 2 of 2 to correct the NTFS Junction (symlink) bug.

  Bugz report 8014, identified by Sam Morris <sam@netcity.co.uk>

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

22 years ago Formatting irk grinding at me while stepping code
William A. Rowe Jr [Wed, 24 Apr 2002 03:52:59 +0000 (03:52 +0000)]
  Formatting irk grinding at me while stepping code

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

22 years agoFixed the NetWare AWK script that produces the httpd.conf file so that it
Bradley Nicholes [Tue, 23 Apr 2002 23:32:33 +0000 (23:32 +0000)]
Fixed the NetWare AWK script that produces the httpd.conf file so that it
understands the new macros.

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

22 years agoThere were multiple PR's about this one
Cliff Woolley [Tue, 23 Apr 2002 23:24:47 +0000 (23:24 +0000)]
There were multiple PR's about this one

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

22 years agoformatting buglet
Cliff Woolley [Tue, 23 Apr 2002 22:52:16 +0000 (22:52 +0000)]
formatting buglet

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

22 years agoSwitch to using new exp_* macros to fix disjointedness problems.
Justin Erenkrantz [Tue, 23 Apr 2002 22:42:03 +0000 (22:42 +0000)]
Switch to using new exp_* macros to fix disjointedness problems.

PR: 8227
Reviewed by: Sander Striker (concept), Aaron Bannert (concept)

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

22 years agoWhoops, NULL is a macro, hence not available here
Cliff Woolley [Tue, 23 Apr 2002 22:15:56 +0000 (22:15 +0000)]
Whoops, NULL is a macro, hence not available here

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

22 years agoThe force-response-1.0 and downgrade-1.0 checks were swapped. This
Justin Erenkrantz [Tue, 23 Apr 2002 22:15:09 +0000 (22:15 +0000)]
The force-response-1.0 and downgrade-1.0 checks were swapped.  This
would mean that downgraded requests were ineligible for force-response
checks.

Previously, 1.3 would do the downgrade in process_request_internal and
then the force-response later on in basic_http_header.

PR: 8357

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

22 years agoI seem to recall this about FreeBSD
Jim Jagielski [Tue, 23 Apr 2002 12:38:51 +0000 (12:38 +0000)]
I seem to recall this about FreeBSD

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

22 years agoJust add a file to use to house some platform dependent knowledge...
Jim Jagielski [Tue, 23 Apr 2002 12:18:35 +0000 (12:18 +0000)]
Just add a file to use to house some platform dependent knowledge...
Right now, just some Darwin notes.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoSync to the latest English version.
Yoshiki Hayashi [Tue, 23 Apr 2002 10:21:22 +0000 (10:21 +0000)]
Sync to the latest English version.

Submitted by: Nobuyuki Morita <marika@plum.freemail.ne.jp>
Reviewd by: Yoshiki Hayashi

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

22 years agoSync to the latest English version.
Yoshiki Hayashi [Tue, 23 Apr 2002 10:20:00 +0000 (10:20 +0000)]
Sync to the latest English version.

Submitted by: Nobuyuki Morita <marika@plum.freemail.ne.jp>, Yoshiki Hayashi

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

22 years agos/.html.html/.html/
Yoshiki Hayashi [Tue, 23 Apr 2002 10:01:38 +0000 (10:01 +0000)]
s/.html.html/.html/

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

22 years agoClarify the remaining problems with Range: headers. The seg faults went away
Greg Ames [Mon, 22 Apr 2002 20:37:34 +0000 (20:37 +0000)]
Clarify the remaining problems with Range: headers.  The seg faults went away
when we changed ap_send_error_response to get rid of resource filters.

This was triggered because we generate a lot of invalid 416 responses for SSI.
That happens because the complete length of the entity body (response) isn't
known accurately until after the C/L filter runs.  That's C/L's job, after all.

Flipping the order of the byterange and C/L filters fixes the invalid
Content-Range headers and 416's.  But then the Content-Length header contains
the full length, rather than the sum of the returned ranges.  That's wrong, but
doesn't seem too hard to fix.

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

22 years agoThis one appears to have been fixed by Greg and Jeff in http_protocol.c
Cliff Woolley [Mon, 22 Apr 2002 19:41:41 +0000 (19:41 +0000)]
This one appears to have been fixed by Greg and Jeff in http_protocol.c
rev 1.408.

showstoppers--;

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

22 years agoFix perchild MPM so that it can be configured with the move to the
Ryan Bloom [Mon, 22 Apr 2002 18:57:12 +0000 (18:57 +0000)]
Fix perchild MPM so that it can be configured with the move to the
experimental directory.  Fix perchild MPM so that it uses ap_gname2id
for groups instead of ap_uname2id.

Submitted by: Scott Lamb <slamb@slamb.org>

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

22 years ago Fix this optimization. We will skip along so long as we aren't at the
William A. Rowe Jr [Mon, 22 Apr 2002 17:33:28 +0000 (17:33 +0000)]
  Fix this optimization.  We will skip along so long as we aren't at the
  right number of components, -or- we mismatch on the current component.

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

22 years ago Small optimization, if we are behind (at the 5th segment, for example),
William A. Rowe Jr [Mon, 22 Apr 2002 16:43:46 +0000 (16:43 +0000)]
  Small optimization, if we are behind (at the 5th segment, for example),
  catch up the segment-count-sorted directory list without string compares.
  Mostly affects win32 which jumps from seg 0 (root) to 4 for UNC path names.

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

22 years agoUpdate for APR rename of apr_get_groupname to apr_group_name_get.
Sander Striker [Mon, 22 Apr 2002 10:27:01 +0000 (10:27 +0000)]
Update for APR rename of apr_get_groupname to apr_group_name_get.

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

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

22 years agoAcceptPathInfo was totally backwards... it would reject when set to on and
Cliff Woolley [Mon, 22 Apr 2002 08:08:38 +0000 (08:08 +0000)]
AcceptPathInfo was totally backwards... it would reject when set to on and
by default and accept when set to off for the default handler, and would
reject only if set to accept for mod_cgi(d) and mod_isapi.

PR: 8234

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

22 years agoOptimization: short-circuit out of ap_set_byterange() more quickly if the
Brian Pane [Mon, 22 Apr 2002 05:05:50 +0000 (05:05 +0000)]
Optimization: short-circuit out of ap_set_byterange() more quickly if the
client isn't requesting a range

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

22 years agoSkip a potentially heavyweight call to sysconf, plus some
Brian Pane [Mon, 22 Apr 2002 04:48:11 +0000 (04:48 +0000)]
Skip a potentially heavyweight call to sysconf, plus some
local variable initializations, in the common case where the
request is not for the server status page

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

22 years agoAdded the APLOG_TOCLIENT flag to ap_log_rerror() to
Bill Stoddard [Mon, 22 Apr 2002 03:25:40 +0000 (03:25 +0000)]
Added the APLOG_TOCLIENT flag to ap_log_rerror() to
explicitly tell the server that warning messages should be sent
to the client in addition to being recorded in the error log.
Prior to this change, ap_log_rerror() always sent warning
messages to the client. In one case, a faulty CGI script caused
the server to send a warning message to the client that contained
the full path to the CGI script. This could be considered a
minor security exposure.

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

22 years agoFailure to fork cgid is a shooting offense.
Bill Stoddard [Mon, 22 Apr 2002 01:36:49 +0000 (01:36 +0000)]
Failure to fork cgid is a shooting offense.

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

22 years agoIgnore stuff
Cliff Woolley [Sun, 21 Apr 2002 21:09:16 +0000 (21:09 +0000)]
Ignore stuff

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

22 years agoFix HTML 3.2 validation error: &O is not a valid entity. Should be &amp;O
Cliff Woolley [Sun, 21 Apr 2002 19:10:07 +0000 (19:10 +0000)]
Fix HTML 3.2 validation error: &O is not a valid entity.  Should be &amp;O

Reported by: validator.w3.org

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