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

Function set_script_timeout

modules/generators/mod_cgid.c:1163–1172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1161 return NULL;
1162}
1163static const char *set_script_timeout(cmd_parms *cmd, void *dummy, const char *arg)
1164{
1165 cgid_dirconf *dc = dummy;
1166
1167 if (ap_timeout_parameter_parse(arg, &dc->timeout, "s") != APR_SUCCESS) {
1168 return "CGIDScriptTimeout has wrong format";
1169 }
1170
1171 return NULL;
1172}
1173static const command_rec cgid_cmds[] =
1174{
1175 AP_INIT_TAKE1("ScriptLog", set_scriptlog, NULL, RSRC_CONF,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected