summaryrefslogtreecommitdiffstats
path: root/modules (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of some warningsMartin Kraemer2005-08-121-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@232311 13f79535-47bb-0310-9956-ffa450edef68
* simple, functional interface to add additional balancer lb selection methodsJim Jagielski2005-08-124-57/+129
| | | | | | | | | | without requiring code changes to mod_proxy/mod_proxy_balancer; these can be implemented via sub-modules now. Let the games begin... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@232282 13f79535-47bb-0310-9956-ffa450edef68
* * modules/cache/cache_storage.c (cache_remove_url): Remove unusedJoe Orton2005-08-121-3/+0
| | | | | | | variables. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@232272 13f79535-47bb-0310-9956-ffa450edef68
* Fix mess left by incompleteness of previous ProxyPassReverse fixNick Kew2005-08-125-15/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@232247 13f79535-47bb-0310-9956-ffa450edef68
* Fix build error from cut&pasteNick Kew2005-08-111-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231501 13f79535-47bb-0310-9956-ffa450edef68
* Fix incorrectly served 304 responses when expired cache entityJustin Erenkrantz2005-08-111-4/+37
| | | | | | | | | | is valid, but cache is unwritable and headers cannot be updated. Submitted by: Colm MacCarthaigh <colm stdlib.net> Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231488 13f79535-47bb-0310-9956-ffa450edef68
* mod_cache: Implement remove URL via a filter.Justin Erenkrantz2005-08-114-19/+101
| | | | | | | | | | | | Remove entities from the cache when re-validation receives a 404 or other content-no-longer-present error. Suggested by: Paul Querna, Justin Erenkrantz Submitted by: Rudiger Plum <ruediger.pluem vodafone.com> Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231487 13f79535-47bb-0310-9956-ffa450edef68
* Implement mod_disk_cache's remove_url.Justin Erenkrantz2005-08-111-2/+44
| | | | | | | | | | | (Minor tweaks and comment fixes by Justin.) Suggested by: Paul Querna, Justin Erenkrantz Submitted by: Rudiger Plum <ruediger.pluem vodafone.com> Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231486 13f79535-47bb-0310-9956-ffa450edef68
* Add const-ness to apr_dbd_driver_tNick Kew2005-08-112-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231464 13f79535-47bb-0310-9956-ffa450edef68
* Fix ProxyPassReverse & family to work correctly in <Location>Nick Kew2005-08-113-34/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231355 13f79535-47bb-0310-9956-ffa450edef68
* mod_disk_cache: Retry file rename up to three times to ameliorate raceJustin Erenkrantz2005-08-111-3/+30
| | | | | | | | | | | | | condition with htcacheclean removing the directories underneath us. (Includes tweaks by Justin.) Suggested by: Graham Leggett Submitted by: Andreas Steinmetz <ast@domdv.de> Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231349 13f79535-47bb-0310-9956-ffa450edef68
* Update mod_dbd to API that hides apr_dbd_driver_t struct.Nick Kew2005-08-101-5/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231275 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug where non-200 CGI responses will not send anything down filter chain.Justin Erenkrantz2005-08-101-1/+12
| | | | | | | | | | | | This is most notable when mod_cache is used. This has been used in production on wiki.apache.org for a while now. * modules/generators/mod_cgi.c (cgi_handler): When a non-zero value is returned by scan_script, set the status field and ensure that we have an EOS to send down the filer stack. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231167 13f79535-47bb-0310-9956-ffa450edef68
* * modules/proxy/mod_proxy_http.c (stream_reqbody_cl): Fix gcc warning.Joe Orton2005-08-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231114 13f79535-47bb-0310-9956-ffa450edef68
* Hopefully, address the last edge case where status may William A. Rowe Jr2005-08-091-1/+2
| | | | | | | | | be uninitialized. Asserts in non-debug builds are bad things, anyways, so this is probably more correct. This should fix -Werror compile warning observed by Joe Orton. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231046 13f79535-47bb-0310-9956-ffa450edef68
* Remove the base href tag from mod_proxy_ftp, as it breaks relativeGraham Leggett2005-08-091-2/+1
| | | | | | | links for clients not using an Authorization header. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231044 13f79535-47bb-0310-9956-ffa450edef68
* * modules/http/byterange_filter.c (ap_byterange_filter): Update someJoe Orton2005-08-091-9/+7
| | | | | | | comments. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231030 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ldap/util_ldap.c (util_ldap_parse_cert_type): Fix gcc 4Joe Orton2005-08-091-2/+2
| | | | | | | warning "type qualifiers ignored on function return type". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231014 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that req->dn is valid for the util_ldap_cache_compare() call.Jim Jagielski2005-08-081-0/+14
| | | | | | | Esp make sure not null. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@230895 13f79535-47bb-0310-9956-ffa450edef68
* Two blank lines for clarity; whitespace only change.William A. Rowe Jr2005-08-081-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@230745 13f79535-47bb-0310-9956-ffa450edef68
* We already accept 80 bytes less than the client body's anticipated William A. Rowe Jr2005-08-081-1/+1
| | | | | | | | | size, so we don't need to also prefetch an extra 1024 bytes; this was redundant. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@230739 13f79535-47bb-0310-9956-ffa450edef68
* Drop an impossible case; the while() loop already protected usWilliam A. Rowe Jr2005-08-081-7/+0
| | | | | | | from this situation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@230735 13f79535-47bb-0310-9956-ffa450edef68
* Fix a double-termination case in svn trunk/; we terminated theWilliam A. Rowe Jr2005-08-081-1/+0
| | | | | | | | | headers up-front knowing the resulting headers were already correctly composed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@230733 13f79535-47bb-0310-9956-ffa450edef68
* An impossible-to-hit edge case today; we described the requestWilliam A. Rowe Jr2005-08-081-13/+14
| | | | | | | | | | | | as chunked - and if chunked always send the body termination "0" chunk header. Roy's requested change that we always send a body we could read in full as a C-L request ensures this code wasn't triggered; some change in the future could again reveal this edge case. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@230718 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ldap/util_ldap.c (util_ldap_post_config): Pass NULL toJoe Orton2005-08-031-2/+0
| | | | | | | | | | apr_global_mutex_create if no cache file name is specified, rather than inventing an inappropriate name with tmpnam(). PR: 30385 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@227230 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ldap/util_ldap_cache.c (util_ldap_cache_init): Only removeJoe Orton2005-08-021-2/+4
| | | | | | | the shm segment by name if a name is configured. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@227012 13f79535-47bb-0310-9956-ffa450edef68
* For generated files, strip off an absolute pathMartin Kraemer2005-08-021-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@226993 13f79535-47bb-0310-9956-ffa450edef68
* Commit (forgotten) generated files for changed in ssl_expr_parse.y and ↵Martin Kraemer2005-08-023-1149/+694
| | | | | | ssl_expr_scan.l git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@226990 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ldap/util_ldap.c (util_ldap_post_config): Fail ifJoe Orton2005-08-021-21/+9
| | | | | | | | | | util_ldap_cache_init fails; let ap_log_error call strerror. Downgrade informational messages to APLOG_INFO from APLOG_NOTICE. (util_ldap_child_init): Remove some noisy but fairly pointless debugging output. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@226974 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ldap/util_ldap_cache.c (util_ldap_url_node_display,Joe Orton2005-08-011-57/+46
| | | | | | | | | util_ldap_search_node_display, util_ldap_compare_node_display, util_ldap_dn_compare_node_display): Use ap_rprintf. Terminate table rows with "</tr>" not "<tr>". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@226825 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ldap/util_ldap_cache.c: Remove various casts-from-void *,Joe Orton2005-08-011-31/+39
| | | | | | | fix various minor style nits. No functional changes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@226820 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ldap/util_ldap_cache.c (MODLDAP_SHMEM_CACHE): Remove unusedJoe Orton2005-08-011-4/+0
| | | | | | | macro. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@226811 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ldap/util_ldap.c (util_ldap_post_config): Don't attempt toJoe Orton2005-08-012-11/+3
| | | | | | | | | | | | | remove the shm segment here. * modules/ldap/util_ldap_cache.c (util_ldap_cache_init): Properly remove the shm segment here before creating a new one; don't attach to any existing shm segment if apr_shm_create() fails. (util_ldap_cache_module_kill): Don't attempt to remove the shm segment here; apr_shm_destroy() does that anyway. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@226809 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ssl/mod_ssl.c (ssl_hook_pre_config): Initialize allJoe Orton2005-08-011-0/+1
| | | | | | | | | algorithms in OpenSSL; enables PKCS#8 keyfile support. PR: 35469 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@226777 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_display): ReplaceJoe Orton2005-07-281-41/+41
| | | | | | | ap_rputs(apr_psprintf(...)) with simpler ap_rprintf(...). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225797 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ldap/util_ldap.c, modules/aaa/mod_authnz_ldap.c: Stop usingJoe Orton2005-07-282-59/+58
| | | | | | | APLOG_NOERRNO throughout. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225794 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ldap/util_ldap_cache.c (util_ldap_cache_module_kill): MakeJoe Orton2005-07-281-4/+1
| | | | | | | | private function static. (util_ldap_cache_child_kill): Remove prototype for function which doesn't exist. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225756 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ldap/util_ldap_cache.c (util_ldap_cache_init): Use theJoe Orton2005-07-281-2/+14
| | | | | | | | actual available size of the shm segment not the requested size. Ensure the requested size is aligned. Check errors from apr_rmm_init. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225753 13f79535-47bb-0310-9956-ffa450edef68
* Add status param option so that current workerMladen Turk2005-07-283-2/+41
| | | | | | | | status can be changed via editing httpd.conf instead just using web page. Seems the ApacheCon is paying of. Thanks to Sander for pointing that out. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225751 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_insert,Joe Orton2005-07-281-3/+3
| | | | | | | | util_ald_cache_remove, util_ald_cache_fetch): Always use "unsigned long" for hash values, for consistency. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225749 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_insert): Fix aJoe Orton2005-07-281-1/+8
| | | | | | | | | | cache corruption case: ensure that there is room in the cache for a copy of the payload before inserting the node. PR: 34209 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225746 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ldap/util_ldap.c: Remove DOCTYPE_* macros duplicated fromJoe Orton2005-07-281-36/+0
| | | | | | | | httpd.h. Remove redundant prototypes of static functions which aren't used before they are declared. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225734 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ldap/util_ldap.c (util_ldap_cmds): Make static const.Joe Orton2005-07-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225733 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ldap/util_ldap.c (LDAP_CACHE_LOCK, LDAP_CACHE_UNLOCK):Joe Orton2005-07-281-7/+9
| | | | | | | Wrap in do/while for safety. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225732 13f79535-47bb-0310-9956-ffa450edef68
* * modules/experimental/mod_filter.c (filter_trace): Fix gccJoe Orton2005-07-281-1/+1
| | | | | | | -Wformat-security warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225725 13f79535-47bb-0310-9956-ffa450edef68
* * modules/aaa/mod_authnz_ldap.c (authz_ldap_check_user_access): RemoveJoe Orton2005-07-271-1/+0
| | | | | | | unused variable. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225587 13f79535-47bb-0310-9956-ffa450edef68
* * modules/ssl/ssl_expr_eval.c (ssl_expr_eval_oid): Remove unusedJoe Orton2005-07-253-2/+2
| | | | | | | | | | variable. * modules/ssl/ssl_private.h, modules/ssl/mod_ssl.h (ssl_extlist_by_oid): Move prototype to ssl_private.h. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@224722 13f79535-47bb-0310-9956-ffa450edef68
* * modules/proxy/mod_proxy_http.c (stream_reqbody_cl): Fix formatJoe Orton2005-07-251-1/+4
| | | | | | | | | string error. (ap_proxy_http_request): Restore default case in rb_method switch to fix gcc warnings. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@224721 13f79535-47bb-0310-9956-ffa450edef68
* * modules/metadata/mod_setenvif.c: Unconditionally include mod_ssl.h.Joe Orton2005-07-251-7/+4
| | | | | | | (setenvif_post_config): Fix prototype fubar. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@224718 13f79535-47bb-0310-9956-ffa450edef68
* Allow extraction of the values of SSL certificate extensions intoMartin Kraemer2005-07-224-23/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | environment variables, so that their value can be used by any module that is aware of environment variables, as in: SetEnvIf OID("2.16.840.1.113730.1.13") "(.*) Generated (Certificate)" ca=$1 sets ca=TinyCA if the cert was issued by TinyCA. Similarly, SetenvIf OID("2.16.840.1.113730.1.13") "(.*)" NetscapeComment=$1 will set $NetscapeComment to the whole string. It is technically allowed to have multiple instances of an extension field, all with the same oid. In this case, the environment variable will be set to the list of all fields, separated by commas. The [PATCH] uses a cross-module call from mod_setenvif to mod_ssl (the latter may also be missing: in this case the variable will never be set). It calls a common function in the ssl module that is also used for the SSLRequire directive's test. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@220307 13f79535-47bb-0310-9956-ffa450edef68