Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
core_request_config Struct Reference

Per-request configuration. More...

#include <http_core.h>

Collaboration diagram for core_request_config:

Data Fields

struct apr_bucket_brigadebb
 
void ** notes
 
char ** response_code_strings
 
const char * document_root
 
const char * context_document_root
 
const char * context_prefix
 
int deliver_script
 
int suppress_charset
 

Detailed Description

Per-request configuration.

Field Documentation

struct apr_bucket_brigade* core_request_config::bb

bucket brigade used by getline for look-ahead and ap_get_client_block for holding left-over request body

const char* core_request_config::context_document_root

the context root directory on disk for the current resource, without trailing slash

const char* core_request_config::context_prefix

the URI prefix that corresponds to the context_document_root directory, without trailing slash

int core_request_config::deliver_script

There is a script processor installed on the output filter chain, so it needs the default_handler to deliver a (script) file into the chain so it can process it. Normally, default_handler only serves files on a GET request (assuming the file is actual content), since other methods are not content-retrieval. This flag overrides that behavior, stating that the "content" is actually a script and won't actually be delivered as the response for the non-GET method.

const char* core_request_config::document_root

per-request document root of the server. This allows mass vhosting modules better compatibility with some scripts. Normally the context_* info should be used instead

void** core_request_config::notes

an array of per-request working data elements, accessed by ID using ap_get_request_note() (Use ap_register_request_note() during initialization to add elements)

char** core_request_config::response_code_strings

Custom response strings registered via ap_custom_response(), or NULL; check per-dir config if nothing found here

int core_request_config::suppress_charset

Should addition of charset= be suppressed for this request?


The documentation for this struct was generated from the following file: