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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user