1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

A change to how APR uses user data. Now, user data is a linked list that

is retreivable using a char string.  Basically, you provide a string that
will be used as a key when you store the data.  If the key was used before,
we will overwrite the old data.  When you want to retreive your data, pass
in the same key, and we will find the data you care about.  This also makes
it harder to put user data in when creating a context, so that option has
disappeared.  It is also impossible to inherit user data from parent contexts.
This option may be added in later.  I will be documenting this VERY soon.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83901 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan Bloom
1999-09-14 13:37:45 +00:00
parent 4d628b8cdb
commit e4e32bb59e
9 changed files with 20 additions and 20 deletions

View File

@@ -740,7 +740,7 @@ static request_rec *make_sub_request(const request_rec *r)
ap_context_t *rrp;
request_rec *rr;
ap_create_context(r->pool, NULL, &rrp);
ap_create_context(r->pool, &rrp);
rr = ap_pcalloc(rrp, sizeof(request_rec));
rr->pool = rrp;
return rr;