diff options
author | Graham Leggett <minfrin@apache.org> | 2016-03-08 00:55:08 +0100 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2016-03-08 00:55:08 +0100 |
commit | 56a1aecaccb9d7a44d2e03c640581413471e8930 (patch) | |
tree | 4165a519f22fcd978c4a00b9a76cafde452d4000 /include | |
parent | mod_ssl: Don't lose track of the SSL context if the ssl_run_pre_handshake() (diff) | |
download | apache2-56a1aecaccb9d7a44d2e03c640581413471e8930.tar.xz apache2-56a1aecaccb9d7a44d2e03c640581413471e8930.zip |
core: Split ap_create_request() from ap_read_request()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1734009 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/ap_mmn.h | 3 | ||||
-rw-r--r-- | include/http_protocol.h | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/include/ap_mmn.h b/include/ap_mmn.h index 9789081d6f..c73c9f21c8 100644 --- a/include/ap_mmn.h +++ b/include/ap_mmn.h @@ -506,6 +506,7 @@ * the request_rec, with ap_get_useragent_host() * 20150222.12 (2.5.0-dev) Add complete_connection hook, * ap_filter_complete_connection(). + * 20150222.13 (2.5.0-dev) Add ap_create_request(). */ #define MODULE_MAGIC_COOKIE 0x41503235UL /* "AP25" */ @@ -513,7 +514,7 @@ #ifndef MODULE_MAGIC_NUMBER_MAJOR #define MODULE_MAGIC_NUMBER_MAJOR 20150222 #endif -#define MODULE_MAGIC_NUMBER_MINOR 12 /* 0...n */ +#define MODULE_MAGIC_NUMBER_MINOR 13 /* 0...n */ /** * Determine if the server's current MODULE_MAGIC_NUMBER is at least a diff --git a/include/http_protocol.h b/include/http_protocol.h index a9a06b0582..581540693f 100644 --- a/include/http_protocol.h +++ b/include/http_protocol.h @@ -54,6 +54,13 @@ AP_DECLARE_DATA extern ap_filter_rec_t *ap_old_write_func; */ /** + * Read an empty request and set reasonable defaults. + * @param c The current connection + * @return The new request_rec + */ +request_rec *ap_create_request(conn_rec *c); + +/** * Read a request and fill in the fields. * @param c The current connection * @return The new request_rec |