- Apr 19, 2002
-
-
Jeff Trawick authored
Submitted by: Stas Bekman Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94708 13f79535-47bb-0310-9956-ffa450edef68
-
Brian Pane authored
code within the critical region inside the spin locks. (Shortening this code path reduces the probability that we'll have to spin.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94706 13f79535-47bb-0310-9956-ffa450edef68
-
Brian Pane authored
atomic compare-and-swap loops git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94705 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 18, 2002
-
-
Justin Erenkrantz authored
instead of ap_getline - this prevents some odd looping issues that can cause problems. Also, when we call get_mime_headers to read the trailers, we need to reset our ctx->state to BODY_NONE - there should only be MIME-header information (followed by a blank CRLF line) - and we don't know how much data there will be - so it is by definition BODY_NONE. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94704 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
rbb's concern about maintainability and still address mine about annoying /s). Don't call mkdir when we are the top-level directory. We *have* to have been created before hand. Also add this fix to the bsd_makefile section. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94703 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
idea what this line is attempting to do, but it doesn't work in the top-level Makefile - causing an error. Therefore, take the line we use in APR to check if a file exists. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94702 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
So, if we are in the top-level makefile, don't add an extra trailing slash to srcdir, builddir, or VPATH. It's annoying. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94701 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
graceless termination git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94700 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
set that variable. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94699 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
(Justin removed some unneeded changes in Makefile.in.) Submitted by: Thom May <thom@planetarytramp.net> Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94697 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94696 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
Submitted by: Ben Collins-Sussman <sussman@collab.net> Tweaked by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94695 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94694 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
server/mpm/experimental/perchild. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94693 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
server/mpm/experimental/perchild. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94692 13f79535-47bb-0310-9956-ffa450edef68
-
Yoshiki Hayashi authored
Submitted by: Nobuyuki Morita <marika@@plum.freemail.ne.jp> Reviewed by: Yoshiki Hayashi git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94691 13f79535-47bb-0310-9956-ffa450edef68
-
Yoshiki Hayashi authored
Submitted by: Nobuyuki Morita <marika@plum.freemail.ne.jp> Reviewed by: Yoshiki Hayashi git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94690 13f79535-47bb-0310-9956-ffa450edef68
-
Martin Kraemer authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94689 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 17, 2002
-
-
Joshua Slive authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94687 13f79535-47bb-0310-9956-ffa450edef68
-
Joshua Slive authored
- overview is no longer needed git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94686 13f79535-47bb-0310-9956-ffa450edef68
-
Joshua Slive authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94685 13f79535-47bb-0310-9956-ffa450edef68
-
Joshua Slive authored
old html. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94684 13f79535-47bb-0310-9956-ffa450edef68
-
Bill Stoddard authored
should just remove the object from the cache and set the cleanup flag in the object. decrement_refcount will clean the object up when the refcount goes to zero. Defect reported by Jean-Jacques Clar at Novell. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94683 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Experimental patch that may mitigate (but not eliminate) the errors in [crit] (32538)An operation was attempted on something that is not a socket. : Parent: WSADuplicateSocket failed for socket ... if the particular stacks' bug is that it won't associate a handle as a socket if that handle was duped with DuplicateHandle(). Other bugs with unimplemented WSADuplicateSocket are not addressed by this patch. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94682 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Introduced -E startup_logfile_name option to httpd to allow admins to begin logging errors immediately. This provides Win32 users an alternative to sending startup errors to the event viewer, and allows other daemon tool authors an alternative to logging to stderr. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94681 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
during graceless termination the cleanups on pchild won't mess with stuff they are still referencing git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94679 13f79535-47bb-0310-9956-ffa450edef68
-
Brian Havard authored
moving sooner by sending a SIGHUP to the accept thread, breaking it out of its accept/poll. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94678 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
Submitted by: Stas Bekman Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94677 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
If we do not know a C-T for a subreq, we *must* propogate that non-knowledge upwards to the main request. Previously, if you used a DirectoryIndex with a file without a C-T (say .shtml without AddType), the r->content_type will be kept as httpd/unix-directory when we promoted the subreq in mod_dir. Since there would be no handler on this file, ap_invoke_handler (config.c:355) would set the handler to be httpd/unix-directory (which was the old C-T of the dir). This would then trigger the handler to become httpd/unix-directory. mod_autoindex would then try to serve the request. But, the filename was propogated upwards by mod_dir's DirectoryIndex via internal_fast_redirect - it would then return a 403 trying to generate a mod_autoindex page for a file. Now, we will use ap_default_type() which is correct. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94676 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Tired of 'foo.h not found' messages in the build. Checked ms's docs, seems xcopy's /y arg goes all the way back to Win95. This shouldn't introduce any hassles. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94675 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 16, 2002
-
-
Justin Erenkrantz authored
While this message will scroll by without their reading it, we can reasonably say that we warned them if they report errors. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94674 13f79535-47bb-0310-9956-ffa450edef68
-
Brian Pane authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94673 13f79535-47bb-0310-9956-ffa450edef68
-
Brian Pane authored
The threadpool MPM implements Aaron Bannert's "time-space tradeoff" design managing idle workers. Rather than putting accepted connections into a queue, the threadpool MPM keeps idle worker threads in a stack. Its dedicated listener thread retrieves an idle worker from the stack before accepting a connection. If there are no idle workers, the listener blocks until a worker becomes available before doing an accept. In many ways, threadpool is also a variant of leader/follower. They both maintain a stack of idle threads. The difference is that threadpool has a dedicated listener thread, and leader/follower rotates the listening responsibility among its worker threads. In my initial testing, the leader/follower MPM performs very well on multiprocessor Solaris 8 when listening on a single port, but poorly when listening on multiple ports. (I don't know why this is happening. What I've found so far is that when you add a poll on the listen socket(s) before the accept in the leader/follower MPM, all the socket-related syscalls in the httpd get slower. My hypothesis is that the thread scheduler is making an optimal decision about where (on what CPU) to run the newly awakened thread if its first syscall is an accept, and a nonoptimal decision if its first syscall is a poll.) The threadpool MPM performs better with multiple listener ports, and in my testing so far it looks competitive with leader/follower when running with a single listener. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94672 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
config.guess/config.sub files to be identical. Previously, we had three different versions of the guess files - now they are the same. I attempted to merge in ASF changes that were marked and still needed. Please verify that these work on your platform. (Particular attention is required for the IBM platforms.) Part of PR 7818 stems from the fact that the bundled expat did not have an included config.guess/config.sub. Therefore, it would take the config.guess from the system. Icarus's autoconf/libtool is very old (2.13/1.3.5). The machine that was used to roll 2.0.32 had a recent autoconf/libtool which explains the behavior that Sander saw in the PR. Therefore, we now explicitly provide a config.guess/.sub for the bundled expat so that all of the versions are in sync. This should minimize configuration problems. pcre was using a config.guess that was imported when Brian made the 3.9 import. It did not have the Apache modifications, but seems to have had the Darwin changes. Go figure. Sync it up as well. PR: 7818 Obtained from: GNU FSF - ftp.gnu.org/gnu/config git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94671 13f79535-47bb-0310-9956-ffa450edef68
-
Cliff Woolley authored
ever since this was copy-and-pasted from the threaded MPM documentation, and threaded *was* the default at one point.] Reported by: kap@katchoo.org git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94670 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
(Change 1.3->2.0) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94669 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
are guaranteed to support 100 - Continue logic without any intervention. This requires some reshuffling of the code in http_protocol.c so that some static declarations are available early enough in the code so that ap_http_filter can access them. Note that we can not read the chunk until after (possibly) sending the 100. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94668 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
to ap_get_mime_headers and calling it in the appropriate place in ap_http_filter. showstoppers--; git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94667 13f79535-47bb-0310-9956-ffa450edef68
-
Brian Pane authored
wake up the next one in the list git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94666 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 15, 2002
-
-
Brian Pane authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94664 13f79535-47bb-0310-9956-ffa450edef68
-