summaryrefslogtreecommitdiffstats
path: root/modules (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make Win32 build againWilliam A. Rowe Jr2000-11-292-6/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87129 13f79535-47bb-0310-9956-ffa450edef68
* Fix a segfault in mod_info. mod_info_module_cmds() had a misstep whenJeff Trawick2000-11-291-1/+6
| | | | | | | reaching the end of the configuration. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87128 13f79535-47bb-0310-9956-ffa450edef68
* Clean up some compiler warnings (there remain some float=double andWilliam A. Rowe Jr2000-11-291-2/+3
| | | | | | | long=double warnings that didn't offer a simple answer at this moment.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87116 13f79535-47bb-0310-9956-ffa450edef68
* The only win32 project file that used (but didn't really use) ↵William A. Rowe Jr2000-11-291-10/+2
| | | | | | os/win32/passwd.c git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87114 13f79535-47bb-0310-9956-ffa450edef68
* First step towards extracting the SSI handling from mod_include so thatRyan Bloom2000-11-291-101/+38
| | | | | | | | | it is extensible by modules Submitted by: Paul J. Reder <rederpj@raleigh.ibm.com> Reviewed by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87113 13f79535-47bb-0310-9956-ffa450edef68
* Fix some const warnings.Ryan Bloom2000-11-281-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87112 13f79535-47bb-0310-9956-ffa450edef68
* Fix some lvalue casts so that we can compile with xlc on AIX.Jeff Trawick2000-11-282-6/+13
| | | | | | | | Submitted by: "Victor J. Orlikowski" <v.j.orlikowski@gte.net> Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87104 13f79535-47bb-0310-9956-ffa450edef68
* Get mod_example building cleanly.Ryan Bloom2000-11-281-23/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87103 13f79535-47bb-0310-9956-ffa450edef68
* Get mod_echo to stop using BUFF.Ryan Bloom2000-11-281-3/+4
| | | | | | | Submitted by: David Reid git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87102 13f79535-47bb-0310-9956-ffa450edef68
* Change some apr_ssize_t uses to apr_size_t.Jeff Trawick2000-11-282-16/+18
| | | | | | | | Submitted by: Victor J. Orlikowski Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87099 13f79535-47bb-0310-9956-ffa450edef68
* fix an apr_size_t/apr_ssize_t discrepancyJeff Trawick2000-11-281-1/+1
| | | | | | | Submitted by: Victor J. Orlikowski git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87097 13f79535-47bb-0310-9956-ffa450edef68
* *) sprinkle a little magic "const" dust around (specifically, to compensateGreg Stein2000-11-271-16/+24
| | | | | | | | for the prototype change to ap_os_create_privileged_process()) *) wrap some long lines git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87095 13f79535-47bb-0310-9956-ffa450edef68
* fix a bunch of apr_ssize_t/apr_size_t discrepanciesJeff Trawick2000-11-272-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87094 13f79535-47bb-0310-9956-ffa450edef68
* Use #if APR_HAVE_xyz_H, not #ifdef APR_HAVE_xyz_HJeff Trawick2000-11-271-1/+1
| | | | | | | Submitted by: Brian Havard git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87090 13f79535-47bb-0310-9956-ffa450edef68
* use the APR feature test macro to check for sys/uio.h; it is theJeff Trawick2000-11-271-1/+1
| | | | | | | | | only one defined and it is used in other Apache code; this gets mod_rewrite to compile on RedHat 6.0 (and perhaps some other systems) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87088 13f79535-47bb-0310-9956-ffa450edef68
* *) make find_liveprop() hook take a dav_resource rather than "r"Greg Stein2000-11-276-12/+25
| | | | | | | | | | *) repos.c: liveprop hooks shouldn't respond if the resource is not an FS resource. *) std_liveprop.c: use empty-elem form if value=="". return NOTDEF for the properties that we aren't ready to insert yet git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87087 13f79535-47bb-0310-9956-ffa450edef68
* liveprops are handled via hooks, not the dav_provider structure. clear itGreg Stein2000-11-272-12/+13
| | | | | | | out of there. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87086 13f79535-47bb-0310-9956-ffa450edef68
* toss dbm. use the new apu_dbm interfaces.Greg Stein2000-11-271-63/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87085 13f79535-47bb-0310-9956-ffa450edef68
* *) Compensate for recent changes in the APR headers. Specifically, someGreg Stein2000-11-2611-22/+78
| | | | | | | | | | | | files need to specifically include stdio.h, or a particular apr_*.h header. *) Adjust callers of apr_create_process() to deal with the extra "const" *) Add "const" to args of ap_os_create_privileged_process() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87080 13f79535-47bb-0310-9956-ffa450edef68
* fix spelling: "writable" is the proper formGreg Stein2000-11-264-15/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87079 13f79535-47bb-0310-9956-ffa450edef68
* add the "next filter" parameter to the rest of the ap_sub_req_* calls.Greg Stein2000-11-237-11/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87076 13f79535-47bb-0310-9956-ffa450edef68
* shift some processing of "core" WebDAV properties out of the genericGreg Stein2000-11-236-139/+313
| | | | | | | | | | | | | | | | | | property handling code, and into a new, core liveprop handler. *) add std_liveprop.c to deal with the core DAV properties *) move DAV:resourcetype, DAV:supported-method-set, DAV:supported-live-property-set, and DAV:supported-report-set over to the new handler *) props.c::dav_get_allprops() should not look in the deadprop database for the DAV:resourcetype -- it is readonly, so should never be in there. *) strip vsn_hooks from the propdb; only the core liveprops need it now *) mod_dav.c: register the core liveprop hooks and URIs *) fs/repos.c: stripped DAV:displayname and DAV:source, in favor of letting the core handler deal with them. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87075 13f79535-47bb-0310-9956-ffa450edef68
* dav_resource should carry around a pool for allocations related to itGreg Stein2000-11-232-1/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87074 13f79535-47bb-0310-9956-ffa450edef68
* More revamping of live properties. Focused around the fact that a provider'sGreg Stein2000-11-234-188/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hooks are only called if that provider defines the prop (e.g. NOTME return values are no longer needed). Also refactored some code to simplify liveprop management for providers (assuming they don't have "funny" stuff). *) enumerate all known DAV properties (DAV_PROPID_* in mod_dav.h) - use these in fs/repos.c rather than DAV_PROPID_FS_* - will use in SVN and a second-round whack on the "core" props in props.c *) refactor dav_fs_liveprop_name to dav_liveprop_spec and add a writeable flag *) add dav_liveprop_group to hold a number of "top-level" items to pass to the new liveprop utility functions *) add dav_do_find_liveprop() as a util for the find_liveprop hook function - toss repos.c::dav_fs_find_prop - use the new function for repos.c::dav_fs_find_liveprop *) rebuild dav_register_liveprop_namespace() as a full "group" registration which will handle all the namespaces in a liveprop provider. The new func is called dav_register_liveprop_group(). *) add dav_get_liveprop_info() to look up liveprop info given a provider's propid. used in dav_fs_insert_prop() and dav_fs_is_writeable() *) fold dav_fs_insert_all() directly into dav_fs_insert_all_liveprops() since the former wasn't called by anything else *) rename var in dav_fs_insert_prop() to "global_ns" to clarify its purpose. torch a couple out-of-date comments in there. *) toss dav_prop_rw type and simplify is_writeable hook. fix up calling of hook in props.c::dav_rw_liveprop(). dav_rw_liveprop() should also call the provider *first*, if one has stated it is handling the property. *) toss DAV_PROP_INSERT_NOTME since we can't call a provider's insert_prop with somebody else's liveprop *) remove DAV_IS_CORE_PROP() in props.c. a core prop is not defined by its propid, but by provider==NULL. add comments to clarify when that happens. *) fix sub-request creation to include new next-filter arg git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87073 13f79535-47bb-0310-9956-ffa450edef68
* *) fix subtle crasher in COPY methodGreg Stein2000-11-232-3/+3
| | | | | | | *) update sub-request-creation calls to include new "next filter" arg git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87072 13f79535-47bb-0310-9956-ffa450edef68
* A complete re-write of mod_include. This has served the entire manualRyan Bloom2000-11-222-908/+1685
| | | | | | | | | now. This makes mod_include a filter that uses buckets directly. Submitted by: Paul J. Reder <rederpj@raleigh.ibm.com> Reviewed by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87067 13f79535-47bb-0310-9956-ffa450edef68
* Allow modules to specify the first module for a sub-request. This allowsRyan Bloom2000-11-225-14/+27
| | | | | | | | | | | modules to not have to muck with the output_filter after it creates the sub-request. Without this change, modules that create a sub-request have to manually edit the output_filters, and therefore skip the sub-request output_filter. If they skip the sub-request output_filter, then we end up sending multiple EOS buckets to the core_output_filter. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87065 13f79535-47bb-0310-9956-ffa450edef68
* minor cleaning: provider ids are no longer usedGreg Stein2000-11-221-10/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87063 13f79535-47bb-0310-9956-ffa450edef68
* Next pass at the content-length filter. Not perfect quite yet, butRyan Bloom2000-11-221-4/+9
| | | | | | | | getting closer Submitted by: Greg Stein git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87058 13f79535-47bb-0310-9956-ffa450edef68
* Modify the content-length filter to change the criteria used to determineRyan Bloom2000-11-212-40/+37
| | | | | | | | | | | | | | | | | | | if/when we compute the content-length. There are just a few cases now: 1) We already have all the data 2) We don't have all the data and: 2a) This is a 1.1 request but we can't chunk 2b) The is a keep-alive request In the future, we probably want to modify this to not be a keep-alive request. This filter always buffers 9K of data. The reason is simple, the core will buffer 9K at a time anyway, and there is a chance that we may get the end of the request before we hit 9K. This increases our chances of being able to send a c-l. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87055 13f79535-47bb-0310-9956-ffa450edef68
* updates to changed interfaces to apr_set_port(), apr_get_port(),Jeff Trawick2000-11-212-4/+9
| | | | | | | apr_set_ipaddr(), and apr_get_ipaddr() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87050 13f79535-47bb-0310-9956-ffa450edef68
* ignore generated files .libs and *.laJeff Trawick2000-11-211-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87044 13f79535-47bb-0310-9956-ffa450edef68
* Add partial write support for apr_sendfile to core_output_filter.Greg Ames2000-11-201-8/+88
| | | | | | | Big .jpg's ( >70K or so) were being truncated on Linux. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87041 13f79535-47bb-0310-9956-ffa450edef68
* Get SetFilter working with MIME-types again and update the docsRyan Bloom2000-11-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87035 13f79535-47bb-0310-9956-ffa450edef68
* Restore Ryan's original intent in ap_proxy_doconnect() return value checkChuck Murcko2000-11-201-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87034 13f79535-47bb-0310-9956-ffa450edef68
* Update the SetFilter directive to work with Handlers instead of MIME-types.Ryan Bloom2000-11-191-1/+1
| | | | | | | | | This also updates the docs to reflect the change. Submitted by: Joshua Slive Reviewed by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87028 13f79535-47bb-0310-9956-ffa450edef68
* Disable two features, with warnings, if a relatively Win32 SDK headersWilliam A. Rowe Jr2000-11-191-0/+13
| | | | | | | | | | are not available (e.g. stock distribution of MSVC 5.0). Submitted by: Jeff Trawick Reviewed by: Will Rowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87027 13f79535-47bb-0310-9956-ffa450edef68
* Add a directive to mod_mime which allows people to configure a filterRyan Bloom2000-11-191-3/+36
| | | | | | | stack for a given mime-type. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87026 13f79535-47bb-0310-9956-ffa450edef68
* Call apr_create_socket() instead of apr_create_tcp_socket() (deprecated).Jeff Trawick2000-11-192-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87025 13f79535-47bb-0310-9956-ffa450edef68
* Change apr_bind() to take apr_sockaddr_t.Jeff Trawick2000-11-191-6/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87024 13f79535-47bb-0310-9956-ffa450edef68
* clean out some liveprop hooks which are now handled by AP_HOOK functionsGreg Stein2000-11-192-41/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87018 13f79535-47bb-0310-9956-ffa450edef68
* Begin to remove some of the cache-ing logic from the http proxy.Ryan Bloom2000-11-184-77/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87013 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup more compiler warnings.William A. Rowe Jr2000-11-181-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87010 13f79535-47bb-0310-9956-ffa450edef68
* remove unused variableJeff Trawick2000-11-181-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87007 13f79535-47bb-0310-9956-ffa450edef68
* Clean up some timeout arg warningsWilliam A. Rowe Jr2000-11-181-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87006 13f79535-47bb-0310-9956-ffa450edef68
* Some signedness issues - consistify the size_t referencesWilliam A. Rowe Jr2000-11-182-13/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87005 13f79535-47bb-0310-9956-ffa450edef68
* Get Multi-Views working again. It wasn't working because we weren'tRyan Bloom2000-11-181-1/+0
| | | | | | | | setting the path_info field correctly if we didn't find the specified file. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87004 13f79535-47bb-0310-9956-ffa450edef68
* Fix 204 handling. This moves some logic that used to be inRyan Bloom2000-11-181-47/+36
| | | | | | | | | | | ap_send_error_response to the http_header filter. The reason for the move, is that the header filter takes care of all header processing now. Without this change, we were sending garbage data to the client whenever we sent 304 responses. Submitted by: Brian Havard and Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87003 13f79535-47bb-0310-9956-ffa450edef68
* More proxy fixes. There are still some bugs in this code, but this hasRyan Bloom2000-11-182-9/+18
| | | | | | | | successfully proxied www.yahoo.com and www.ntrnet.net among other test sites that I chose at random. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87001 13f79535-47bb-0310-9956-ffa450edef68
* add some docco from John VastaGreg Stein2000-11-181-6/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87000 13f79535-47bb-0310-9956-ffa450edef68