summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mod_extforward.c2
-rw-r--r--src/response.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/mod_extforward.c b/src/mod_extforward.c
index 78fcf9a5..be7dd0ff 100644
--- a/src/mod_extforward.c
+++ b/src/mod_extforward.c
@@ -329,7 +329,7 @@ struct addrinfo *ipstr_to_sockaddr(const char *host)
static void clean_cond_cache(server *srv, connection *con) {
- config_cond_cache_reset_item(srv, con, COMP_HTTP_REMOTEIP);
+ config_cond_cache_reset_item(srv, con, COMP_HTTP_REMOTE_IP);
}
URIHANDLER_FUNC(mod_extforward_uri_handler) {
diff --git a/src/response.c b/src/response.c
index 91e6df46..bc2bdd10 100644
--- a/src/response.c
+++ b/src/response.c
@@ -191,6 +191,7 @@ handler_t http_response_prepare(server *srv, connection *con) {
config_patch_connection(srv, con, COMP_HTTP_REFERER); /* Referer: */
config_patch_connection(srv, con, COMP_HTTP_USER_AGENT);/* User-Agent: */
config_patch_connection(srv, con, COMP_HTTP_COOKIE); /* Cookie: */
+ config_patch_connection(srv, con, COMP_HTTP_REQUEST_METHOD); /* REQUEST_METHOD */
/** their might be a fragment which has to be cut away */
if (NULL != (qstr = strchr(con->request.uri->ptr, '#'))) {
@@ -276,6 +277,7 @@ handler_t http_response_prepare(server *srv, connection *con) {
*/
config_patch_connection(srv, con, COMP_HTTP_URL); /* HTTPurl */
+ config_patch_connection(srv, con, COMP_HTTP_QUERY_STRING); /* HTTPqs */
/* do we have to downgrade to 1.0 ? */
if (!con->conf.allow_http11) {