summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* We are done with this subrequest (before we even got started...) soWilliam A. Rowe Jr2001-08-061-0/+3
| | | | | | | dump it early. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89943 13f79535-47bb-0310-9956-ffa450edef68
* This is not C++, falling out of scope doesn't constitute destruction :)William A. Rowe Jr2001-08-061-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89942 13f79535-47bb-0310-9956-ffa450edef68
* Explain the worker MPMRyan Bloom2001-08-062-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89938 13f79535-47bb-0310-9956-ffa450edef68
* Remove all the warnings from mod_example.c.Ryan Bloom2001-08-061-42/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89935 13f79535-47bb-0310-9956-ffa450edef68
* This was entirely broken. We cannot skip the location walk just becauseWilliam A. Rowe Jr2001-08-061-24/+20
| | | | | | | | we are in a file subrequest (think of a file server-status sitting in the document root, this shouldn't be blindly served as a 'file'.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89934 13f79535-47bb-0310-9956-ffa450edef68
* Just a little cleaner.William A. Rowe Jr2001-08-061-10/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89933 13f79535-47bb-0310-9956-ffa450edef68
* Multiviews and mod_negotiation will already handle this case, it neverWilliam A. Rowe Jr2001-08-062-22/+5
| | | | | | | belonged in mod_cgi itself. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89932 13f79535-47bb-0310-9956-ffa450edef68
* More explanationWilliam A. Rowe Jr2001-08-061-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89931 13f79535-47bb-0310-9956-ffa450edef68
* Get the worker MPM working again. This should fix the serializationRyan Bloom2001-08-053-70/+75
| | | | | | | problems, and it makes up initialize the queue only once. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89930 13f79535-47bb-0310-9956-ffa450edef68
* Speed up the server's response to a spike in incoming workloadGreg Ames2001-08-053-9/+59
| | | | | | | | | | | or restarts. New processes aren't able to start all their threads right away if other dying processes share the same scoreboard real estate. So give empty process slots in the scoreboard top priority. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89928 13f79535-47bb-0310-9956-ffa450edef68
* cosmetic changes only for a clean build; no serialization problemsJeff Trawick2001-08-042-6/+2
| | | | | | | | addressed; I presume those are waiting for an APR-ization of the queue/condition mechanism git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89921 13f79535-47bb-0310-9956-ffa450edef68
* minimal changes to get it to compileJeff Trawick2001-08-041-12/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89920 13f79535-47bb-0310-9956-ffa450edef68
* Subtle variation for security. If the mod_mime file has nothing specificWilliam A. Rowe Jr2001-08-042-25/+46
| | | | | | | | | | | | | | | | | to say about a given set of file extentions (and has only based the resolved fields on the default language, encoding and content type) then tell us we can ignore the result by leaving the exception list entirely undefined. If mod_mime adds anything (a language, charset, or whatnot) then proceed to use the file in the Multiviews evaluation, otherwise mod_negotation will ignore the file found. This points out a need for a slightly twisted DefaultClientLanguage, as opposed to creating foo.html.html files. Either that, or introduce a 'neutral' entity that the user can list (say, .default) for mod_mime to declare it as a fallback language/encoding/content-type/handler. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89919 13f79535-47bb-0310-9956-ffa450edef68
* axe unused variableJeff Trawick2001-08-041-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89917 13f79535-47bb-0310-9956-ffa450edef68
* Correct the default.Joshua Slive2001-08-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89913 13f79535-47bb-0310-9956-ffa450edef68
* Solve the major underlying problem of content negotation by passingWilliam A. Rowe Jr2001-08-032-22/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mod_negotiation the 'unresolved' parts of the path in a ->notes array ap-mime-exceptions-list. If mod_mime is given index.html.bad.en it will add index and bad to the list (presuming html and en are both defined.) mod_negotiation will decide if index and bad are it's fault (the user requested index.html.bad[.*]) or if it's a messed up file (say .old, .junk, or .bak). The next patch to allow any-order negotiation should check each of these list elements, so that asking for index.bad in the prior example would succeed. Right now that request would fail because .html was recognized, so it's not in the exceptions list. This patch uses a simple strcmp to the given name. Also, this patch allows any mod_mime processed file to be served, even if the content type cannot be determined (think README.en). This is crippled by the client expect headers and omitting the default content type. PLEASE vet this code carefully. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89912 13f79535-47bb-0310-9956-ffa450edef68
* remove a gcc warning, leave object code unchangedJeff Trawick2001-08-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89911 13f79535-47bb-0310-9956-ffa450edef68
* Forgot the CHANGES, as usual....Victor J. Orlikowski2001-08-031-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89910 13f79535-47bb-0310-9956-ffa450edef68
* Save hundreds of cycles on every autoindex request by _not_ attemptingWilliam A. Rowe Jr2001-08-031-50/+73
| | | | | | | | | | | | to to test the parent (..) sub request! This patch also allows the user to see things that will redirect them. That way, the lnk or dir within the directory is displayed correctly. Also allows an ALT text entry other than DIR by providing AddAlt ^^DIRECTORY^^, as the user (might) expect to be allowed to do. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89909 13f79535-47bb-0310-9956-ffa450edef68
* Add a timeout when making connections from within the proxy.Victor J. Orlikowski2001-08-033-0/+9
| | | | | | | | Now, if someone wants to add a special scoreboard state for proxy attempting to make connection, be my guest. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89908 13f79535-47bb-0310-9956-ffa450edef68
* Both the ftp and http proxies were erroneously sending a flush bucket afterVictor J. Orlikowski2001-08-032-4/+0
| | | | | | | | | | | an eos bucket. This had been put in place to repair a bug, but was covering the symptoms, rather than providing the cure. Bug repaired, and kludge removed. Submitted by: barbee@veribox.net git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89907 13f79535-47bb-0310-9956-ffa450edef68
* Update this custom bucket to use the free function pointer in apr_bucket_type_tBill Stoddard2001-08-031-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89906 13f79535-47bb-0310-9956-ffa450edef68
* Expand .html.en, .html.fr and .html.ja.jis as well asYoshiki Hayashi2001-08-031-1/+1
| | | | | | | .html and .html.html. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89905 13f79535-47bb-0310-9956-ffa450edef68
* Handle the ap_pass_brigade inside the SPLIT_BRIGADE... macro.Ryan Bloom2001-08-031-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89902 13f79535-47bb-0310-9956-ffa450edef68
* That's enough for tonight ... gheesh. Allow 2xx + OK (0) results fromWilliam A. Rowe Jr2001-08-031-1/+1
| | | | | | | | the subrequest to go out to the client. This doesn't address (..) anomilies, which I will address in the a.m. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89901 13f79535-47bb-0310-9956-ffa450edef68
* Allow a slightly larger range of acceptable responses.William A. Rowe Jr2001-08-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89900 13f79535-47bb-0310-9956-ffa450edef68
* Fix some major brokenness. We were not validating that the autoindexWilliam A. Rowe Jr2001-08-031-23/+30
| | | | | | | | subrequest'ed file was valid, and did not check a subrequest at all if the user didn't use FancyIndexing. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89899 13f79535-47bb-0310-9956-ffa450edef68
* Begone ancient beast. IndexOptions FancyIndexing is sufficiently lessWilliam A. Rowe Jr2001-08-031-22/+2
| | | | | | | confusing. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89897 13f79535-47bb-0310-9956-ffa450edef68
* Provide an ap_set_deprecated() fn for quick-and-dirty 'we don't do this'William A. Rowe Jr2001-08-032-2/+22
| | | | | | | | | | entries in the command table. (Also fixes a nit about returning a single bit of an apr_int_64 as an int. Know how this group loves !! expresssions :) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89896 13f79535-47bb-0310-9956-ffa450edef68
* Thanks Justin :) This also looked a bit klunkyWilliam A. Rowe Jr2001-08-032-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89895 13f79535-47bb-0310-9956-ffa450edef68
* Somebody please teach OtherBill how to spell "deprecated". ;-)Cliff Woolley2001-08-033-12/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89894 13f79535-47bb-0310-9956-ffa450edef68
* It's a new book. Time to throw out the old switch-hitter plays.William A. Rowe Jr2001-08-033-81/+78
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89892 13f79535-47bb-0310-9956-ffa450edef68
* Undo my unintentionally overzelous name change, and fix the style of sizeof()William A. Rowe Jr2001-08-021-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89887 13f79535-47bb-0310-9956-ffa450edef68
* If it won't let us run in APR_POOLS_DEBUG mode, it's broken.William A. Rowe Jr2001-08-021-1/+1
| | | | | | | | | | We should be implementing this all in terms of apr_threads, and fix the apr_pools code to allow 'trusted subpools' with their own root allocations that bypass the mutexes. Unrooting a pool just glosses over the real problems. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89885 13f79535-47bb-0310-9956-ffa450edef68
* fix a problem in the threaded and worker mpm's where a keepalive connectionGreg Ames2001-08-022-4/+8
| | | | | | | | | | on one thread can prevent the process from exiting. let's rename ap_graceful_restart_signalled to something more appropriate after the next beta. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89881 13f79535-47bb-0310-9956-ffa450edef68
* Make this legible. Points out a huge headache in the new conftree poolsWilliam A. Rowe Jr2001-08-021-2/+2
| | | | | | | | mechanism, that we aren't joined properly, so we hit the 'not ancestor' abend here. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89880 13f79535-47bb-0310-9956-ffa450edef68
* Really compress the add_/remove_ handling, and fix pool allocations.William A. Rowe Jr2001-08-021-87/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89878 13f79535-47bb-0310-9956-ffa450edef68
* I forgot to catch all the other return calls in this function, so thisRyan Bloom2001-08-021-1/+2
| | | | | | | | | cleans up the warnings. Thanks OtherBill for beating me up about this. :-) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89876 13f79535-47bb-0310-9956-ffa450edef68
* XBitHack has just been re-enabled in Apache 2.0, so the docs need toRyan Bloom2001-08-021-6/+0
| | | | | | | be updated to reflect that. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89874 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo in prior commitWilliam A. Rowe Jr2001-08-021-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89873 13f79535-47bb-0310-9956-ffa450edef68
* Add a handler to mod_includes.c. This handler is designed toRyan Bloom2001-08-022-0/+35
| | | | | | | | | | implement the XbitHack directive. This can't be done with a fixup, because we need to check the content-type, which is only available in the handler phase. PR: 7751 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89872 13f79535-47bb-0310-9956-ffa450edef68
* Adapt to changed declaration of apr_pool_sub_make()William A. Rowe Jr2001-08-025-7/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89871 13f79535-47bb-0310-9956-ffa450edef68
* Make the includes filter check return codes from filters lower inRyan Bloom2001-08-022-9/+25
| | | | | | | | | | the filter chain. If a lower level filter returns an error, then the request needs to stop immediately. This allows mod_include to stop parsing data once a lower filter recognizes an error. PR: 8102 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89870 13f79535-47bb-0310-9956-ffa450edef68
* Add the ability to extend the methods that Apache understandsRyan Bloom2001-08-0210-67/+162
| | | | | | | | | | | | and have those methods <limit>able in the httpd.conf. It uses the same bit mask/shifted offset as the original HTTP methods such as M_GET or M_POST, but expands the total bits from an int to an ap_int64_t to handle more bits for new request methods than an int provides. Submitted by: Cody Sherr <csherr@covalent.net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89869 13f79535-47bb-0310-9956-ffa450edef68
* Need some context for the iterator! Finally get to use that accessor :)William A. Rowe Jr2001-08-023-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89866 13f79535-47bb-0310-9956-ffa450edef68
* Solve the merge bugs, by storing a copy bit to save us a ton ofWilliam A. Rowe Jr2001-08-012-14/+75
| | | | | | | | | | | reallocation in the merge config phase. Should keep most of the savings realized by moving to tables. Need others to vet this code, please! Look at this and the prior patch as a single diff (-r n -r n-2) to see the overall changes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89865 13f79535-47bb-0310-9956-ffa450edef68
* APR-util has renamed buildconf.sh to buildconf to match APR and httpd-2.0.Justin Erenkrantz2001-08-011-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89864 13f79535-47bb-0310-9956-ffa450edef68
* This patch fixes more untold breakage than you can shake a stick at.William A. Rowe Jr2001-08-011-3/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89863 13f79535-47bb-0310-9956-ffa450edef68
* fix some warnings in resolve_symlink(), one of which seems to be forJeff Trawick2001-08-011-4/+4
| | | | | | | | | | | | | | | | | | a genuine bug... The old logic if (!(opts & OPT_SYM_OWNER | OPT_SYM_LINKS)) wouldn't seem to work properly. I think it would act like if (!((opts & OPT_SYM_OWNER) | OPT_SYM_LINKS)) This clearly isn't intended since OPT_SYM_LINKS is a constant non-zero, such that we never really fail invalid parameters. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89860 13f79535-47bb-0310-9956-ffa450edef68
* Port mod_tls.c from Eastern Europe to Apache-landWilliam A. Rowe Jr2001-08-011-244/+256
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89858 13f79535-47bb-0310-9956-ffa450edef68