- Apr 28, 2002
-
-
Joshua Slive authored
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
-
Roy T. Fielding authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94833 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
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
-
Justin Erenkrantz authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94831 13f79535-47bb-0310-9956-ffa450edef68
-
Brian Pane authored
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
-
Brian Pane authored
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
-
Brian Pane authored
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
-
Aaron Bannert authored
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
-
Brian Pane authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94826 13f79535-47bb-0310-9956-ffa450edef68
-
Aaron Bannert authored
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
-
Aaron Bannert authored
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
-
Brian Pane authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94823 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 27, 2002
-
-
Bill Stoddard authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94822 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 26, 2002
-
-
Brian Pane authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94821 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
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
-
Bradley Nicholes authored
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
-
Graham Leggett authored
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
-
Jeff Trawick authored
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
-
Justin Erenkrantz authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94816 13f79535-47bb-0310-9956-ffa450edef68
-
Aaron Bannert authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94815 13f79535-47bb-0310-9956-ffa450edef68
-
Aaron Bannert authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94814 13f79535-47bb-0310-9956-ffa450edef68
-
Aaron Bannert authored
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
-
Jeff Trawick authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94812 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
(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
-
Brian Pane authored
portability challenges with atomics git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94810 13f79535-47bb-0310-9956-ffa450edef68
-
Aaron Bannert authored
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
-
- Apr 25, 2002
-
-
Jeff Trawick authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94808 13f79535-47bb-0310-9956-ffa450edef68
-
Greg Ames authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94807 13f79535-47bb-0310-9956-ffa450edef68
-
Richard Bowen authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94806 13f79535-47bb-0310-9956-ffa450edef68
-
Richard Bowen authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94805 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
you add to void * git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94804 13f79535-47bb-0310-9956-ffa450edef68
-
Joshua Slive authored
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
-
Jeff Trawick authored
corresponding to their host name. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94802 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
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
-
William A. Rowe Jr authored
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
-
Aaron Bannert authored
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
-
Bill Stoddard authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94798 13f79535-47bb-0310-9956-ffa450edef68
-
Greg Ames authored
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
-
Sander Striker authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94795 13f79535-47bb-0310-9956-ffa450edef68
-
Sander Striker authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94794 13f79535-47bb-0310-9956-ffa450edef68
-