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

Function set_script_timeout

modules/generators/mod_cgi.c:164–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164static const char *set_script_timeout(cmd_parms *cmd, void *dummy, const char *arg)
165{
166 cgi_dirconf *dc = dummy;
167
168 if (ap_timeout_parameter_parse(arg, &dc->timeout, "s") != APR_SUCCESS) {
169 return "CGIScriptTimeout has wrong format";
170 }
171
172 return NULL;
173}
174
175static const command_rec cgi_cmds[] =
176{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected