summaryrefslogtreecommitdiffstats
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Per Greg's request, add a version string component to the ap_provider.hJustin Erenkrantz2002-11-301-1/+5
| | | | | | | | functions. This allows modules to register different versions of the same provider. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97696 13f79535-47bb-0310-9956-ffa450edef68
* Win32 builds populate include from modules/foo/*.h and os/win32/os.h.William A. Rowe Jr2002-11-241-0/+8
| | | | | | | | Eliminate the noise. However, I'm itching to simply move those 'standard' module headers back down to httpd-2.0/includes/ ... any objections? git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97627 13f79535-47bb-0310-9956-ffa450edef68
* Branch tag APACHE_2_0_BRANCH now contains Apache 2.0 development.William A. Rowe Jr2002-11-221-2/+2
| | | | | | | | | | | | Persist cvs HEAD as Apache 2.1. After discussion at AC, a number of individuals including Sander, Will, Justin and Rich will begin reverting the appropriate changes from the APACHE_2_0_BRANCH, while continuing their documentation and development of the Authorization reorganization on this branch. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97592 13f79535-47bb-0310-9956-ffa450edef68
* use a subpool of c->pool for resources which are set aside, then clear itGreg Ames2002-11-081-4/+3
| | | | | | | | after writing the data to the network. This closes files sooner with keepalive connections. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97462 13f79535-47bb-0310-9956-ffa450edef68
* mod_logio modification: count bytes-sent after the writev or sendfileBrian Pane2002-10-251-0/+11
| | | | | | | | | | | | | | | | | call in the core_output_filter, in order to get a more accurate count of the total bytes transmitted in cases where the client terminates the connection before the entire response is sent. Note: This works by adding a flush bucket to each response when mod_logio is used; the side-effect is that pipelined responses get broken up into separate network writes per request (but there's no impact on pipelining when mod_logio is not enabled). Submitted by: Bojan Smojver <bojan@rexursive.com> Reviewed by: Brian Pane git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97300 13f79535-47bb-0310-9956-ffa450edef68
* Introduce an EnableSendfile directive (defaulted to ON) to allow usersWilliam A. Rowe Jr2002-10-141-1/+6
| | | | | | | | | | to disable sendfile mechanics for NFS volume mounts and other kernel objects that don't support sendfile. And EnableSendfile off can be used to help narrow bugs down to the sendfile mechanics or eliminate the possiblity that sendfile is a factor on any given platform. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97205 13f79535-47bb-0310-9956-ffa450edef68
* Fix a compile of compiler warnings. I don't know how these slipped past.Ryan Bloom2002-10-111-1/+2
| | | | | | | | | Also, uncomment a line of code that the last commit should have uncommented. Randall found this line and the fix, but I forgot to uncomment this line along with the fix. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97179 13f79535-47bb-0310-9956-ffa450edef68
* fix a problem generating the docs via scandocJeff Trawick2002-10-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97162 13f79535-47bb-0310-9956-ffa450edef68
* Change the LDAP modules to export their symbols correctlyGraham Leggett2002-10-091-7/+29
| | | | | | | | | | | during a Windows build. Add dsp files for Windows. PR: Obtained from: Submitted by: Andre Schild <A.Schild@aarboard.ch> Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97156 13f79535-47bb-0310-9956-ffa450edef68
* Add -S as a synonym for -t -DDUMP_VHOSTSAaron Bannert2002-10-071-1/+1
| | | | | | | | Submitted by: Thom May <thom@planetarytramp.net> Reviewed by: Aaron Bannert git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97120 13f79535-47bb-0310-9956-ffa450edef68
* On to .44William A. Rowe Jr2002-10-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97074 13f79535-47bb-0310-9956-ffa450edef68
* On to the 2.0.43 candidateWilliam A. Rowe Jr2002-10-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97071 13f79535-47bb-0310-9956-ffa450edef68
* Add logic to the default_handler to enable script delivery to scriptGreg Stein2002-10-031-0/+10
| | | | | | | | | processors located in the output filter stack. This is on by default, but will change "soon" to off -- the processors will then need to enable it when they are installed into the filter chain. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97065 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo in doxygen commentJustin Erenkrantz2002-09-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96921 13f79535-47bb-0310-9956-ffa450edef68
* Add ap_register_provider and ap_lookup_provider functions which resolveJustin Erenkrantz2002-09-201-0/+88
| | | | | | | | | | | | | | | | | the DSO link problems for DAV and the new aaa modules by moving the provider code into the core of the server and generalizing them to be used by any code. Remove the auth{nz}_*_provider functions as they are no longer needed. Change the dav_*_provider functions to wrap the ap_*_provider functions as they have a bit more of a historical precedent that we should keep around. Reviewed by: John K. Sterling <john@sterls.com> (in concept) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96919 13f79535-47bb-0310-9956-ffa450edef68
* Update after the tag (and roll).Sander Striker2002-09-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96909 13f79535-47bb-0310-9956-ffa450edef68
* Prepare for the tag.Sander Striker2002-09-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96907 13f79535-47bb-0310-9956-ffa450edef68
* Update after the tag.Sander Striker2002-09-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96855 13f79535-47bb-0310-9956-ffa450edef68
* Prepare for the tag.Sander Striker2002-09-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96850 13f79535-47bb-0310-9956-ffa450edef68
* Modify ap_open_logs (an internal function) to follow the hook open_logsWilliam A. Rowe Jr2002-09-161-2/+7
| | | | | | | | | argument schema so it can be directly invoked by the hook handler. Also clean up the open_logs processing to return an error rather than simply exit()ing. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96829 13f79535-47bb-0310-9956-ffa450edef68
* This bit me over the weekend. A module with old constants doesn't workGreg Stein2002-09-041-1/+2
| | | | | | | | | | well with a system looking for new... Note: we really should peg Apache against a specific APR release so that our ABI doesn't keep getting whacked due to APR(UTIL) changes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96628 13f79535-47bb-0310-9956-ffa450edef68
* Clarify the use and sequencing of these three hooks.Greg Stein2002-08-241-6/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96508 13f79535-47bb-0310-9956-ffa450edef68
* Major/Minor/Min[imal]Ian Holsman2002-08-231-3/+5
| | | | | | | now working as one (with a sane mind) would thing it should git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96501 13f79535-47bb-0310-9956-ffa450edef68
* new option to ServerTokens. "Maj[or]" which displays a server responseIan Holsman2002-08-231-1/+3
| | | | | | | | | similar to Apache/2.0 Also surfaced the directive in the standard config, defaulting to FULL git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96500 13f79535-47bb-0310-9956-ffa450edef68
* Bump after the tag.Sander Striker2002-08-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96333 13f79535-47bb-0310-9956-ffa450edef68
* Getting ready for the tag.Sander Striker2002-08-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96325 13f79535-47bb-0310-9956-ffa450edef68
* fix a compile problem in util_ldap.c when APU_HAS_LDAP_NETSCAPE_SSLJeff Trawick2002-07-311-1/+1
| | | | | | | PR: 10324 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96260 13f79535-47bb-0310-9956-ffa450edef68
* if APR doesn't support threads, we don't need (and can't have) theseJeff Trawick2002-07-301-0/+4
| | | | | | | thread mutexes git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96243 13f79535-47bb-0310-9956-ffa450edef68
* untabifyJeff Trawick2002-07-301-21/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96242 13f79535-47bb-0310-9956-ffa450edef68
* Fix the PATH exposure security problem I thought I fixed in 2.0.36.Bill Stoddard2002-07-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96240 13f79535-47bb-0310-9956-ffa450edef68
* Cut-n-paste errorWilliam A. Rowe Jr2002-07-211-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96135 13f79535-47bb-0310-9956-ffa450edef68
* Try this AGAIN. Move ap_regkey.h to include/ and assure that this time,William A. Rowe Jr2002-07-111-0/+264
| | | | | | | | it contains defined(WIN32)||defined(DOXYGEN) requirements to prevent the other platform exports from barfing. Please ack if this works for you. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96019 13f79535-47bb-0310-9956-ffa450edef68
* Fix commentsWilliam A. Rowe Jr2002-07-111-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96018 13f79535-47bb-0310-9956-ffa450edef68
* Strength-reduce a 64-bit "mod 16" operation to "& 0xf" in cached_explode()Brian Pane2002-07-111-0/+1
| | | | | | | just in case the compiler doesn't do it for us git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96012 13f79535-47bb-0310-9956-ffa450edef68
* Fix code commentsWilliam A. Rowe Jr2002-07-111-3/+3
| | | | | | | Submitted by: Stas Bekman <stas@stason.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96007 13f79535-47bb-0310-9956-ffa450edef68
* tweak a comment for readabilityJeff Trawick2002-07-081-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95972 13f79535-47bb-0310-9956-ffa450edef68
* fix ap_mpm_set_max_mem_free declaration to match mpm_common.cBrian Pane2002-07-051-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95958 13f79535-47bb-0310-9956-ffa450edef68
* Add missing declarations of the new max_mem_free stuffBrian Pane2002-07-041-0/+5
| | | | | | | so prefork will compile git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95957 13f79535-47bb-0310-9956-ffa450edef68
* Re-use the same temp brigade to read all lines of a request header,Brian Pane2002-07-041-5/+17
| | | | | | | | | to avoid the overhead of brigade creation and deletion. (This produced a 5% reduction in the total CPU usage of a minimalist httpd configuration: <JHEPKCEMGPKFFDHHDDKDMELFEKAA.bill@wstoddard.com>) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95956 13f79535-47bb-0310-9956-ffa450edef68
* Bring in os.h after we let apr do its platform foo.William A. Rowe Jr2002-07-011-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95928 13f79535-47bb-0310-9956-ffa450edef68
* Add a filter_init function to the filters so that a filter can executeJustin Erenkrantz2002-06-282-4/+17
| | | | | | | | | | | | | | | | | | | | arbitrary code before the handlers are invoked. This resolves an issue with incorrect 304s on If-Modified-Since mod_include requests since ap_meets_conditions() is not aware that this is a dynamic request and it is not possible to satisfy 304 for these requests (unless xbithack full is on, of course). When mod_include runs as a filter, it is too late to set any flag since the handler is responsible for calling ap_meets_conditions(), which it should do before generating any data. If a module doesn't need to run such arbitrary code, it can just pass NULL as the argument and all is well. PR: 9673 Reviewed by: Ryan Bloom and others git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95906 13f79535-47bb-0310-9956-ffa450edef68
* Fix doxygen comments and add a missing line-feed.Justin Erenkrantz2002-06-271-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95898 13f79535-47bb-0310-9956-ffa450edef68
* Change conn_rec->keepalive to an enumerated value ofJustin Erenkrantz2002-06-262-4/+10
| | | | | | | | | | | | | | | | | | | AP_CONN_UNKNOWN AP_CONN_CLOSE AP_CONN_KEEPALIVE This also fixes a problem where ap_discard_request_body would not discard the body when keepalive was 0. This actually meant the keepalive status was unknown *not* closed, but no one ever remembered that. This problem was seen with mod_dav sending error responses (as reported by Karl Fogel). Suggested by: Greg "this isn't the '80s" Stein Reviewed by: Greg Ames git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95891 13f79535-47bb-0310-9956-ffa450edef68
* Add in the other complex ap_regkey_value_foo() fns and move ap_regkey.hWilliam A. Rowe Jr2002-06-241-160/+0
| | | | | | | Out Of The Way of exports stumbling onto it!!! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95879 13f79535-47bb-0310-9956-ffa450edef68
* Introduce win32 registry handling through a very apr-ish interface.William A. Rowe Jr2002-06-241-0/+160
| | | | | | | | | Deals with apr utf-8 encoding of filesystem values, so we preserve strings in any locality or nationalized flavor of WinNT, and avoid the gunk for Win9x. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95875 13f79535-47bb-0310-9956-ffa450edef68
* Removed "tolower(++s)" idiom from ap_strcasestr(), to avoid side-effectsBrian Pane2002-06-231-0/+1
| | | | | | | | on any platform with a macro-based tolower() that references its argument multiple times. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95867 13f79535-47bb-0310-9956-ffa450edef68
* With dav corrected, this last _compat.h bogosity leaves the core distro.William A. Rowe Jr2002-06-231-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95863 13f79535-47bb-0310-9956-ffa450edef68
* Revert to the 1.39 comments about NULL for ap_sub_req_lookup() next_filterWilliam A. Rowe Jr2002-06-221-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95848 13f79535-47bb-0310-9956-ffa450edef68
* Note the changed meaning of the NULL next_filter argument to theWilliam A. Rowe Jr2002-06-221-3/+3
| | | | | | | | ap_sub_req_lookup() family, and fix a few oddball cases (those are, PATH_TRANSLATED reference issues.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95844 13f79535-47bb-0310-9956-ffa450edef68
* bump after the tagCliff Woolley2002-06-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95726 13f79535-47bb-0310-9956-ffa450edef68