summaryrefslogtreecommitdiffstats
path: root/libhttpd.dsp (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-03-20Commit 2 of 2 to:Bill Stoddard3-4/+10
1. rename ap_rset_content_type to ap_set_content_type 2. reverse the arguments to aligh with ap_set_content_length git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94057 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20Commit 1 of 2 to:Bill Stoddard19-51/+51
1. rename ap_rset_content_type to ap_set_content_type 2. reverse the arguments on the call to aligh with ap_set_content_length git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94056 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20Bring 2.0 up to parity, a bit, with how much info we provide toJim Jagielski9-17/+50
the admin regarding valid values for AcceptMutex. Should also tell 'em what "default" actually maps to, but that can wait. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94055 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20status on ap_rset_content_type() fix.Bill Stoddard1-2/+4
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94054 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20OS/390: install apachecore.[dll|x] in lib/ rather than bin/ .Greg Ames2-1/+2
The LIBPATH env var already must contain the path to lib/ in order to pick up apr and apr-util. If we install the core dll there as well, LIBPATH becomes simpler. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94053 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20Get nph- CGI scripts working again by avoiding filters that can'tJeff Trawick3-0/+29
possibly deal with a script that generates the protocol header. PR: 8902, 8907, 9983 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94052 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20ap_rset_content_type() should take const char * instead of char *Jeff Trawick2-2/+2
this is friendlier to callers and r->content_type is const char * too so it isn't harmful this fixes a fatal compile error with AIX+xlc git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94051 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 No sense in opening this event when it's already opened in the parent.William A. Rowe Jr1-1/+16
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94050 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20Updated version of the PCRE lib under httpd-2.0/srclibBrian Pane1-0/+3
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94049 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 Here's the patch that really sucks. old_listeners points to an arrayWilliam A. Rowe Jr1-5/+4
of apr_socket objects already destroyed by their cleanups, and in any case they now live in invalid memory. Extend their lifetimes. This implies that the process pool grows on every restart for no good reason. One possible solution is to let the old pconf survive until the new pconf is alive. Another is to create the listeners in a subpool of process->pool, destroyed after the old_listeners are closed. Either which way, a better solution exists, but this closes the immediate bug. [How haven't we been segfaulting in unix on restarts before this patch, gurus?] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94048 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20Fix for some damage that I did to configure.in while merging theBrian Pane1-6/+5
latest version of PCRE git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94047 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 More process lifetime changes, and simplify some ambigious cruft.William A. Rowe Jr1-12/+16
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94046 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20removing configure file that got picked up in PCRE 3.9 importBrian Pane1-7482/+0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94045 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20PCRE 3.9 mergeBrian Pane3-30/+80
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94044 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20PCRE 3.9 mergeBrian Pane3-16/+231
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94043 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20resolve merge conflicts for PCRE 3.9Brian Pane12-546/+2670
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94042 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 Fix a few listener-related lifetime issues [they are created in theWilliam A. Rowe Jr1-4/+4
open logs phase, only once.] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94041 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 The source of some ills ... there is no reason to keep going if theWilliam A. Rowe Jr1-21/+23
scoreboard exists. I suspect this should be a general cleanup as well [at the end of ap_create_scoreboard.] But calling ap_run_pre_mpm with the process->pool should take care of a clobbered scoreboard shm on graceful restart. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94040 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 The pre_mpm hook creates server-lifetime objects (or at least, for theWilliam A. Rowe Jr7-7/+7
generations across graceful restarts.) They should use the process pool. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94039 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20This commit was generated by cvs2svn to compensate for changes in r8100,Brian Pane23-1196/+2786
which included commits to RCS files with non-trunk default branches. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94037 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20Initial revisionBrian Pane15-0/+10230
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94033 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 When restarting [always graceful on Win32], we don't repeat pre_mpmWilliam A. Rowe Jr1-1/+6
(Unix doesn't, we shouldn't either.) [Ryan Bloom] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94032 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20Make the listener thread stop accepting new connections and exitJeff Trawick3-83/+96
cleanly at graceful restart time. This is a basic requirement of reliable graceful restarts (the kind that won't drop connections). This allows a future fix to make worker threads hang around until they service all connections previously accepted by the listener thread. The old mechanism of doing a dummy connection to wake up the listener thread in each old child process didn't work. It didn't guarantee that (in the main thread) the byte was read from the pod and global variables were set before the listener thread grabbed the connection. It didn't guarantee that a child process in the new generation didn't get some of the dummy connections. Rather than burn extra syscalls adding a unique socket or pipe to the poll set (and breaking single listen unserialized accept in the same change), this uses a signal sent from the main thread to the listener thread to break it out of the poll or accept. (We don't worry about breaking it out of the optional mutex because the child process holding the mutex will break out of poll/accept and release the mutex, allowing a child blocked in the mutex to get it. Eventually all children blocked in the mutex will come out.) Since the listener thread now exits reliably, the main thread joins it. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94031 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20get the start thread to exit when we have reached termination butJeff Trawick1-0/+12
it is still trying to create worker threads previously, after a non-graceful restart followed by a terminate you could see a bunch of log messages showing the parent repeatedly sending SIGTERM and finally SIGKILL to one or more children... with this change, the sequence of messages should stop very soon add a comment to start_threads() describing a current problem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94030 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20Final commit to add ap_rset_content_type accessor. Add AddOutputFiltersbyTypeBill Stoddard5-33/+52
filters during call to ap_rset_content_type() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94028 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20First commit to introduce accessor function to set r->content_type..Bill Stoddard19-52/+63
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94027 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19be a little more specific in a thread-create error messageJeff Trawick1-1/+1
it is helpful to distinguish between a failure creating the first thread (listener) vs. a failure creating one of n worker threads git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94025 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19"apachectl stop" shouldn't send the gracefully-terminate char downJeff Trawick1-1/+3
the pod... the child processes need to know that it isn't a graceful termination and they shouldn't wait for old connections to finish git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94024 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19Bump ap_mmn for the M_INVALID change. Add a note to CHANGES.Greg Stein2-1/+6
Submitted by: Dale Ghent <daleg@elemental.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94023 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19forgot the actual changeIan Holsman1-22/+0
PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94020 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19my i key is brokenIan Holsman1-1/+2
PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94019 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19remove sock_enable_linger (unused function)Ian Holsman1-0/+1
PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94018 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19get rid of unnecessary code to track the number of worker threadsJeff Trawick1-13/+0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94017 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19The underlying change here was to add the new WebDAV/DeltaV methodsGreg Stein4-204/+314
now that it has an RFC. At the same time, I revamped a good chunk of the name <-> number mapping code in http_protocol.c * add M_FOO constants for the new RFC 3253 (DeltaV) methods. label where each of the builtin methods comes from. * moved METHOD_NUMBER_FIRST/LAST from http_protocol.h into http_protocol.c since they weren't used anywhere else and they weren't namespace-protected. * create register_one_method() and use it to insert all builtin methods (at _init() time) and extended methods into the registry. * add a lookup_builtin_method() to quickly map a method name to a builtin method number. * rebuild ap_method_number_of() to use the new lookup function. * revamp ap_method_name_of() to use the registry to locate the name for any method number. add a pool argument (no callers in the core code needed to be updated) * revamp make_allow() to deal with the new method numbers and all extended methods. * in mod_dav, use the new method numbers rather than registering the DeltaV methods. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94015 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19Forgot to document this when I committed the patch yesterday...Brian Pane1-0/+3
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94014 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19What is "zop"? :)Cliff Woolley1-3/+3
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94013 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19Update the transformations again.Joshua Slive51-721/+717
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94012 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19Add a reference to mod_alias.Joshua Slive1-4/+3
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94011 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19Put the "seealso"s after the directive index.Joshua Slive1-9/+9
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94010 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19Get rid of some extranous xml tags that were leaking through to the html.Joshua Slive1-0/+17
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94009 13f79535-47bb-0310-9956-ffa450edef68
2002-03-19Update transformations.Joshua Slive7-114/+105
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94008 13f79535-47bb-0310-9956-ffa450edef68
2002-03-18Forward port warning against open proxies.Joshua Slive1-0/+16
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94005 13f79535-47bb-0310-9956-ffa450edef68
2002-03-18A little mgmt overhead for the mod_dav API change.Greg Stein2-1/+6
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94004 13f79535-47bb-0310-9956-ffa450edef68
2002-03-18Change the REPORT handling APIs to deliver the content directly intoGreg Stein2-23/+24
the filter stack, rather than buffering everything into memory(!). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94003 13f79535-47bb-0310-9956-ffa450edef68
2002-03-18It's trying to rain in C'ville....Cliff Woolley1-11/+6
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94001 13f79535-47bb-0310-9956-ffa450edef68
2002-03-18Fix a hang condition with graceful restart and prefork MPMJeff Trawick3-14/+31
in the situation where MaxClients is very high but much fewer servers are actually started at the time of the restart. The way we notify an entire generation to die at once is changed so that we don't have to use the pod (and deal with the ease of filling the kernel pipe buffer). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93999 13f79535-47bb-0310-9956-ffa450edef68
2002-03-18prefork and worker:Jeff Trawick2-0/+10
after allocating a new scoreboard, make sure the right generation is stored in the global score git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93998 13f79535-47bb-0310-9956-ffa450edef68
2002-03-18don't check for EINTR after a call to apr_file_write();Jeff Trawick1-4/+1
you'll never see it git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93997 13f79535-47bb-0310-9956-ffa450edef68
2002-03-18Fix check for APR featureBill Stoddard1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93996 13f79535-47bb-0310-9956-ffa450edef68
2002-03-18Get mod_mem_cache to compile cleanly again on linux, where apr_atomic_tCliff Woolley2-7/+27
is a struct. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93995 13f79535-47bb-0310-9956-ffa450edef68