summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* r966869 required mmn bumpNick Kew2010-07-231-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966997 13f79535-47bb-0310-9956-ffa450edef68
* Move AddOutputFilterByType implementation from core to mod_filter.Nick Kew2010-07-221-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966869 13f79535-47bb-0310-9956-ffa450edef68
* CVE-2010-1452: Fix handling of missing path segments in the parsed URI ↵Paul Querna2010-07-211-1/+1
| | | | | | | | | | | | | | | structure. If a specially crafted request was sent, it is possible to crash mod_dav, mod_cache or mod_session, as they accessed a field that is set to NULL by the URI parser, assuming that it always put in a valid string. PR: 49246 Submitted by: Mark Drayton Patch by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966348 13f79535-47bb-0310-9956-ffa450edef68
* Trivial spelling fix so I can closeNick Kew2010-07-201-1/+1
| | | | | | | PR 44195 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@965712 13f79535-47bb-0310-9956-ffa450edef68
* Add ap_find_module_short_name() to quickly get the module short nameStefan Fritsch2010-07-192-3/+15
| | | | | | | | (i.e. symbol name with trailing "_module" removed) from the module_index. To be used for logging. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@965408 13f79535-47bb-0310-9956-ffa450edef68
* The approach for allowing authorization by user or IP introduced in r956387,Stefan Fritsch2010-07-143-3/+40
| | | | | | | | | | | | | | | | | | | | | etc. causes problems because the authentication module calls note_*_auth_failure if authentication fails. This is inappropriate if access is later allowed because of the IP. So, instead of calling the auth_checker hook even if authentication failed, we introduce a new access_checker_ex hook that runs between the access_checker and the check_user_id hooks. If an access_checker_ex functions returns OK, the request will be allowed without authentication. To make use of this, change mod_authz_core to walk the require blocks in the access_checker_ex phase and deny/allow the request if the authz result does not depend on an authenticated user. To distinguish a real AUTHZ_DENIED from an authz provider from an authz provider needing an authenticated user, the latter must return the new AUTHZ_DENIED_NO_USER code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@964156 13f79535-47bb-0310-9956-ffa450edef68
* Allow for modules to keep track of worker slotJim Jagielski2010-07-141-1/+2
| | | | | | | | | | numbers themselves if they want, by allowing for worker create/alloc functions to take a slot number id. Done via _wid() variants of 3 proxy funcs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@964089 13f79535-47bb-0310-9956-ffa450edef68
* Introduce note_auth_failure hook to allow modules to add supportStefan Fritsch2010-07-042-11/+14
| | | | | | | | | | for additional auth types. This makes ap_note_auth_failure() work with mod_auth_digest again. PR: 48807 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960399 13f79535-47bb-0310-9956-ffa450edef68
* actually update the MMN and not only the commentStefan Fritsch2010-07-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@959534 13f79535-47bb-0310-9956-ffa450edef68
* re-order many struct members for better alignment on 64bitStefan Fritsch2010-06-307-105/+114
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@959464 13f79535-47bb-0310-9956-ffa450edef68
* To save memory, make module_levels a vector of chars instead of ints.Stefan Fritsch2010-06-302-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@959392 13f79535-47bb-0310-9956-ffa450edef68
* Missed the MINOR resetWilliam A. Rowe Jr2010-06-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958159 13f79535-47bb-0310-9956-ffa450edef68
* Introduce an socache iterator 'userctx' for the user to track theWilliam A. Rowe Jr2010-06-262-14/+18
| | | | | | | | | context of their own callback. Breaks API, but we probably wanted an mmn reset between .6 and .7 betas for unintentional/unnoticed ABI breaks. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958157 13f79535-47bb-0310-9956-ffa450edef68
* New module: mod_authn_cacheNick Kew2010-06-221-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956966 13f79535-47bb-0310-9956-ffa450edef68
* Add deferred write pool to core_output_filter to clean up file descriptors asStefan Fritsch2010-06-192-1/+3
| | | | | | | | | | soon as the corresponding response has been sent and not only after the connection has been closed. This change does not deal with pipelined requests, yet. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956202 13f79535-47bb-0310-9956-ffa450edef68
* - Introduce ap_log_cserror to allow mod_ssl to associate log messages toStefan Fritsch2010-06-143-3/+76
| | | | | | | | different servers than c->base_server. - Adjust the scope of some mod_ssl trace logging from server to conn. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954611 13f79535-47bb-0310-9956-ffa450edef68
* Use the correct loglevel checks in the wrappers forStefan Fritsch2010-06-131-2/+2
| | | | | | | | ap_log_cerror/ap_log_rerror. This fixes per-dir loglevel configuration for loglevels > notice. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954188 13f79535-47bb-0310-9956-ffa450edef68
* roll on 2.3.7 development...Jim Jagielski2010-06-111-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@953682 13f79535-47bb-0310-9956-ffa450edef68
* Prep for 2.3.6 tagJim Jagielski2010-06-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@953680 13f79535-47bb-0310-9956-ffa450edef68
* Run filter "init" functions exactly once per request. No longer runJoe Orton2010-06-101-4/+7
| | | | | | | | | | | | | | | | | | | | init functions for connection filters (doing an "init" once per handler invocation makes no sense for a connection filter). No longer run init functions multiple times per request if a subrequest is used. * include/util_filter.h (ap_filter_rec_t): Clarify use of the init function pointer. * server/config.c (invoke_filter_init): Drop ap_ prefix for private function; take a request_rec pointer and only invoke filters with matching request. (ap_invoke_handler): Adjust accordingly. PR: 49328 Reviewed by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@953311 13f79535-47bb-0310-9956-ffa450edef68
* Fix ap_log_perror macro in case of C99 compilation withRainer Jung2010-06-101-2/+2
| | | | | | APLOG_MAX_LOGLEVEL defined. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@953248 13f79535-47bb-0310-9956-ffa450edef68
* Drop ap_body_to_table due to missing constraints; a DoS waitingWilliam A. Rowe Jr2010-06-102-4/+2
| | | | | | | | | for an exploit. Some mod_lua fan aught to revisit this and provide a sensible implementation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@953203 13f79535-47bb-0310-9956-ffa450edef68
* Fix build failure by reverting part of r953125Stefan Fritsch2010-06-091-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@953166 13f79535-47bb-0310-9956-ffa450edef68
* Fix some issues found by Ruediger PluemStefan Fritsch2010-06-092-11/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@953125 13f79535-47bb-0310-9956-ffa450edef68
* Improve the comments for AP_MPMQ_NOT_SUPPORTED/AP_MPMQ_STATIC/AP_MPMQ_DYNAMICStefan Fritsch2010-06-081-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@952791 13f79535-47bb-0310-9956-ffa450edef68
* Update CHANGES and bump minor MMN for new error logRainer Jung2010-06-071-0/+2
| | | | | | additions and ap_recent_ctime_ex(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@952222 13f79535-47bb-0310-9956-ffa450edef68
* Add microsecond timestamps to the error log.Rainer Jung2010-06-071-0/+24
| | | | | | | | | | | | | The new function ap_recent_ctime_ex allows for optional formatting hints. It checks the provided buffer length and returns the number of consumed bytes. This is necessary, because when using options, the length of the formatted time string is no longer constant. The only option implemented currently is the addition of microsecond fractions to the timestamp. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@952203 13f79535-47bb-0310-9956-ffa450edef68
* - Add loglevels to request_rec and conn_recStefan Fritsch2010-06-064-21/+108
| | | | | | | - Introduce per-directory loglevel configuration git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951897 13f79535-47bb-0310-9956-ffa450edef68
* - Introduce log levels trace1/.../trace8Stefan Fritsch2010-06-064-39/+230
| | | | | | | | | | - Add macro wrappers for ap_log_*error. On C99, this will save argument preparation and function call overhead when a message is not logged because of the configured loglevel. - Introduce per-module loglevel configuration. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951893 13f79535-47bb-0310-9956-ffa450edef68
* Remove loglevel entry in core_dir_config, which has been unused for atStefan Fritsch2010-06-032-3/+2
| | | | | | | least some years. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951191 13f79535-47bb-0310-9956-ffa450edef68
* we are still at 2.3.6Stefan Fritsch2010-06-021-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@950789 13f79535-47bb-0310-9956-ffa450edef68
* add a standard AUTHZ_PREFIX for, no MMN bump since it's just baked in if you Eric Covener2010-05-291-0/+1
| | | | | | | build against it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@949335 13f79535-47bb-0310-9956-ffa450edef68
* odd assortment of spelling fixesJeff Trawick2010-05-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@947651 13f79535-47bb-0310-9956-ffa450edef68
* mmn bump for api args changeWilliam A. Rowe Jr2010-05-041-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@940980 13f79535-47bb-0310-9956-ffa450edef68
* It is not inconvenient to return the derived filename here, let'sWilliam A. Rowe Jr2010-05-041-7/+14
| | | | | | save the caller later hassle in looking this up, if they like. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@940979 13f79535-47bb-0310-9956-ffa450edef68
* I was wrong (and looked at the wrong commit when trying to figureWilliam A. Rowe Jr2010-04-071-4/+4
| | | | | | | out this change) - 20100223 was a _MAJOR mmn bump! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@931488 13f79535-47bb-0310-9956-ffa450edef68
* First order simplification; Add IncludeOptional for introducingWilliam A. Rowe Jr2010-04-072-22/+17
| | | | | | | | | | wildcard pattern matches or specific includes which may be omitted. Refactors ap_process_resource_config() to deal efficiently with a single file, and renames the new _ex() flavor per list discussion to ap_process_fnmatch_configs() for wildcard processing. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@931435 13f79535-47bb-0310-9956-ffa450edef68
* Add the missing header file from r928916.Graham Leggett2010-03-311-0/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@929663 13f79535-47bb-0310-9956-ffa450edef68
* missing file from r915660, major MMN bump already in original revisionEric Covener2010-02-241-1/+1
| | | | | | | for this file. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@915923 13f79535-47bb-0310-9956-ffa450edef68
* make some sense of the difference between "Client" and "Global" certs in ↵Eric Covener2010-02-241-2/+3
| | | | | | | | | | | | | mod_ldap. PR46541 Submitted By: Paul Reder, Eric Covener Reviewed By: Eric Covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@915660 13f79535-47bb-0310-9956-ffa450edef68
* Fix startup segfault when the Mutex directive is used but no loaded Jeff Trawick2010-02-221-0/+3
| | | | | | | | | | | | modules use httpd mutexes. Add an init call from core's pre-config hook to ensure init is performed before the config is parsed. PR: 48787 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@912666 13f79535-47bb-0310-9956-ffa450edef68
* Correctly update version numbers after adding new function.Daniel Earl Poirier2010-02-181-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@911497 13f79535-47bb-0310-9956-ffa450edef68
* Log command line on startup, so there's a record of command lineDaniel Earl Poirier2010-02-162-0/+9
| | | | | | | | arguments like -f. Suggested by Shaya Potter. [Dan Poirier] PR: 48752 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@910684 13f79535-47bb-0310-9956-ffa450edef68
* Support remote https proxies by using HTTP CONNECT.Rainer Jung2010-02-121-1/+2
| | | | | | | | | PR: 19188 Submitted by: Philippe Dutrueux <lilas evidian.com> Reviewed by: rjung git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@909323 13f79535-47bb-0310-9956-ffa450edef68
* fix typo in commentJeff Trawick2010-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@908164 13f79535-47bb-0310-9956-ffa450edef68
* Illustrate an ->iterator() implementation for mod_socache_shmcb.William A. Rowe Jr2010-02-091-3/+6
| | | | | | | Clarify that the iterator aught will make the users' life easier by appending trailing \0 null chars. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@907937 13f79535-47bb-0310-9956-ffa450edef68
* The iterator data is not volatile, data aught to be constWilliam A. Rowe Jr2010-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@907929 13f79535-47bb-0310-9956-ffa450edef68
* The iterator data is not volatile, datalen by value is just fineWilliam A. Rowe Jr2010-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@907928 13f79535-47bb-0310-9956-ffa450edef68
* Let us be clearer about suggestions vs. necessityWilliam A. Rowe Jr2010-02-091-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@907927 13f79535-47bb-0310-9956-ffa450edef68
* distcache already demonstrates sub-second resolutions, but much moreWilliam A. Rowe Jr2010-02-092-6/+47
| | | | | | | | | | | | | | importantly, let us not introduce more Y2k38 bugs? Changes the ->store method to take expiry as an apr_time_t, and introduce a placeholder to implement provider-specific iterators of the current elements of an socache store. Cleans up confusion where expiry might be confused with a timeout-period. Finally clean up some hUngarian noteAtion. Someones' hands need to be slapped. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@907917 13f79535-47bb-0310-9956-ffa450edef68