OOPS, forgot the variable itself...
Bojan
On Wed, 2002-09-18 at 07:36, Bojan Smojver wrote:
> Justin,
>
> After mucking around a bit with what you suggested, this seemed like the
> straightforward thing to do. Not sure how things would work on internal
> redirects etc. Can you please have a look. I'm sure it's naive, but so
> am I (for now :-)
>
> Bojan
--- httpd-2.0-vanilla/server/protocol.c Fri Sep 6 16:01:19 2002
+++ httpd-2.0/server/protocol.c Wed Sep 18 07:38:37 2002
@@ -888,6 +888,7 @@
const char *expect;
int access_status;
apr_bucket_brigade *tmp_bb;
+ ap_filter_t *f;
apr_pool_create(&p, conn->pool);
r = apr_pcalloc(p, sizeof(request_rec));
@@ -895,6 +896,15 @@
r->connection = conn;
r->server = conn->base_server;
+ /* Update the request in connection filters */
+ f = conn->input_filters;
+ for (; f; f = f->next)
+ f->r = r;
+
+ f = conn->output_filters;
+ for (; f; f = f->next)
+ f->r = r;
+
r->user = NULL;
r->ap_auth_type = NULL;