| 1143 | } |
| 1144 | |
| 1145 | static const char *set_script_socket(cmd_parms *cmd, void *dummy, const char *arg) |
| 1146 | { |
| 1147 | const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY); |
| 1148 | if (err != NULL) { |
| 1149 | return err; |
| 1150 | } |
| 1151 | |
| 1152 | /* Make sure the pid is appended to the sockname */ |
| 1153 | sockname = ap_append_pid(cmd->pool, arg, "."); |
| 1154 | sockname = ap_runtime_dir_relative(cmd->pool, sockname); |
| 1155 | |
| 1156 | if (!sockname) { |
| 1157 | return apr_pstrcat(cmd->pool, "Invalid ScriptSock path", |
| 1158 | arg, NULL); |
| 1159 | } |
| 1160 | |
| 1161 | return NULL; |
| 1162 | } |
| 1163 | static const char *set_script_timeout(cmd_parms *cmd, void *dummy, const char *arg) |
| 1164 | { |
| 1165 | cgid_dirconf *dc = dummy; |
nothing calls this directly
no test coverage detected