mod_slotmem_plain: make the "filename" key relative to
DefaultRuntimeDir if not absolute
mod_slotmem_plain does not externalize or check the full path
in any way, so this change is just for consistency with other
modules which build paths to run-time artifacts.
Submitted by: trawick
Reviewed/backported by: jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1400945 13f79535-47bb-0310-9956-
ffa450edef68
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * mod_slotmem_plain: honor DefaultRuntimeDir (below doesn't apply since
- there is no config directive to speak of)
- trunk patch: http://svn.apache.org/viewvc?view=revision&revision=1370763
- 2.4.x patch: trunk patch works
- +1: jim, rjung, trawick
-
* ab: add TLS1.1/TLS1.2 options to -f switch, and adapt output
to more accurately report the negotiated protocol. PR 53916.
trunk patch: https://svn.apache.org/viewvc?view=revision&revision=1395225
if (name[0] == ':')
fname = name;
else
- fname = ap_server_root_relative(pool, name);
+ fname = ap_runtime_dir_relative(pool, name);
/* first try to attach to existing slotmem */
if (next) {
if (name[0] == ':')
fname = name;
else
- fname = ap_server_root_relative(pool, name);
+ fname = ap_runtime_dir_relative(pool, name);
}
else
return APR_ENOSHMAVAIL;