summaryrefslogtreecommitdiffstats
path: root/modules (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean up the mod_tls configure process. This should remove most, if notRyan Bloom2001-02-113-15/+33
| | | | | | | | | | | | all, of the hand-editing required to make mod_tls compile. I have also updated the README to reflect the current process. I have also noted that we require OpenSSL 0.9.6 to compile. I am getting all sorts of warnings from the OpenSSL header files, and I get a single error from the OpenSSL libraries, but I am assuming that is a problem with my configuration, not the mod_tls code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88093 13f79535-47bb-0310-9956-ffa450edef68
* First cut of TLS support.Ben Laurie2001-02-118-0/+653
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88090 13f79535-47bb-0310-9956-ffa450edef68
* include "apr_signal.h" when neededGreg Stein2001-02-113-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88082 13f79535-47bb-0310-9956-ffa450edef68
* Fix any compile breaks after moving apr_snprintf and apr_vsnprintf toRyan Bloom2001-02-115-0/+5
| | | | | | | apr_strings.h git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88077 13f79535-47bb-0310-9956-ffa450edef68
* Fix a warning when compiling with GPROFRyan Bloom2001-02-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88076 13f79535-47bb-0310-9956-ffa450edef68
* clean up more warnings and link problems after the header fileJeff Trawick2001-02-113-4/+5
| | | | | | | shuffle git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88075 13f79535-47bb-0310-9956-ffa450edef68
* more module build cleanup, removing warnings and someJeff Trawick2001-02-105-0/+19
| | | | | | | link errors (from when apr_ ctype macros weren't available) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88070 13f79535-47bb-0310-9956-ffa450edef68
* Fix more module breakage from header reorgWilliam A. Rowe Jr2001-02-104-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88069 13f79535-47bb-0310-9956-ffa450edef68
* get rid of some warnings and an undefined reference which crept intoJeff Trawick2001-02-103-7/+9
| | | | | | | some modules overnight git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88063 13f79535-47bb-0310-9956-ffa450edef68
* *) continued header revampingGreg Stein2001-02-1018-126/+131
| | | | | | | *) torch some headers (and some libs) from the autoconf stuff git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88061 13f79535-47bb-0310-9956-ffa450edef68
* Clean up some of the includes:Greg Stein2001-02-1016-94/+104
| | | | | | | | | | - explicitly include apr_lib.h since ap_config.h doesn't - use apr_want.h where possible - use APR_HAVE_ where possible - remove some unneeded includes git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88060 13f79535-47bb-0310-9956-ffa450edef68
* http_conf_globals.h is goneGreg Stein2001-02-101-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88059 13f79535-47bb-0310-9956-ffa450edef68
* more APR-izationGreg Stein2001-02-101-12/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88058 13f79535-47bb-0310-9956-ffa450edef68
* Remove the SetFilter directive from the code. This directive wasn'tRyan Bloom2001-02-101-34/+0
| | | | | | | | nearly as useful as the SetOutputFilter and SetInputFilter, and it never really worked properly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88053 13f79535-47bb-0310-9956-ffa450edef68
* Add new LogFormat directive, %D, to log time it takes to serve a requestBill Stoddard2001-02-101-0/+9
| | | | | | | in microseconds. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88046 13f79535-47bb-0310-9956-ffa450edef68
* *) remove obsolete http_conf_globals.hGreg Stein2001-02-103-3/+1
| | | | | | | | *) simplify all this #ifdef'ing: just nuke the unixd.h header. it isn't actually needed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88045 13f79535-47bb-0310-9956-ffa450edef68
* Change AddInputFilter and AddOutputFilter to SetInputFilter andRyan Bloom2001-02-103-7/+7
| | | | | | | | | SetOutputFilter. This corresponds nicely with the other Set directives, which operate on containers while the Add* directives tend to work directly on extensions. [Ryan Bloom] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88042 13f79535-47bb-0310-9956-ffa450edef68
* use apr_size_t for file lengths; this avoids a warning (and perhapsJeff Trawick2001-02-091-17/+17
| | | | | | | | a run-time SNAFU depending on the byte ordering) on systems where apr_size_t is long git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88039 13f79535-47bb-0310-9956-ffa450edef68
* *) minor changes, simplificationsGreg Stein2001-02-091-28/+22
| | | | | | | | *) fix terminate_header: don't assume anything about the brigade (especially that its last bucket is a shared/heap bucket) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88032 13f79535-47bb-0310-9956-ffa450edef68
* Make the header filter use the brigade buffering functions for creatingRyan Bloom2001-02-091-73/+24
| | | | | | | | | the header string. This allows us to clean up the header handling a bit, because we don't need to compute the correct length before we can create the headers. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88029 13f79535-47bb-0310-9956-ffa450edef68
* include strings.h for strcasecmp()Jeff Trawick2001-02-081-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88025 13f79535-47bb-0310-9956-ffa450edef68
* apr_make_array->apr_array_makeJeff Trawick2001-02-081-1/+1
| | | | | | | (if only it were apr_rename.py instead of apr_rename.pl) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88024 13f79535-47bb-0310-9956-ffa450edef68
* Make a mod_auth_digest build fail in a less mysterious way on systemsJeff Trawick2001-02-081-1/+4
| | | | | | | without APR random number support (e.g., a stock Tru64 system). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88023 13f79535-47bb-0310-9956-ffa450edef68
* get _SC_CLK_TCK defined on Tru64 (and probably some other systemsJeff Trawick2001-02-081-0/+3
| | | | | | | | as well); it works without it on systems which define HZ or don't have times git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88022 13f79535-47bb-0310-9956-ffa450edef68
* *) make sure the status line is set on custom responsesGreg Stein2001-02-081-1/+5
| | | | | | | *) allow CHECKOUT on version resources git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88021 13f79535-47bb-0310-9956-ffa450edef68
* renaming various functions for consistency sakeDoug MacEachern2001-02-0857-783/+783
| | | | | | | | | | | see: http://apr.apache.org/~dougm/apr_rename.pl PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88019 13f79535-47bb-0310-9956-ffa450edef68
* Fix a bug with AliasMatch. When forward fitting a bug from 1.3 to 2.0, weRyan Bloom2001-02-071-0/+1
| | | | | | | | forgot a single line which broke this option. PR: 6881 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88010 13f79535-47bb-0310-9956-ffa450edef68
* Revamp the CHECKOUT method handling and various support functions for it.Greg Stein2001-02-074-140/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Basically, the original CHECKOUT was based on a really old draft of the DeltaV specification. This brings it up to date. *) get_resource hook now takes an optional label name and/or a flag on whether to use the DAV:checked-in property; if either one is provided, then a version resource is looked up and returned. WARNING: the parameter types are now the same, but have very different semantics. this means you won't get a compile error to figure out that something needs to be changed here. *) mod_dav.c::dav_get_resource no longer cahces the fetched resource in the request userdata. Some requests will call this function multiple times, for different resources -- we don't want to keep returning the same resource (no idea how this ended up working). *) dav_get_resource()'s parameters have been updated. target_allowed is old terminology; it is now label_allowed. The target paramter is obsoleted by the simple use_checked_in flag. *) dav_get_target_selector() is obsolete. XML element processing is done within the CHECKOUT method (i.e. only where it occurs). The other half of the old function was to simply fetch the Label: header. *) DAV_TARGET_SELECTOR_HDR is now DAV_LABEL_HDR *) dav_method_checkout() now processes all the various options for a CHECKOUT method and either modifies the initial resource lookup, or passes the data to the checkout hook function. *) the checkout hook grew a bunch of new parameters *) new utility function: dav_xml_get_cdata() to gather up all the CDATA from an XML element. this is used to extract DAV:href values. (probably move to util_xml.c at some point) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88007 13f79535-47bb-0310-9956-ffa450edef68
* $enable_dav can be one of: yes, shared, no. We want to adjust the INCLUDESGreg Stein2001-02-071-1/+1
| | | | | | | if it is anything but no. (it wasn't getting set properly for "shared") git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88006 13f79535-47bb-0310-9956-ffa450edef68
* additions and deletions for proxy in current codebaseChuck Murcko2001-02-073-4/+588
| | | | | | | | | | PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88005 13f79535-47bb-0310-9956-ffa450edef68
* Changes to get running on the current codebaseChuck Murcko2001-02-074-38/+20
| | | | | | | | | | PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88004 13f79535-47bb-0310-9956-ffa450edef68
* Back out previous change. dav/main/config.m4 adds its directory the theGreg Stein2001-02-071-2/+0
| | | | | | | INCLUDES variable. No need to do it yet again. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88002 13f79535-47bb-0310-9956-ffa450edef68
* We have a poor abstraction in the protocol. This is a temporaryRyan Bloom2001-02-061-5/+15
| | | | | | | | | | | | | | | | hack to fix the bug, but it will need to be fixed for real. If we find an error while sending out a custom error response, we back up to the first non-OK request and send the data. Then, when we send the EOS from finalize_request_protocol, we go to the last request, to ensure that we aren't sending an EOS to a request that has already received one. Because the data is sent on a different request than the EOS, the error text never gets sent down the filter stack. This fixes the problem by finding the last request, and sending the data with that request. PR: 7165 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88000 13f79535-47bb-0310-9956-ffa450edef68
* Make sure that mod_include's post_config hook always runs beforeRyan Bloom2001-02-062-2/+5
| | | | | | | | | | mod_cgi(d)'s post_config hook. Mod_include creates a hash table in the post_config stage that mod_cgi(d) uses during it's post_config stage, so it must be done in this order. Submitted by: Brian Havard <brianh@kheldar.apana.org.au> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87992 13f79535-47bb-0310-9956-ffa450edef68
* move the instantiation of includes_module out of mod_include.hJeff Trawick2001-02-062-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87991 13f79535-47bb-0310-9956-ffa450edef68
* Fix for dav/fs to find the mod_dav.h ionclude fileMartin Kraemer2001-02-061-0/+2
| | | | | | | Submitted by: jfrederic.clere@fujitsu-siemens.com git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87988 13f79535-47bb-0310-9956-ffa450edef68
* update for the latest build systemChuck Murcko2001-02-062-11/+6
| | | | | | | | | | PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87987 13f79535-47bb-0310-9956-ffa450edef68
* If we are in the middle of a brigade loop, we don't want to always checkRyan Bloom2001-02-061-1/+1
| | | | | | | the first bucket in the brigade. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87986 13f79535-47bb-0310-9956-ffa450edef68
* Move the logic for creating CGI processes from mod_include to mod_cgi(d).Ryan Bloom2001-02-054-377/+675
| | | | | | | This removes a good deal of duplicate logic for creating CGI scripts. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87984 13f79535-47bb-0310-9956-ffa450edef68
* Tweak the AP_MIN_SENDFILE_BYTES. Not using sendfile on WindowsBill Stoddard2001-02-051-1/+1
| | | | | | | | | | in the general (non byterange) case is a HUGE performance hit (> 50% in many cases). I also suspect most byterange requests will be for substantially more bytes (a pageful out of a larger document for example). In the uncommon (I believe) cases where fewer bytes are requested, 250 bytes per packet is not too abusive of the network. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87983 13f79535-47bb-0310-9956-ffa450edef68
* ap_new_connection() returns NULL if an error occurred (prefork MPMJeff Trawick2001-02-051-0/+6
| | | | | | | | | | | and ap_new_connection() were changed last week) I have skipped putting the change into WinNT MPM and mod_proxy. I left a note in the mod_proxy code; for the NT MPM I think I can talk somebody into doing the right thing for me. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87982 13f79535-47bb-0310-9956-ffa450edef68
* *) add activity handling: OPTIONS and MKACTIVITYGreg Stein2001-02-052-3/+78
| | | | | | | | *) fix HTTP status code in MKWORKSPACE handling *) add can_be_activity and make_activity hooks to dav_hooks_vsn git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87980 13f79535-47bb-0310-9956-ffa450edef68
* More mod_status work... Get Current Time, Restart Time and Server uptimeBill Stoddard2001-02-041-2/+5
| | | | | | | displaying properly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87972 13f79535-47bb-0310-9956-ffa450edef68
* Begin restructuring scoreboard code to enable adding back inBill Stoddard2001-02-023-11/+11
| | | | | | | | | | | | the ability to use IPC other than shared memory. Get mod_status working on Windows again. Still to do: Rename some of the function APIs. Replace all calls to reinit_scoreboard with ap_create_scoreboard. Add back in support for scoreboard files. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87959 13f79535-47bb-0310-9956-ffa450edef68
* Should consider APRizing the entire module. For now, use HAVE_TIMESBill Stoddard2001-02-021-13/+14
| | | | | | | | to indicate if we have the necessary structures. This is part of getting mod_status working on Windows git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87958 13f79535-47bb-0310-9956-ffa450edef68
* avoid warning in non-AP_DEBUG buildJeff Trawick2001-02-021-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87957 13f79535-47bb-0310-9956-ffa450edef68
* keep mod_cgid from segfaulting on SIGHUP; it assumedJeff Trawick2001-02-011-3/+3
| | | | | | | access to a pid, but that wasn't passed to apr_register_other_child git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87950 13f79535-47bb-0310-9956-ffa450edef68
* Bring mod_status for 2.0 back in line with mod_status for 1.3. This isRyan Bloom2001-02-012-39/+683
| | | | | | | | | | | | | | | | basically a straight port of the 1.3 module to 2.0. The MPMs need to be modified a bit to work with mod_status, but prefork, mpmt_pthread, and dexter have already been changed. I will fix perchild tonight. There is a lot of common code that can be abstracted, and there seems to be a small bug with regard to what mpmt_pthread and dexter report as current connections. ExtendedStatus does work again, although until the bug mentioned above is fixed, it isn't as useful on mpmt_pthread and dexter. Next week, I will look at allowing other modules to add data to the STATUS page and possibly to the scoreboard itself. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87949 13f79535-47bb-0310-9956-ffa450edef68
* MF 1.3 the fis for the mod_rewrite stupidity.Tony Finch2001-02-011-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87939 13f79535-47bb-0310-9956-ffa450edef68
* Fix the remaining APR_FINFO_NORM occurances. Again, followup is neededWilliam A. Rowe Jr2001-02-014-13/+13
| | | | | | | to actually test any field outside the scope of APR_FINFO_MIN. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87935 13f79535-47bb-0310-9956-ffa450edef68