| 29 | module AP_MODULE_DECLARE_DATA proxy_fdpass_module; |
| 30 | |
| 31 | static int proxy_fdpass_canon(request_rec *r, char *url) |
| 32 | { |
| 33 | const char *path; |
| 34 | |
| 35 | if (ap_cstr_casecmpn(url, "fd://", 5) == 0) { |
| 36 | url += 5; |
| 37 | } |
| 38 | else { |
| 39 | return DECLINED; |
| 40 | } |
| 41 | |
| 42 | path = ap_server_root_relative(r->pool, url); |
| 43 | |
| 44 | r->filename = apr_pstrcat(r->pool, "proxy:fd://", path, NULL); |
| 45 | |
| 46 | ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(01151) |
| 47 | "set r->filename to %s", r->filename); |
| 48 | return OK; |
| 49 | } |
| 50 | |
| 51 | static apr_status_t get_socket_from_path(apr_pool_t *p, |
| 52 | const char* path, |
nothing calls this directly
no test coverage detected