MCPcopy Create free account
hub / github.com/apache/httpd / proxy_map_location

Function proxy_map_location

modules/proxy/mod_proxy.c:1135–1151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1133}
1134
1135static int proxy_map_location(request_rec *r)
1136{
1137 int access_status;
1138
1139 if (!r->proxyreq || !r->filename || strncmp(r->filename, "proxy:", 6) != 0)
1140 return DECLINED;
1141
1142 /* Don't let the core or mod_http map_to_storage hooks handle this,
1143 * We don't need directory/file_walk, and we want to TRACE on our own.
1144 */
1145 if ((access_status = proxy_walk(r))) {
1146 ap_die(access_status, r);
1147 return access_status;
1148 }
1149
1150 return OK;
1151}
1152
1153/* -------------------------------------------------------------- */
1154/* Fixup the filename */

Callers

nothing calls this directly

Calls 2

proxy_walkFunction · 0.85
ap_dieFunction · 0.85

Tested by

no test coverage detected