summaryrefslogtreecommitdiffstats
path: root/include/http_request.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update our copyright for this year.Roy T. Fielding2002-03-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93918 13f79535-47bb-0310-9956-ffa450edef68
* Which PR? I can't count them all. Get QUERY_STRING and PATH_INFOWilliam A. Rowe Jr2002-01-271-3/+12
| | | | | | | | | working again. Also rounds out our fix to work around negotiated directories which Greg Ames fixed; this addition in request.c simply shortcuts all further processing. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93045 13f79535-47bb-0310-9956-ffa450edef68
* This patch eliminates the wasteful run-time conversion of method names fromJustin Erenkrantz2001-09-191-0/+19
| | | | | | | | | | | | | strings to numbers in places where the methods are known at compile time. (Justin fixed the va_end() call to be correct.) Submitted by: Brian Pane <bpane@pacbell.net> Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91078 13f79535-47bb-0310-9956-ffa450edef68
* Normalize all paths to run the same, common code for pre-request setupWilliam A. Rowe Jr2001-08-311-0/+8
| | | | | | | | | | | | | | | | from the primary request, redirects and sub-requests. This will significantly reduce opporunities for inconsistancy (such as Ian observed, and as I repaired only a month ago.) This promotes process_request_internal to an ap_ namespace protected entity in server/request.c (from it's old home in http/http_request.c) since this fn has no http specifics. Reviewed (in concept): Cliff Woolley, Ian Holsman git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90832 13f79535-47bb-0310-9956-ffa450edef68
* Introduce the map_to_storage hook, which allows modules to bypassWilliam A. Rowe Jr2001-08-261-3/+18
| | | | | | | | | | | | the directory_walk and file_walk for non-file requests. TRACE shortcut moved to http_protocol.c as APR_HOOK_MIDDLE, and the directory_walk/file_walk happen as APR_HOOK_VERY_LAST in core.c. A seperate patch to mod_proxy is required to short circuit both the TRACE and directory_walk/file_walk stuff. That patch is next. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90665 13f79535-47bb-0310-9956-ffa450edef68
* Fix the macro expansion problem in the hook declaration.Ryan Bloom2001-08-111-4/+0
| | | | | | | Submitted by: Ian Holsman <ianh@cnet.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90098 13f79535-47bb-0310-9956-ffa450edef68
* _THIS_ is why mod_dir wouldn't serve the results of mod_negotiationWilliam A. Rowe Jr2001-08-061-1/+1
| | | | | | | with a query string git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89948 13f79535-47bb-0310-9956-ffa450edef68
* The real slim shady finally stood up. This patch segregates the fastWilliam A. Rowe Jr2001-08-061-0/+10
| | | | | | | | internal redirect logic back into http_request, the next patch will actually fix it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89946 13f79535-47bb-0310-9956-ffa450edef68
* Downgrade non-stopper from XXX->###William A. Rowe Jr2001-07-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89664 13f79535-47bb-0310-9956-ffa450edef68
* Here, finally are a few cleanups of my fat fingers.William A. Rowe Jr2001-06-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89444 13f79535-47bb-0310-9956-ffa450edef68
* Move duplicated rnew cloning from apr_ap_sub_req_lookup_*() functions,William A. Rowe Jr2001-06-271-0/+17
| | | | | | | | and add an ap_sub_req_lookup_dirent() to create a subrequest from the results of an apr_dir_read() for mod_negotiation and mod_autoindex. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89437 13f79535-47bb-0310-9956-ffa450edef68
* change create_request hook to RUN_ALL/return int so handlers can throw errorsDoug MacEachern2001-03-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88576 13f79535-47bb-0310-9956-ffa450edef68
* Add a hook, create_request. This hook allows modules to modifyRyan Bloom2001-03-181-0/+8
| | | | | | | | | | | | | | | a request while it is being created. This hook is called for all request_rec's, main request, sub request, and internal redirect. When this hook is called, the the r->main, r->prev, r->next pointers have been set, so modules can determine what kind of request this is. Currently, this is only used by the core module, but protocol modules are going to need to have the ability to affect the request while it is being read. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88532 13f79535-47bb-0310-9956-ffa450edef68
* Check in not-quite-working hooks groupings.Ben Laurie2001-03-131-9/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88513 13f79535-47bb-0310-9956-ffa450edef68
* Another chunk of code from http to core. This should continue to buildRyan Bloom2001-03-051-0/+4
| | | | | | | | on all platforms. The next job is to shuffle functions back and forth so that the server builds without mod_http. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88453 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright to 2001Roy T. Fielding2001-02-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88184 13f79535-47bb-0310-9956-ffa450edef68
* fix minor prototype inconsistencies noticed with C::ScanDoug MacEachern2001-02-041-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87970 13f79535-47bb-0310-9956-ffa450edef68
* More doc improvements.Ben Laurie2001-01-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87912 13f79535-47bb-0310-9956-ffa450edef68
* The big change. This is part 3 of the apr-util symbols rename, pleaseWilliam A. Rowe Jr2001-01-191-3/+3
| | | | | | | | see the first commit of srclib/apr-util/include (cvs apr-util/include) for the quick glance at symbols changed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87731 13f79535-47bb-0310-9956-ffa450edef68
* Allow modules to specify the first module for a sub-request. This allowsRyan Bloom2000-11-221-3/+13
| | | | | | | | | | | 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
* Fix a broken thingWilliam A. Rowe Jr2000-10-181-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86645 13f79535-47bb-0310-9956-ffa450edef68
* Add a sub-request filter. This filter just strips the EOS from theRyan Bloom2000-10-171-0/+10
| | | | | | | | | brigade generated by the sub-request. If this is not done, then the main-request's core_output_filter will get very confused, as will any other filter in the main-request filter-stack that looks for EOS. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86618 13f79535-47bb-0310-9956-ffa450edef68
* Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbolsWilliam A. Rowe Jr2000-10-161-12/+12
| | | | | | | | | | for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper) and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE. All _VAR_ flavors changes to _DATA to be absolutely clear. Thank you Greg, for the most obvious suggestion. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86609 13f79535-47bb-0310-9956-ffa450edef68
* Document http_request.h using ScanDoc.Ryan Bloom2000-08-141-2/+144
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86067 13f79535-47bb-0310-9956-ffa450edef68
* Add mnemonics for the ap_allow_methods() reset flag meanings.Ken Coar2000-08-121-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86056 13f79535-47bb-0310-9956-ffa450edef68
* Add support for arbitrary extension methods for the AllowKen Coar2000-08-101-1/+17
| | | | | | | | | response header field, and an API routine for modifying the allowed list in a unified manner for both known and extension methods. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86043 13f79535-47bb-0310-9956-ffa450edef68
* prefix libapr functions and types with apr_Doug MacEachern2000-08-021-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85976 13f79535-47bb-0310-9956-ffa450edef68
* http_request.[ch]:Greg Stein2000-06-241-0/+1
| | | | | | | | | | | | | | | | *) add the "install_filter" hook as a hook/control point for modules to install their filters. [Ryan Bloom] http_protocol.c: *) move check_first_conn_error() up in the file; no actual changes *) add checked_bputstrs(), checked_bflush(), and checked_bputs(). These are copies of ap_rvputs(), ap_rflush(), and ap_rputs() respectively. The users of the checked_* functions will be independent of filtering changes to the ap_r* functions. *) add flush_filters() place holder git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85685 13f79535-47bb-0310-9956-ffa450edef68
* PR:William A. Rowe Jr2000-05-281-6/+6
| | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Reverse out additional linkage argument from DECLARE_HOOK and IMPLEMENT_HOOK macros. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85319 13f79535-47bb-0310-9956-ffa450edef68
* William A. Rowe Jr2000-05-271-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch corrects the issues from the AP_EXPORT and linkage specification arguments to the ap_hooks.h declarations. As with the APR_ and AP_ patches, API_VAR_EXPORT becomes API_EXPORT_VAR, and MODULE_VAR_EXPORT becomes MODULE_EXPORT_VAR. I will be happy to revert the inclusion of ap_config.h from httpd.h if this bothers anyone. More individual modules need to be patched if we do so. The API_EXPORTs all moved into central storage in the ap_config.h header. Without WIN32 or API_STATIC compile time declarations, these macros remain no-ops. This patch also moves the following data from http_main to http_config: const char *ap_server_argv0; const char *ap_server_root; ap_array_header_t *ap_server_pre_read_config; ap_array_header_t *ap_server_post_read_config; ap_array_header_t *ap_server_config_defines; And the following variables had already moved into ap_hooks.c: ap_pool_t *g_pHookPool; (initialized now in http_config) int g_bDebugHooks; (out of http_config) const char *g_szCurrentHookName; (out of http_config) The changes to http_main.c are in preparation for that module to move out to a seperate .exe for win32. Other platforms will be unaffected, outside of these changes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85309 13f79535-47bb-0310-9956-ffa450edef68
* add AP_ prefix to *HOOK* macrosDoug MacEachern2000-04-261-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85045 13f79535-47bb-0310-9956-ffa450edef68
* Change ap_context_t to ap_pool_t. This compiles, runs, and serves pagesRyan Bloom2000-04-141-1/+1
| | | | | | | on Linux, but probably breaks somewhere. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84963 13f79535-47bb-0310-9956-ffa450edef68
* Update to Apache Software License version 1.1Roy T. Fielding2000-03-311-32/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84877 13f79535-47bb-0310-9956-ffa450edef68
* Fix all the License issues. Including:Ryan Bloom2000-03-101-9/+9
| | | | | | | | | s/Apache Group/Apache Software Foundation/ s/1999/2000/ s/Sascha's license/ASF license git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84725 13f79535-47bb-0310-9956-ffa450edef68
* time overhaul:dgaudet2000-01-091-1/+1
| | | | | | | | | | - ap_time_t is a 64-bit scalar, microseconds since epoch - ap_exploded_time_t corresponds to struct tm with a few extras probably broken on anything except linux. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84413 13f79535-47bb-0310-9956-ffa450edef68
* First step in getting Apache to use APR's time libraries. This gets a goodRyan Bloom1999-12-201-1/+1
| | | | | | | | number of them, but I think there are more time values still in the Apache code. This works under Linux, but has not been tested anywhere else. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84338 13f79535-47bb-0310-9956-ffa450edef68
* Changed pools to contexts. Tested with prefork and pthread mpm's. I'llRyan Bloom1999-08-311-1/+1
| | | | | | | check this out tomorrow and make sure everything was checked in correctly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83852 13f79535-47bb-0310-9956-ffa450edef68
* Start to implement module-defined hooks that are a) fast and b) typesafe.Roy T. Fielding1999-08-261-0/+10
| | | | | | | | | | | | | | | Replace pre_connection module call with a register_hook call and implement pre_connection as a hook. The intent is that these hooks will be extended to allow Apache to be multi-protocol, and also to allow the calling order to be specified on a per-hook/per-module basis. [Ben Laurie] Port a bunch of modules to the new module structure. ["Michael H. Voase" <mvoase@midcoast.com.au>] Submitted by: Ben Laurie git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83770 13f79535-47bb-0310-9956-ffa450edef68
* Apache 1.3.9 baseline for the Apache 2.0 repository.Roy T. Fielding1999-08-241-0/+117
Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9 Submitted by: Apache Group git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83749 13f79535-47bb-0310-9956-ffa450edef68